summaryrefslogtreecommitdiff
path: root/net/ipv4/ipmr_base.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2022-06-23 04:34:31 +0000
committerDavid S. Miller <davem@davemloft.net>2022-06-24 11:34:37 +0100
commit0a24c43f54b296629774b47a0763123f3c18db9b (patch)
treea821c69d68c2618d48076e46f93010bbf6ae332e /net/ipv4/ipmr_base.c
parent7fcb820c7609f207cd2e5b49bff96a5b55167cf3 (diff)
downloadlwn-0a24c43f54b296629774b47a0763123f3c18db9b.tar.gz
lwn-0a24c43f54b296629774b47a0763123f3c18db9b.zip
ip6mr: do not get a device reference in pim6_rcv()
pim6_rcv() is called under rcu_read_lock(), there is no need to use dev_hold()/dev_put() pair. IPv4 side was handled in commit 55747a0a73ea ("ipmr: __pim_rcv() is called under rcu_read_lock") Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ipmr_base.c')
0 files changed, 0 insertions, 0 deletions