]> git.baikalelectronics.ru Git - kernel.git/commit
bgmac: add ndo_set_rx_mode netdev ops
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 6 Feb 2013 05:51:49 +0000 (05:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Feb 2013 21:06:49 +0000 (16:06 -0500)
commita0435b36d8bd06af1275dfb480491ffd81615a81
treee8e4d8a7e5b687088204a16761688660d9f1ef6b
parentc6c4b48d4cb7965fe9aacf801b978988d765af13
bgmac: add ndo_set_rx_mode netdev ops

When changing the device from or to promisc mode this only affects the
device after the device is bought up the next time. For bridging it is
needed to change the device to promisc mode while it is up, which is
possible with this patch.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c