Skip to content
Commit 748064b5 authored by Santiago Ruano Rincón's avatar Santiago Ruano Rincón Committed by David S. Miller
Browse files

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

ZLP for DisplayLink ethernet devices was enabled in 6.0:
266c0190 ("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:
e10dcb1b ("net: cdc_ncm: hook into set_rx_mode to admit multicast
traffic")

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

Fixes: 266c0190

 ("net/cdc_ncm: Enable ZLP for DisplayLink ethernet devices")
Signed-off-by: default avatarSantiago Ruano Rincón <santiago.ruano-rincon@imt-atlantique.fr>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a487069e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment