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
79 79
80struct fib_nh_common {80struct fib_nh_common {
81 struct net_device *nhc_dev;81 struct net_device *nhc_dev;
82 netdevice_tracker nhc_dev_tracker;
82 int nhc_oif;83 int nhc_oif;
83 unsigned char nhc_scope;84 unsigned char nhc_scope;
84 u8 nhc_family;85 u8 nhc_family;
@@ -111,6 +112,7 @@ struct fib_nh { · 26 unmodified lines
111 int nh_saddr_genid;112 int nh_saddr_genid;
112#define fib_nh_family nh_common.nhc_family113#define fib_nh_family nh_common.nhc_family
113#define fib_nh_dev nh_common.nhc_dev114#define fib_nh_dev nh_common.nhc_dev
115#define fib_nh_dev_tracker nh_common.nhc_dev_tracker
114#define fib_nh_oif nh_common.nhc_oif116#define fib_nh_oif nh_common.nhc_oif
115#define fib_nh_flags nh_common.nhc_flags117#define fib_nh_flags nh_common.nhc_flags
116#define fib_nh_lws nh_common.nhc_lwtstate118#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