aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2019-02-26 03:34:06 +0000
committerDavid S. Miller <[email protected]>2019-02-26 16:49:05 +0000
commit1b45ff6c17f1d07c496b08dd602a4aff8fe40848 (patch)
tree8e7cc2289a7e48072dc3db8690e709828debb7d9 /net/switchdev/switchdev.c
parentnfp: remove ethtool flashing fallback (diff)
downloadkernel-1b45ff6c17f1d07c496b08dd602a4aff8fe40848.tar.gz
kernel-1b45ff6c17f1d07c496b08dd602a4aff8fe40848.zip
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 <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions