OSDN Git Service

sit: add net device refcount tracking to ip_tunnel
authorEric Dumazet <edumazet@google.com>
Sun, 5 Dec 2021 04:22:05 +0000 (20:22 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 7 Dec 2021 00:05:11 +0000 (16:05 -0800)
commitc0fd407a0666a583a765cfb129c4dc492590ca89
tree7b40027f7725b6ba67db018345916038f06f3526
parentfb67510ba9bd3ed1f8a2db4946e847ca0418f8dc
sit: add net device refcount tracking to ip_tunnel

Note that other ip_tunnel users do not seem to hold a reference
on tunnel->dev. Probably needs some investigations.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/ip_tunnels.h
net/ipv6/sit.c