net: Add info for NETDEV_CHANGEUPPER event
authorMatan Barak <matanb@mellanox.com>
Thu, 30 Jul 2015 15:33:23 +0000 (18:33 +0300)
committerDoug Ledford <dledford@redhat.com>
Sun, 30 Aug 2015 22:08:49 +0000 (18:08 -0400)
commit816dd19b3d191da88bc034fb85e21ed09a3ed320
treeb8f18f4a063ce9af87ef30dba11a8f33bd469d97
parent399e6f95811bd36fb64b3d30cf8529d633884b4c
net: Add info for NETDEV_CHANGEUPPER event

Some consumers of NETDEV_CHANGEUPPER event would like to know which
upper device was linked/unlinked and what operation was carried.

Add information in the notifier info block for that purpose.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
include/linux/netdevice.h
net/core/dev.c