diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2013-08-23 12:45:04 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-14 06:54:55 -0700 |
commit | a8077ef001460c41bc0509b096d3d342002c4d9b (patch) | |
tree | f1d251921694454c55a89e7302d6807b8a95d104 /net/phonet | |
parent | e307a8acf8c075261f8110b7088f20d2f7206f56 (diff) | |
download | linux-3.10-a8077ef001460c41bc0509b096d3d342002c4d9b.tar.gz linux-3.10-a8077ef001460c41bc0509b096d3d342002c4d9b.tar.bz2 linux-3.10-a8077ef001460c41bc0509b096d3d342002c4d9b.zip |
genl: Hold reference on correct module while netlink-dump.
[ Upstream commit 33c6b1f6b154894321f5734e50c66621e9134e7e ]
netlink dump operations take module as parameter to hold
reference for entire netlink dump duration.
Currently it holds ref only on genl module which is not correct
when we use ops registered to genl from another module.
Following patch adds module pointer to genl_ops so that netlink
can hold ref count on it.
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
CC: Jesse Gross <jesse@nicira.com>
CC: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/phonet')
0 files changed, 0 insertions, 0 deletions