Skip to content

bonding: 3 fixes for 2.6.24

Jay Vosburgh netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 26 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3bonding: fix locking in sysfs primary/active selectiondrivers/net/bonding/bond_sysfs.c+10 -50 replies
2/3bonding: fix ASSERT_RTNL that produces spurious warningsdrivers/net/bonding/bond_alb.c+2 -30 replies
3/3bonding: fix locking during alb failover and slave removaldrivers/net/bonding/bond_alb.c drivers/net/bonding/bond_main.c+20 -120 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchKrzysztof Piotr Oledzki
SeriesT-b T-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] bonding: 3 fixes for 2.6.24

Following are three fixes to fix locking problems and
silence locking-related warnings in the current 2.6.24-rc.

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 deadlock and silences warnings.

	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]