bonding: 7 fixes for 2.6.24
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | bonding: fix locking in sysfs primary/active selectiondrivers/ | +10 | 1 reply | |
| 2/7 | bonding: fix ASSERT_RTNL that produces spurious warningsdrivers/ | +2 | 0 replies | |
| 3/7 | bonding: fix locking during alb failover and slave removaldrivers/ drivers/ | +20 | 0 replies | |
| 4/7 | bonding: release slaves when master removed via sysfsdrivers/ | +1 | 0 replies | |
| 5/7 | bonding: Fix up parameter parsingdrivers/ drivers/ drivers/ | +23 | 0 replies | |
| 6/7 | bonding: fix lock ordering for rtnl and bonding_rwsemdrivers/ drivers/ | +35 | 1 reply | |
| 7/7 | bonding: Don't hold lock when calling rtnl_unlockdrivers/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] bonding: 7 fixes for 2.6.24
Following are seven patches to fix locking problems,
silence locking-related warnings and resolve one recent regression in the current 2.6.24-rc.
The first three patches are reposts, the rest are new.
patch 1: fix locking in sysfs primary/active selection
Call core network functions with expected locks to
eliminate potential deadlock and silence warnings.
patch 2: fix ASSERT_RTNL that produces spurious warnings
Relocate ASSERT_RTNL to remove a false warning; after patch,
ASSERT is located in code that holds only RTNL (additional locks were causing the ASSERT to trip)
patch 3: fix locking during alb failover and slave removal
Fix all call paths into alb_fasten_mac_swap to hold only RTNL.
Eliminates potential deadlock and silences warnings.
patch 4: release slaves when master removed via sysfs
Insure that all slaves are removed when bond is destroyed via
sysfs.
patch 5: Fix up parameter parsing
Recent changes broke parameter parsing; this fixes things.
patch 6: Fix lock ordering for rtnl and bonding_rwsem
Resolves some lockdep warnings related to ordering between
rtnl and bonding_rwsem.
patch 7: Don't hold lock when calling rtnl_unlock
Since rtnl_unlock can sleep, don't hold any other locks when
calling it.
Patches are against the current netdev-2.6#upstream branch. Please apply for 2.6.24. -J
---
-Jay Vosburgh, IBM Linux Technology Center, [email protected]