diff options
| author | Pravin B Shelar <pshelar@nicira.com> | 2013-08-23 12:44:55 -0700 |
|---|---|---|
| committer | Lorenzo Colitti <lorenzo@google.com> | 2018-02-14 16:40:56 +0900 |
| commit | 7cb4e592c3544cdcef70ce91f48dbaf068504a54 (patch) | |
| tree | 17f22bfae8f847b8c5ce44c8e9928f588acc9790 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 7fd08f83e13ce5c9b4d4daa71a05d5bb8e0dd295 (diff) | |
UPSTREAM: 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>
(cherry picked from commit 9b96309c5b0b9e466773c07a5bc8b7b68fcf010a)
Change-Id: Ieb17f09d3983f73a2ee841bf26e8dd10ae0f6c92
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
