[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130210.204309.469190125028462852.davem@davemloft.net>
Date: Sun, 10 Feb 2013 20:43:09 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: erdnetdev@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] veth: fix NULL dereference in veth_dellink()
From: Eric Dumazet <erdnetdev@...il.com>
Date: Fri, 08 Feb 2013 22:10:49 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> commit d0e2c55e7c940 (veth: avoid a NULL deref in veth_stats_one)
> added another NULL deref in veth_dellink().
>
> # ip link add name veth1 type veth peer name veth0
> # rmmod veth
>
> We crash because veth_dellink() is called twice, so we must
> take care of NULL peer.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied, thanks Eric.
--
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