be2net: skip multicast promiscuos setting in already set
authorKalesh AP <kalesh.purayil@emulex.com>
Fri, 30 May 2014 13:36:23 +0000 (19:06 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 31 May 2014 00:27:33 +0000 (17:27 -0700)
commita0794885702eeab80471d8e5bdd2bfb00e6eb94f
tree784a30690ea7cbf7df0ef44c41cf694dcf9223f4
parent4d1cdf1db664608b0379b900198a7d50f1be6876
be2net: skip multicast promiscuos setting in already set

Set mc-promisc (multicast promiscuous) mode on an interface, only if it is
*not already* in that mode.

Also removed logs that report interface being set to multicast
promiscous mode. In an earlier comment on the netdev list such log messages
were deemed unnecessary as this behaviour is common across most of the
ethernet drivers.

Signed-off-by: Kalesh AP <kalesh.purayil@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.h
drivers/net/ethernet/emulex/benet/be_main.c
This page took 0.026307 seconds and 5 git commands to generate.