aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/net/neighbour.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2013-02-08 20:10:49 +0000
committerDavid S. Miller <davem@davemloft.net>2013-02-10 20:41:43 -0500
commitf45a5c267da35174e22cec955093a7513dc1623d (patch)
tree1853900d36f56c6683d26ea33d06add8cbe2fea7 /include/net/neighbour.h
parentMerge branch 'mvrp' (diff)
downloadwireguard-linux-f45a5c267da35174e22cec955093a7513dc1623d.tar.xz
wireguard-linux-f45a5c267da35174e22cec955093a7513dc1623d.zip
veth: fix NULL dereference in veth_dellink()
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@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/neighbour.h')
0 files changed, 0 insertions, 0 deletions