diff options
author | Eric Dumazet <edumazet@google.com> | 2021-12-14 07:09:33 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-12-15 15:07:04 +0000 |
commit | f1d9268e061863ead77b07f5a6807d063e28a1c2 (patch) | |
tree | ccbfc01d0e6644eded73757c9884eee9a6dd7326 /include/linux/netdevice.h | |
parent | ab8c83cf8734a4fcff3b359b23afd174cd43ec03 (diff) |
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>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index c06e9dc1a317..a419718612c6 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -2533,6 +2533,7 @@ struct packet_type { __be16 type; /* This is really htons(ether_type). */ bool ignore_outgoing; struct net_device *dev; /* NULL is wildcarded here */ + netdevice_tracker dev_tracker; int (*func) (struct sk_buff *, struct net_device *, struct packet_type *, |