Bug 200331

Summary: CDC NCM driver does not process multicast Ethernet traffic
Product: Drivers Reporter: Miguel Rodríguez (miguel)
Component: USBAssignee: Greg Kroah-Hartman (greg)
Status: NEW ---    
Severity: normal CC: miguel
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.15 Subsystem:
Regression: No Bisected commit-id:
Attachments: [PATCH 1/2] Hook into usbnet_change_mtu respecting usbnet driver_info
[PATCH 2/2] Admit multicast traffic

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.