aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/xfrm6_output.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-05-10 12:26:06 -0700
committerDavid S. Miller <davem@davemloft.net>2011-05-10 15:03:33 -0700
commite14a599335427f81bbb0008963e59aa9c6449dce (patch)
treea60c2f9924511dec1389f0078144a2d7a045559e /net/ipv6/xfrm6_output.c
parentvlan: fix GVRP at dismantle time (diff)
downloadlinux-dev-e14a599335427f81bbb0008963e59aa9c6449dce.tar.xz
linux-dev-e14a599335427f81bbb0008963e59aa9c6449dce.zip
net: dev_close() should check IFF_UP
Commit 443457242beb (factorize sync-rcu call in unregister_netdevice_many) mistakenly removed one test from dev_close() Following actions trigger a BUG : modprobe bonding modprobe dummy ifconfig bond0 up ifenslave bond0 dummy0 rmmod dummy dev_close() must not close a non IFF_UP device. With help from Frank Blaschka and Einar EL Lueck Reported-by: Frank Blaschka <blaschka@linux.vnet.ibm.com> Reported-by: Einar EL Lueck <ELELUECK@de.ibm.com> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/xfrm6_output.c')
0 files changed, 0 insertions, 0 deletions