Commit 2d8e9fa
net: export netdev_next_lower_dev_rcu()
netdev_next_lower_dev_rcu() will be used to implement a function,
which is to walk all lower interfaces.
There are already functions that they walk their lower interface.
(netdev_walk_all_lower_dev_rcu, netdev_walk_all_lower_dev()).
But, there would be cases that couldn't be covered by given
netdev_walk_all_lower_dev_{rcu}() function.
So, some modules would want to implement own function,
which is to walk all lower interfaces.
In the next patch, netdev_next_lower_dev_rcu() will be used.
In addition, this patch removes two unused prototypes in netdevice.h.
Signed-off-by: Taehee Yoo <[email protected]>1 parent 295d531 commit 2d8e9fa
2 files changed
+6
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
| 76 | + | |
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
| |||
4389 | 4391 | | |
4390 | 4392 | | |
4391 | 4393 | | |
4392 | | - | |
| 4394 | + | |
4393 | 4395 | | |
4394 | | - | |
4395 | | - | |
4396 | | - | |
4397 | 4396 | | |
4398 | 4397 | | |
4399 | 4398 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
150 | 149 | | |
151 | 150 | | |
152 | 151 | | |
| |||
7201 | 7200 | | |
7202 | 7201 | | |
7203 | 7202 | | |
7204 | | - | |
7205 | | - | |
| 7203 | + | |
| 7204 | + | |
7206 | 7205 | | |
7207 | 7206 | | |
7208 | 7207 | | |
| |||
7214 | 7213 | | |
7215 | 7214 | | |
7216 | 7215 | | |
| 7216 | + | |
7217 | 7217 | | |
7218 | 7218 | | |
7219 | 7219 | | |
| |||
0 commit comments