]> git.baikalelectronics.ru Git - kernel.git/commit
net: cdc_mbim: reject IP packets on DSS VLANs
authorBjørn Mork <bjorn@mork.no>
Sun, 11 May 2014 08:47:13 +0000 (10:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 May 2014 21:46:09 +0000 (17:46 -0400)
commit5ce7b00b1e06b75187058685059a4c0239f35439
tree38ea2bc36e20799d6086387880b275433657907c
parent6b531d158a285c55270cfbad462cf2c5873d510a
net: cdc_mbim: reject IP packets on DSS VLANs

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: Arnaud Desmier <adesmier@sequans.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_mbim.c