[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110218.121431.183035903.davem@davemloft.net>
Date: Fri, 18 Feb 2011 12:14:31 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: torvalds@...ux-foundation.org, ebiederm@...ssion.com,
mingo@...e.hu, opurdila@...acom.com, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, mhocko@...e.cz, netdev@...r.kernel.org,
stable@...nel.org
Subject: Re: [PATCH 2/2] net: deinit automatic LIST_HEAD
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 18 Feb 2011 09:59:19 +0100
> commit 9b5e383c11b08784 (net: Introduce
> unregister_netdevice_many()) left an active LIST_HEAD() in
> rollback_registered(), with possible memory corruption.
>
> Even if device is freed without touching its unreg_list (and therefore
> touching the previous memory location holding LISTE_HEAD(single), better
> close the bug for good, since its really subtle.
>
> (Same fix for default_device_exit_batch() for completeness)
>
> Reported-by: Michal Hocko <mhocko@...e.cz>
> Reported-by: Eric W. Biderman <ebiderman@...ssion.com>
> Signed-off-by: Linus Torvalds <torvalds@...ux-foundation.org>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists