enic: Fix addr valid check in enic_set_vf_mac
authorRoopa Prabhu <roprabhu@cisco.com>
Wed, 7 Mar 2012 03:50:44 +0000 (03:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Mar 2012 08:28:19 +0000 (00:28 -0800)
commitb8622cbd58f345d48f683d881abe3037c60aa673
treed880c4304adf71e3a0d275bac496394f43959d4d
parent0111ad823e5e261ffc54ef728f1d852760ee4920
enic: Fix addr valid check in enic_set_vf_mac

zero mac address is a valid address for VIC dynamic vnic and sriov Vf's.
Fix the check in enic_set_vf_mac appropriately

Signed-off-by: Roopa Prabhu <roprabhu@cisco.com>
Signed-off-by: Christian Benvenuti <benve@cisco.com>
Signed-off-by: Sujith Sankar <ssujith@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cisco/enic/enic.h
drivers/net/ethernet/cisco/enic/enic_main.c