]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: Check for presence of IFLA_AF_SPEC
authorThomas Graf <tgraf@suug.ch>
Wed, 26 Nov 2014 12:42:18 +0000 (13:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2014 20:29:01 +0000 (15:29 -0500)
commit4ea85e831e290cd967d161c66d0a3cf8be39f1f6
tree0cc60264031426e33f12ab15e4ce04ce94f8ef4e
parentb7c1a314112785c319b2ba2dc8e73497714e42a1
net: Check for presence of IFLA_AF_SPEC

ndo_bridge_setlink() is currently only called on the slave if
IFLA_AF_SPEC is set but this is a very fragile assumption and may
change in the future.

Cc: Ajit Khaparde <ajit.khaparde@emulex.com>
Cc: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c