[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130828.171943.684370088688920403.davem@davemloft.net>
Date: Wed, 28 Aug 2013 17:19:43 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: pshelar@...ira.com
Cc: netdev@...r.kernel.org, jesse@...ira.com, johannes.berg@...el.com
Subject: Re: [PATCH v3 1/2] genl: Fix genl dumpit() locking.
From: Pravin B Shelar <pshelar@...ira.com>
Date: Fri, 23 Aug 2013 12:44:55 -0700
> In case of genl-family with parallel ops off, dumpif() callback
> is expected to run under genl_lock, But commit def3117493eafd9df
> (genl: Allow concurrent genl callbacks.) changed this behaviour
> where only first dumpit() op was called under genl-lock.
> For subsequent dump, only nlk->cb_lock was taken.
> Following patch fixes it by defining locked dumpit() and done()
> callback which takes care of genl-locking.
>
> CC: Jesse Gross <jesse@...ira.com>
> CC: Johannes Berg <johannes.berg@...el.com>
> Signed-off-by: Pravin B Shelar <pshelar@...ira.com>
Applied, and queued up for -stable.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists