diff options
author | Eric Dumazet <edumazet@google.com> | 2022-01-05 09:08:49 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-01-05 09:50:06 -0800 |
commit | 2d6ec25539b0e7a4b4ad670abbcb3ec27b33e8ce (patch) | |
tree | 97999968629946b6d0bfa7c4910663eb0d6fcd95 /drivers/net/ethernet/amazon | |
parent | 88248c357c2a8dbff899770dc02e2edf89d989aa (diff) | |
download | linux-stable-2d6ec25539b0e7a4b4ad670abbcb3ec27b33e8ce.tar.gz linux-stable-2d6ec25539b0e7a4b4ad670abbcb3ec27b33e8ce.tar.bz2 linux-stable-2d6ec25539b0e7a4b4ad670abbcb3ec27b33e8ce.zip |
netlink: do not allocate a device refcount tracker in ethnl_default_notify()
As reported by Johannes, the tracker allocated in
ethnl_default_notify() is not really needed, as this
function is not expected to change a device reference count.
Fixes: e4b8954074f6 ("netlink: add net device refcount tracker to struct ethnl_req_info")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Johannes Berg <johannes@sipsolutions.net>
Tested-by: Johannes Berg <johannes@sipsolutions.net>
Link: https://lore.kernel.org/r/20220105170849.2610470-1-eric.dumazet@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/amazon')
0 files changed, 0 insertions, 0 deletions