net: add net device refcount tracker to struct packet_type
authorEric Dumazet <edumazet@google.com>
Tue, 14 Dec 2021 15:09:33 +0000 (07:09 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Dec 2021 15:07:04 +0000 (15:07 +0000)
commitf1d9268e061863ead77b07f5a6807d063e28a1c2
treeccbfc01d0e6644eded73757c9884eee9a6dd7326
parentab8c83cf8734a4fcff3b359b23afd174cd43ec03
net: add net device refcount tracker to struct packet_type

Most notable changes are in af_packet, tipc ones are trivial.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Jon Maloy <jmaloy@redhat.com>
Cc: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/packet/af_packet.c
net/tipc/bearer.c