cdc-ether: handle promiscuous mode with a set_rx_mode callback
authorOlivier Blin <olivier.blin@softathome.com>
Fri, 24 Oct 2014 17:43:02 +0000 (19:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Oct 2014 21:26:20 +0000 (17:26 -0400)
commitb77e26d191590c73b4a982ea3b3b87194069a56a
tree4260ecf2fef1fb632e6d814323e420919b7d9a97
parentd80c679bc1526183f1cf4adc54b0b72e8798555e
cdc-ether: handle promiscuous mode with a set_rx_mode callback

Promiscuous mode was not supported anymore with my Lenovo adapters
(RTL8153) since commit c472ab68ad67db23c9907a27649b7dc0899b61f9
(cdc-ether: clean packet filter upon probe).

It was not possible to use them in a bridge anymore.

Signed-off-by: Olivier Blin <olivier.blin@softathome.com>
Also-analyzed-by: Loïc Yhuel <loic.yhuel@softathome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ether.c