be2net: ignore VF mac address setting for the same mac
authorVasundhara Volam <vasundhara.volam@emulex.com>
Fri, 1 Aug 2014 12:17:31 +0000 (17:47 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Aug 2014 22:59:17 +0000 (15:59 -0700)
commit3c31aaf340387a209b6f7036adaa8522a1cd7f18
treed47fdb2ce0a5fc5d72eb1ecffdfe597de9475d76
parentd3d183126de8e100b003d09b64c6ec4b1c93abfc
be2net: ignore VF mac address setting for the same mac

ndo_set_vf_mac() call may be issued for a mac-addr that is already
active on a VF. If so, silently ignore the request.

Signed-off-by: Vasundhara Volam <vasundhara.volam@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c