Thread (2 messages) 2 messages, 2 authors, 2008-04-13

Re: [PATCH][AX25]: Potential ax25_uid_assoc-s leaks on module unload.

From: David Miller <davem@davemloft.net>
Date: 2008-04-13 01:34:01
Also in: linux-hams

From: Pavel Emelyanov <redacted>
Date: Sat, 12 Apr 2008 16:05:44 +0400
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 <redacted>
Applied, thanks Pavel.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help