[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080412.183401.80819932.davem@davemloft.net>
Date: Sat, 12 Apr 2008 18:34:01 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xemul@...nvz.org
Cc: ralf@...ux-mips.org, netdev@...r.kernel.org,
linux-hams@...r.kernel.org
Subject: Re: [PATCH][AX25]: Potential ax25_uid_assoc-s leaks on module
unload.
From: Pavel Emelyanov <xemul@...nvz.org>
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 <xemul@...nvz.org>
Applied, thanks Pavel.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists