diff options
author | Eric Dumazet <edumazet@google.com> | 2022-07-29 09:12:33 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-08-01 11:59:23 -0700 |
commit | 2df91e397d85cd4c5206ab48d4e398e338db02d7 (patch) | |
tree | 47aa3656295b6557a5c56ce4f037e4ffb42c2cdc /include/net/rose.h | |
parent | 931027820e4dafabc78aff82af59f8c1c4bd3128 (diff) | |
download | lwn-2df91e397d85cd4c5206ab48d4e398e338db02d7.tar.gz lwn-2df91e397d85cd4c5206ab48d4e398e338db02d7.zip |
net: rose: add netdev ref tracker to 'struct rose_sock'
This will help debugging netdevice refcount problems with
CONFIG_NET_DEV_REFCNT_TRACKER=y
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Tested-by: Bernard Pidoux <f6bvp@free.fr>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/rose.h')
-rw-r--r-- | include/net/rose.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/rose.h b/include/net/rose.h index f192a64ddef2..23267b4efcfa 100644 --- a/include/net/rose.h +++ b/include/net/rose.h @@ -132,7 +132,8 @@ struct rose_sock { ax25_address source_digis[ROSE_MAX_DIGIS]; ax25_address dest_digis[ROSE_MAX_DIGIS]; struct rose_neigh *neighbour; - struct net_device *device; + struct net_device *device; + netdevice_tracker dev_tracker; unsigned int lci, rand; unsigned char state, condition, qbitincl, defer; unsigned char cause, diagnostic; |