Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net/cdc_ncm: Fix multicast RX support for CDC NCM devices with ZLP

ZLP for DisplayLink ethernet devices was enabled in 6.0:
266c0190aee3 ("net/cdc_ncm: Enable ZLP for DisplayLink ethernet devices").
The related driver_info should be the "same as cdc_ncm_info, but with
FLAG_SEND_ZLP". However, set_rx_mode that enables handling multicast
traffic was missing in the new cdc_ncm_zlp_info.

usbnet_cdc_update_filter rx mode was introduced in linux 5.9 with:
e10dcb1b6ba7 ("net: cdc_ncm: hook into set_rx_mode to admit multicast
traffic")

Without this hook, multicast, and then IPv6 SLAAC, is broken.

Fixes: 266c0190aee3 ("net/cdc_ncm: Enable ZLP for DisplayLink ethernet devices")
Signed-off-by: Santiago Ruano Rincón <santiago.ruano-rincon@imt-atlantique.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Santiago Ruano Rincón and committed by
David S. Miller
748064b5 a487069e

+1
+1
drivers/net/usb/cdc_ncm.c
··· 1915 1915 .status = cdc_ncm_status, 1916 1916 .rx_fixup = cdc_ncm_rx_fixup, 1917 1917 .tx_fixup = cdc_ncm_tx_fixup, 1918 + .set_rx_mode = usbnet_cdc_update_filter, 1918 1919 }; 1919 1920 1920 1921 /* Same as cdc_ncm_info, but with FLAG_WWAN */