]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: in bond_mc_swap() bond's mc addr list is walked without lock
authornikolay@redhat.com <nikolay@redhat.com>
Thu, 18 Apr 2013 07:33:38 +0000 (07:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Apr 2013 21:48:19 +0000 (17:48 -0400)
commit3359c6aeaf9bcb4cf804983c337dee1383844106
treede50df492d43f49a83af0ec2fa029d8855d55dd6
parent7287af343c09720547444d04bb9beadd7d904752
bonding: in bond_mc_swap() bond's mc addr list is walked without lock

Use netif_addr_lock_bh() to acquire the appropriate lock before walking.

Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c