diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2013-08-23 23:44:55 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-29 01:19:17 +0400 |
commit | 9b96309c5b0b9e466773c07a5bc8b7b68fcf010a (patch) | |
tree | b41719289b4aaaf7a176f1d94924e2d1e8528cfe /include/sound | |
parent | a3097bda78c7fb41fd3091ffb70bf7bd946e6997 (diff) | |
download | linux-9b96309c5b0b9e466773c07a5bc8b7b68fcf010a.tar.xz |
genl: Fix genl dumpit() locking.
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@nicira.com>
CC: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions