kernel_optimize_test/net/bridge
stephen hemminger 1ce5cce895 bridge: fix hang on removal of bridge via netlink
Need to cleanup bridge device timers and ports when being bridge
device is being removed via netlink.

This fixes the problem of observed when doing:
 ip link add br0 type bridge
 ip link set dev eth1 master br0
 ip link set br0 up
 ip link del br0

which would cause br0 to hang in unregister_netdev because
of leftover reference count.

Reported-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-10-18 23:24:16 -04:00
..
netfilter Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-2.6 2011-08-30 17:43:56 -04:00
br_device.c bridge: leave carrier on for empty bridge 2011-10-06 15:26:50 -04:00
br_fdb.c
br_forward.c
br_if.c bridge: fix hang on removal of bridge via netlink 2011-10-18 23:24:16 -04:00
br_input.c
br_ioctl.c
br_multicast.c bridge: fix a possible use after free 2011-08-24 17:49:24 -07:00
br_netfilter.c
br_netlink.c bridge: fix hang on removal of bridge via netlink 2011-10-18 23:24:16 -04:00
br_notify.c Bridge: Always send NETDEV_CHANGEADDR up on br MAC change. 2011-08-09 21:44:44 -07:00
br_private_stp.h
br_private.h bridge: fix hang on removal of bridge via netlink 2011-10-18 23:24:16 -04:00
br_stp_bpdu.c
br_stp_if.c
br_stp_timer.c
br_stp.c
br_sysfs_br.c
br_sysfs_if.c
br.c
Kconfig
Makefile