]> git.openfabrics.org - ~emulex/infiniband.git/commit
be2net: ignore mac-addr set call for an already programmed mac-addr
authorVasundhara Volam <vasundhara.volam@emulex.com>
Wed, 15 Jan 2014 07:53:35 +0000 (13:23 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2014 23:52:02 +0000 (15:52 -0800)
commitff32f8abbe4469c409a8e92fa63c2da0d7da55e2
tree04077d555a6d3b6b37020ae8951ace8b08d6448f
parentbaaa08d148ac2d02567126e85213e82675ca55c0
be2net: ignore mac-addr set call for an already programmed mac-addr

An ndo_set_mac_addr() call may be issued for a mac-addr that is already
active on an interface. If so, silently ignore the request. Sending such
a request to the FW, causes a "mac collision" error. The error is harmless
but is avoidable noise in the kernel log.

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