Home
last modified time | relevance | path

Searched hist:"33 c6b1f6b154894321f5734e50c66621e9134e7e" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/net/
H A Dgenetlink.hdiff 33c6b1f6b154894321f5734e50c66621e9134e7e Fri Aug 23 14:45:04 CDT 2013 Pravin B Shelar <pshelar@nicira.com> genl: Hold reference on correct module while netlink-dump.

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.

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>
/openbmc/linux/net/netlink/
H A Dgenetlink.cdiff 33c6b1f6b154894321f5734e50c66621e9134e7e Fri Aug 23 14:45:04 CDT 2013 Pravin B Shelar <pshelar@nicira.com> genl: Hold reference on correct module while netlink-dump.

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.

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>