From: Pavel Emelyanov Date: Sun, 13 Apr 2008 01:33:50 +0000 (-0700) Subject: [AX25]: Potential ax25_uid_assoc-s leaks on module unload. X-Git-Tag: v2.6.25~33^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae1b6a31b1f9ef2c7ba5ef89799f210a9ba6937c;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed