net: pass info struct via netdevice notifier
authorJiri Pirko <jiri@resnulli.us>
Tue, 28 May 2013 01:30:21 +0000 (01:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 May 2013 20:11:01 +0000 (13:11 -0700)
commit351638e7deeed2ec8ce451b53d33921b3da68f83
tree175dfff289b5e3baecffbc7e97d1884e9a18345c
parentb1098bbe1b24d5d90cff92fbd716d2ef4bed2cff
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>
80 files changed:
arch/ia64/hp/sim/simeth.c
arch/mips/txx9/generic/setup_tx4939.c
drivers/infiniband/core/cma.c
drivers/infiniband/hw/mlx4/main.c
drivers/net/bonding/bond_main.c
drivers/net/can/led.c
drivers/net/ethernet/broadcom/cnic.c
drivers/net/ethernet/marvell/skge.c
drivers/net/ethernet/marvell/sky2.c
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
drivers/net/ethernet/sfc/efx.c
drivers/net/hamradio/bpqether.c
drivers/net/macvlan.c
drivers/net/macvtap.c
drivers/net/netconsole.c
drivers/net/ppp/pppoe.c
drivers/net/team/team.c
drivers/net/wan/dlci.c
drivers/net/wan/hdlc.c
drivers/net/wan/lapbether.c
drivers/scsi/fcoe/fcoe.c
drivers/scsi/fcoe/fcoe_transport.c
drivers/staging/csr/netdev.c
drivers/staging/ft1000/ft1000-pcmcia/ft1000_proc.c
drivers/staging/ft1000/ft1000-usb/ft1000_proc.c
drivers/staging/silicom/bpctl_mod.c
include/linux/netdevice.h
net/8021q/vlan.c
net/appletalk/aarp.c
net/appletalk/ddp.c
net/atm/clip.c
net/atm/mpc.c
net/ax25/af_ax25.c
net/batman-adv/hard-interface.c
net/bridge/br_notify.c
net/caif/caif_dev.c
net/caif/caif_usb.c
net/can/af_can.c
net/can/bcm.c
net/can/gw.c
net/can/raw.c
net/core/dev.c
net/core/drop_monitor.c
net/core/dst.c
net/core/fib_rules.c
net/core/netprio_cgroup.c
net/core/pktgen.c
net/core/rtnetlink.c
net/decnet/af_decnet.c
net/ieee802154/6lowpan.c
net/ipv4/arp.c
net/ipv4/devinet.c
net/ipv4/fib_frontend.c
net/ipv4/ipmr.c
net/ipv4/netfilter/ipt_MASQUERADE.c
net/ipv6/addrconf.c
net/ipv6/ip6mr.c
net/ipv6/ndisc.c
net/ipv6/netfilter/ip6t_MASQUERADE.c
net/ipv6/route.c
net/ipx/af_ipx.c
net/iucv/af_iucv.c
net/mac80211/iface.c
net/netfilter/ipvs/ip_vs_ctl.c
net/netfilter/nfnetlink_queue_core.c
net/netfilter/xt_TEE.c
net/netlabel/netlabel_unlabeled.c
net/netrom/af_netrom.c
net/openvswitch/dp_notify.c
net/packet/af_packet.c
net/phonet/pn_dev.c
net/rose/af_rose.c
net/sched/act_mirred.c
net/tipc/eth_media.c
net/tipc/ib_media.c
net/wireless/core.c
net/x25/af_x25.c
net/xfrm/xfrm_policy.c
security/selinux/netif.c