OSDN Git Service

bnx2x: VF ndo sanity
authorAriel Elior <ariele@broadcom.com>
Thu, 20 Jun 2013 14:39:09 +0000 (17:39 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jun 2013 06:54:15 +0000 (23:54 -0700)
commitaf902ae4432ba8650a5f16a2cca58507a5f566bd
tree26dda9de79f42d8dd2c3dd72c8e36c9f91da3f04
parent78c3bcc5d1af64f51d9f30b0f5a2d1985bf69734
bnx2x: VF ndo sanity

If iproute2 VF callbacks are invoked before PF is loaded,
abort gracefully.

Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c