From: Jay Vosburgh <fubar@us.ibm.com>
To: netdev@vger.kernel.org
Cc: Jeff Garzik <jgarzik@pobox.com>,
David Miller <davem@davemloft.net>,
Andy Gospodarek <andy@greyhouse.net>,
Andrew Morton <akpm@linux-foundation.org>
Subject: [PATCH 0/7] bonding: 7 fixes for 2.6.24
Date: Thu, 17 Jan 2008 16:24:56 -0800 [thread overview]
Message-ID: <12006159033257-git-send-email-fubar@us.ibm.com> (raw)
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, fubar@us.ibm.com
next reply other threads:[~2008-01-18 0:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-18 0:24 Jay Vosburgh [this message]
2008-01-18 0:24 ` [PATCH 1/7] bonding: fix locking in sysfs primary/active selection Jay Vosburgh
2008-01-18 0:24 ` [PATCH 2/7] bonding: fix ASSERT_RTNL that produces spurious warnings Jay Vosburgh
2008-01-18 0:24 ` [PATCH 3/7] bonding: fix locking during alb failover and slave removal Jay Vosburgh
2008-01-18 0:25 ` [PATCH 4/7] bonding: release slaves when master removed via sysfs Jay Vosburgh
2008-01-18 0:25 ` [PATCH 5/7] bonding: Fix up parameter parsing Jay Vosburgh
2008-01-18 0:25 ` [PATCH 6/7] bonding: fix lock ordering for rtnl and bonding_rwsem Jay Vosburgh
2008-01-18 0:25 ` [PATCH 7/7] bonding: Don't hold lock when calling rtnl_unlock Jay Vosburgh
2008-01-18 0:38 ` [PATCH 6/7] bonding: fix lock ordering for rtnl and bonding_rwsem Andrew Morton
2008-01-18 19:39 ` [PATCH 1/7] bonding: fix locking in sysfs primary/active selection Jeff Garzik
2008-01-21 1:15 ` [PATCH 0/7] bonding: 7 fixes for 2.6.24 David Miller
2008-01-21 1:36 ` Andrew Morton
2008-01-21 3:58 ` David Miller
2008-01-21 1:57 ` Jeff Garzik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=12006159033257-git-send-email-fubar@us.ibm.com \
--to=fubar@us.ibm.com \
--cc=akpm@linux-foundation.org \
--cc=andy@greyhouse.net \
--cc=davem@davemloft.net \
--cc=jgarzik@pobox.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).