]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Merge branch 'cdc-ether'
authorDavid S. Miller <davem@davemloft.net>
Tue, 28 Oct 2014 21:26:24 +0000 (17:26 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Oct 2014 21:26:24 +0000 (17:26 -0400)
Olivier Blin says:

====================
cdc-ether: handle promiscuous mode

Since kernel 3.16, my Lenovo USB network adapters (RTL8153) using
cdc-ether are not working anymore in a bridge.

This is due to commit 7be487d97a49efd6000375d6651627a00619eef7, which
resets the packet filter when the device is bound.

The default packet filter set by cdc-ether does not include
promiscuous, while the adapter seemed to have promiscuous enabled by
default.

This patch series allows to support promiscuous mode for cdc-ether, by
hooking into set_rx_mode.

Incidentally, maybe this device should be handled by the r8152 driver,
but this patch series is still nice for other adapters.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Oliver Neukum <oneukum@suse.de>

Trivial merge