Skip to content
Commit 351638e7 authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller
Browse files

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: default avatarJiri 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: default avatarDavid S. Miller <davem@davemloft.net>
parent b1098bbe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment