Bug 200331 - CDC NCM driver does not process multicast Ethernet traffic
Summary: CDC NCM driver does not process multicast Ethernet traffic
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Greg Kroah-Hartman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-28 17:03 UTC by Miguel Rodríguez
Modified: 2018-06-28 19:28 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.15
Subsystem:
Regression: No
Bisected commit-id:


Attachments
[PATCH 1/2] Hook into usbnet_change_mtu respecting usbnet driver_info (1.81 KB, patch)
2018-06-28 17:03 UTC, Miguel Rodríguez
Details | Diff
[PATCH 2/2] Admit multicast traffic (2.14 KB, patch)
2018-06-28 17:05 UTC, Miguel Rodríguez
Details | Diff

Description Miguel Rodríguez 2018-06-28 17:03:57 UTC
Created attachment 276977 [details]
[PATCH 1/2] Hook into usbnet_change_mtu respecting usbnet driver_info

Dell D6000 exposes a CDC_NCM device for Ethernet traffic. However, multicast Ethernet traffic is not processed making IPv6 not functional. Other services, like mDNS used for LAN service discovery are also hindered.

The actual reason is that CDC_NCM driver was not processing requests to filter (admit) multicast traffic. I provide two patches to the linux kernel that admit all Ethernet multicast traffic whenever a multicast group is being joined.

The solution is not optimal, as it makes the system receive more traffic than that strictly needed, but otherwise this only happens when the computer is connected to a dock and thus is running on AC power. I believe it is not worth the hassle to join only the requested groups. This is the same that is done in the CDN_ETHER driver.
Comment 1 Miguel Rodríguez 2018-06-28 17:05:07 UTC
Created attachment 276979 [details]
[PATCH 2/2] Admit multicast traffic
Comment 2 Greg Kroah-Hartman 2018-06-28 19:28:58 UTC
On Thu, Jun 28, 2018 at 05:03:57PM +0000, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=200331
> 
>             Bug ID: 200331
>            Summary: CDC NCM driver does not process multicast Ethernet
>                     traffic
>            Product: Drivers
>            Version: 2.5
>     Kernel Version: 4.15


All USB bugs should be sent to the linux-usb@vger.kernel.org mailing
list, and not entered into bugzilla.  Please bring this issue up there,
if it is still a problem in the latest kernel release.

Note You need to log in before you can comment on or make changes to this bug.