]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1580116c02d82eb38ec8427484dd3542c2ffbd98
tree784a30690ea7cbf7df0ef44c41cf694dcf9223f4
parent0354caf88291b5e4856852e6ccb7ffec5a6f3b6c
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