diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-04-12 18:33:50 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-12 18:33:50 -0700 |
commit | ae1b6a31b1f9ef2c7ba5ef89799f210a9ba6937c (patch) | |
tree | 76f26c291c480345de8d70a6c37143c43ac5f749 /net/ax25/ax25_ds_timer.c | |
parent | 2de58e30db3f7e83592e22fb459dd6695b648889 (diff) | |
download | op-kernel-dev-ae1b6a31b1f9ef2c7ba5ef89799f210a9ba6937c.zip op-kernel-dev-ae1b6a31b1f9ef2c7ba5ef89799f210a9ba6937c.tar.gz |
[AX25]: Potential ax25_uid_assoc-s leaks on module unload.
The ax25_uid_free call walks the ax25_uid_list and releases entries
from it. The problem is that after the fisrt call to hlist_del_init
the hlist_for_each_entry (which hides behind the ax25_uid_for_each)
will consider the current position to be the last and will return.
Thus, the whole list will be left not freed.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ax25/ax25_ds_timer.c')
0 files changed, 0 insertions, 0 deletions