net: add netns refcount tracker to struct sock
Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
9ba74e6c9e
commit
ffa84b5ffb
@@ -350,6 +350,7 @@ struct bpf_local_storage;
|
||||
* @sk_txtime_deadline_mode: set deadline mode for SO_TXTIME
|
||||
* @sk_txtime_report_errors: set report errors mode for SO_TXTIME
|
||||
* @sk_txtime_unused: unused txtime flags
|
||||
* @ns_tracker: tracker for netns reference
|
||||
*/
|
||||
struct sock {
|
||||
/*
|
||||
@@ -538,6 +539,7 @@ struct sock {
|
||||
struct bpf_local_storage __rcu *sk_bpf_storage;
|
||||
#endif
|
||||
struct rcu_head sk_rcu;
|
||||
netns_tracker ns_tracker;
|
||||
};
|
||||
|
||||
enum sk_pacing {
|
||||
|
||||
Reference in New Issue
Block a user