summaryrefslogtreecommitdiff
path: root/include/net/llc_conn.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2021-12-06 17:30:34 -0800
committerJakub Kicinski <kuba@kernel.org>2021-12-07 20:44:59 -0800
commit615d069dcf1207462ce30c05a2f47d461be8f6c8 (patch)
treeb40e9553339b264bccd7e861e78dedfe5f23dabb /include/net/llc_conn.h
parent66ce07f7802b68616a008d390f2e6783d68fb79f (diff)
llc: add net device refcount tracker
Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/llc_conn.h')
-rw-r--r--include/net/llc_conn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/llc_conn.h b/include/net/llc_conn.h
index ea985aa7a6c5..2c1ea3414640 100644
--- a/include/net/llc_conn.h
+++ b/include/net/llc_conn.h
@@ -38,6 +38,7 @@ struct llc_sock {
struct llc_addr laddr; /* lsap/mac pair */
struct llc_addr daddr; /* dsap/mac pair */
struct net_device *dev; /* device to send to remote */
+ netdevice_tracker dev_tracker;
u32 copied_seq; /* head of yet unread data */
u8 retry_count; /* number of retries */
u8 ack_must_be_send;