linux_dsm_epyc7002/drivers/net/bonding
Jay Vosburgh 2543331d36 bonding: fix locking during alb failover and slave removal
alb_fasten_mac_swap (actually rlb_teach_disabled_mac_on_primary)
requries RTNL and no other locks.  This could cause dev_set_promiscuity
and/or dev_set_mac_address to be called with improper locking.

	Changed callers to hold only RTNL during calls to alb_fasten_mac_swap
or functions calling it.  Updated header comments in affected functions to
reflect proper reality of locking requirements.

Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2008-01-18 14:38:38 -05:00
..
bond_3ad.c Convert bonding timers to workqueues 2007-10-23 20:32:00 -04:00
bond_3ad.h Convert bonding timers to workqueues 2007-10-23 20:32:00 -04:00
bond_alb.c bonding: fix locking during alb failover and slave removal 2008-01-18 14:38:38 -05:00
bond_alb.h Convert bonding timers to workqueues 2007-10-23 20:32:00 -04:00
bond_main.c bonding: fix locking during alb failover and slave removal 2008-01-18 14:38:38 -05:00
bond_sysfs.c bonding: fix locking in sysfs primary/active selection 2008-01-18 14:38:38 -05:00
bonding.h bonding: Fix race at module unload 2007-12-07 15:00:34 -05:00
Makefile [PATCH] bonding: add sysfs functionality to bonding (large) 2005-11-13 14:48:21 -05:00