• Bjørn Mork's avatar
    net: cdc_mbim: reject IP packets on DSS VLANs · 6e1b3095
    Bjørn Mork authored
    DSS VLANs are pseudo network interfaces representing arbitrary
    data streams, and specifically not IP. Preventing spurious IP
    packets can sometimes be a hassle. The kernel will for example
    send an IPv6 Router Solicit when the interface is brought up
    unless the user has been careful enough to disable IPv6 first.
    Such packets forwared to a MBIM DSS session will look like
    spurious noise to the device, and can cause it to log an error
    or even malfunction.
    
    Drop all IP packets on the designated DSS VLANs to prevent such
    unwanted spurious transmissions.
    
    Cc: Greg Suarez <gsuarez@smithmicro.com>
    Reported-by: default avatarArnaud Desmier <adesmier@sequans.com>
    Signed-off-by: default avatarBjørn Mork <bjorn@mork.no>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    6e1b3095
cdc_mbim.c 15.4 KB