summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2026-09-21 09:39:47 +0000
committerJakub Kicinski <kuba@kernel.org>2026-09-21 17:44:12 -0700
commitc7a2a8c0c9ef480849d655273101dcd0c5067e6a (patch)
tree1b25ff3751b77f501ab7e7d2cbf8967151089b65 /include/linux/debugobjects.h
parent8cf9152d947c65f3243d4c0d8f98f0b52c4f0b9b (diff)
netlink: remove dev_hold() and dev_put() in __netlink_deliver_tap_skb()
__netlink_deliver_tap_skb() is called from netlink_deliver_tap() under rcu_read_lock(). dev_queue_xmit() does not require the caller to hold a device reference count, and the device lifetime is already protected by RCU (the netlink tap is unlinked and waited for via grace periods prior to device destruction). Remove the redundant dev_hold(dev) and dev_put(dev) calls. Signed-off-by: Eric Dumazet <edumazet@google.com> Link: https://patch.msgid.link/20260921093947.477658-1-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions