Repository navigation
Commit 351638e
net: pass info struct via netdevice notifier
So far, only net_device * could be passed along with netdevice notifier
event. This patch provides a possibility to pass custom structure
able to provide info that event listener needs to know.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
v2->v3: fix typo on simeth
shortened dev_getter
shortened notifier_info struct name
v1->v2: fix notifier_call parameter in call_netdevice_notifier()
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent b1098bb commit 351638e
80 files changed
Lines changed: 172 additions & 127 deletions
File tree
- arch
- ia64/hp/sim
- mips/txx9/generic
- drivers
- infiniband
- core
- hw/mlx4
- net
- bonding
- can
- ethernet
- broadcom
- marvell
- qlogic
- netxen
- qlcnic
- sfc
- hamradio
- ppp
- team
- wan
- scsi/fcoe
- staging
- csr
- ft1000
- ft1000-pcmcia
- ft1000-usb
- silicom
- include/linux
- net
- 8021q
- appletalk
- atm
- ax25
- batman-adv
- bridge
- caif
- can
- core
- decnet
- ieee802154
- ipv4
- netfilter
- ipv6
- netfilter
- ipx
- iucv
- mac80211
- netfilter
- ipvs
- netlabel
- netrom
- openvswitch
- packet
- phonet
- rose
- sched
- tipc
- wireless
- x25
- xfrm
- security/selinux
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
271 | | - | |
| 271 | + | |
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
| 334 | + | |
| 335 | + | |
335 | 336 | | |
336 | 337 | | |
337 | 338 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3269 | 3269 | | |
3270 | 3270 | | |
3271 | 3271 | | |
3272 | | - | |
| 3272 | + | |
3273 | 3273 | | |
3274 | | - | |
| 3274 | + | |
3275 | 3275 | | |
3276 | 3276 | | |
3277 | 3277 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1161 | 1161 | | |
1162 | 1162 | | |
1163 | 1163 | | |
1164 | | - | |
| 1164 | + | |
1165 | 1165 | | |
1166 | 1166 | | |
1167 | 1167 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3277 | 3277 | | |
3278 | 3278 | | |
3279 | 3279 | | |
3280 | | - | |
| 3280 | + | |
3281 | 3281 | | |
3282 | 3282 | | |
3283 | 3283 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5622 | 5622 | | |
5623 | 5623 | | |
5624 | 5624 | | |
5625 | | - | |
| 5625 | + | |
5626 | 5626 | | |
5627 | 5627 | | |
5628 | 5628 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3706 | 3706 | | |
3707 | 3707 | | |
3708 | 3708 | | |
3709 | | - | |
| 3709 | + | |
3710 | 3710 | | |
3711 | 3711 | | |
3712 | 3712 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4642 | 4642 | | |
4643 | 4643 | | |
4644 | 4644 | | |
4645 | | - | |
| 4645 | + | |
4646 | 4646 | | |
4647 | 4647 | | |
4648 | 4648 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3311 | 3311 | | |
3312 | 3312 | | |
3313 | 3313 | | |
3314 | | - | |
| 3314 | + | |
3315 | 3315 | | |
3316 | 3316 | | |
3317 | 3317 | | |
| |||
0 commit comments