History

inet: add net device refcount tracker to struct fib_nh_common

Eric Dumazet committed 4 years ago

Commit e44b14e1 parent 4fc003f3 files · +11 −5Browse files

Showing the changes to include (1 of 3 files). Show all

Unified · Split

include/net/ip_fib.h+2−0
@@ -79,6 +79,7 @@ struct fnhe_hash_bucket { · 78 unmodified lines
7979
8080 struct fib_nh_common {
8181 struct net_device *nhc_dev;
82+ netdevice_tracker nhc_dev_tracker;
8283 int nhc_oif;
8384 unsigned char nhc_scope;
8485 u8 nhc_family;
@@ -111,6 +112,7 @@ struct fib_nh { · 26 unmodified lines
111112 int nh_saddr_genid;
112113 #define fib_nh_family nh_common.nhc_family
113114 #define fib_nh_dev nh_common.nhc_dev
115+#define fib_nh_dev_tracker nh_common.nhc_dev_tracker
114116 #define fib_nh_oif nh_common.nhc_oif
115117 #define fib_nh_flags nh_common.nhc_flags
116118 #define fib_nh_lws nh_common.nhc_lwtstate

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t