Commit 7151aff
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 <ap420073@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 064ff66 commit 7151aff
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 | | |
| |||
7207 | 7206 | | |
7208 | 7207 | | |
7209 | 7208 | | |
7210 | | - | |
7211 | | - | |
| 7209 | + | |
| 7210 | + | |
7212 | 7211 | | |
7213 | 7212 | | |
7214 | 7213 | | |
| |||
7220 | 7219 | | |
7221 | 7220 | | |
7222 | 7221 | | |
| 7222 | + | |
7223 | 7223 | | |
7224 | 7224 | | |
7225 | 7225 | | |
| |||
0 commit comments