diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-02-26 06:34:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-26 19:49:05 +0300 |
commit | 1b45ff6c17f1d07c496b08dd602a4aff8fe40848 (patch) | |
tree | 8e7cc2289a7e48072dc3db8690e709828debb7d9 /mm/fadvise.c | |
parent | 03969b941486b208e2e418acbcf7065c740e7a5e (diff) | |
download | linux-1b45ff6c17f1d07c496b08dd602a4aff8fe40848.tar.xz |
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 'mm/fadvise.c')
0 files changed, 0 insertions, 0 deletions