commit | 2efd32ee1b60b0b31404ca47c1ce70e5a5d24ebc | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Thu Jan 10 08:32:45 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 10 14:11:46 2013 -0800 |
tree | 53ac968a74d97fb6b02ce1bd7c860fdd4bc378a0 | |
parent | 1f1e4958069c6e7ff3f8b73148d14c08d015f0bf [diff] |
veth: fix a NULL deref in netif_carrier_off In commit d0e2c55e7c94 (veth: avoid a NULL deref in veth_stats_one) we now clear the peer pointers in veth_dellink() veth_close() must therefore make sure the peer pointer is set. Reported-by: Tom Parkin <tom.parkin@gmail.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>