]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite558a32ac4e53b948f2454bc1b9ad85c30fac85a
tree4260ecf2fef1fb632e6d814323e420919b7d9a97
parentb580ea59ca8c9cbb10c506a47c9778337afdb3c3
parent11d9215b7fa68a4dcd35f69bd5d60a96fdaa131d
Merge branch 'cdc-ether'

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 0802edb110b34d8202176d3fc6b17431e3295a0e, 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>