Searched hist:e4202511480da5f8e6870d8f6ecbb821aeaa8caf (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/net/ |
H A D | rtnetlink.h | diff e4202511480da5f8e6870d8f6ecbb821aeaa8caf Sat Dec 02 14:44:06 CST 2017 Florian Westphal <fw@strlen.de> rtnetlink: get reference on module before invoking handlers
Add yet another rtnl_register function. It will be used by modules that can be removed.
The passed module struct is used to prevent module unload while a netlink dump is in progress or when a DOIT_UNLOCKED doit callback is called.
Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/core/ |
H A D | rtnetlink.c | diff e4202511480da5f8e6870d8f6ecbb821aeaa8caf Sat Dec 02 14:44:06 CST 2017 Florian Westphal <fw@strlen.de> rtnetlink: get reference on module before invoking handlers
Add yet another rtnl_register function. It will be used by modules that can be removed.
The passed module struct is used to prevent module unload while a netlink dump is in progress or when a DOIT_UNLOCKED doit callback is called.
Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
|