diff options
author | Jakub Kicinski | 2019-02-25 19:34:06 -0800 |
---|---|---|
committer | David S. Miller | 2019-02-26 08:49:05 -0800 |
commit | 1b45ff6c17f1d07c496b08dd602a4aff8fe40848 (patch) | |
tree | 8e7cc2289a7e48072dc3db8690e709828debb7d9 /net/ipv6 | |
parent | 03969b941486b208e2e418acbcf7065c740e7a5e (diff) |
devlink: hold a reference to the netdevice around ethtool compat
When ethtool is calling into devlink compat code make sure we have
a reference on the netdevice on which the operation was invoked.
v3: move the hold/lock logic into devlink_compat_* functions (Florian)
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions