remarkable-linux/drivers/net
Bjørn Mork 6b5eeb7f87 net: cdc_mbim: handle unaccelerated VLAN tagged frames
This driver maps 802.1q VLANs to MBIM sessions. The mapping is based on
a bogus assumption that all tagged frames will use the acceleration API
because we enable NETIF_F_HW_VLAN_CTAG_TX. This fails for e.g. frames
tagged in userspace using packet sockets. Such frames will erroneously
be considered as untagged and silently dropped based on not being IP.

Fix by falling back to looking into the ethernet header for a tag if no
accelerated tag was found.

Fixes: a82c7ce5bc ("net: cdc_ncm: map MBIM IPS SessionID to VLAN ID")
Cc: Greg Suarez <gsuarez@smithmicro.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-05-09 13:29:53 -04:00
..
appletalk
arcnet
bonding net: bonding: Fix format string mismatch in bond_sysfs.c 2014-04-28 14:48:16 -04:00
caif
can can: slcan: Fix spinlock variant 2014-04-24 22:32:41 +02:00
cris
dsa
ethernet Driver for Beckhoff CX5020 EtherCAT master module. 2014-05-08 22:59:25 -04:00
fddi
hamradio
hippi
hyperv hyperv: Properly handle checksum offload 2014-04-30 16:12:23 -04:00
ieee802154 at86rf230: fix __at86rf230_read_subreg function 2014-04-15 00:08:22 -04:00
irda
phy net phy: Check for aneg completion before setting state to PHY_RUNNING 2014-05-02 15:50:57 -04:00
plip
ppp net: ppp: use sk_unattached_filter api 2014-03-31 00:45:09 -04:00
slip slip: fix spinlock variant 2014-04-27 23:35:12 -04:00
team team: forbid incorrect fall-through in notifier 2014-04-24 13:26:32 -04:00
usb net: cdc_mbim: handle unaccelerated VLAN tagged frames 2014-05-09 13:29:53 -04:00
vmxnet3
wan driver/net: cosa driver uses udelay incorrectly 2014-04-15 00:08:22 -04:00
wimax
wireless rtl8192cu: Fix unbalanced irq enable in error path of rtl92cu_hw_init() 2014-04-30 12:22:52 -04:00
xen-netback xen-netback: Trivial format string fix 2014-04-04 10:49:53 -04:00
dummy.c
eql.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macvlan.c Revert "macvlan : fix checksums error when we are in bridge mode" 2014-04-30 16:12:22 -04:00
macvtap.c mactap: Fix checksum errors for non-gso packets in bridge mode 2014-04-30 16:12:22 -04:00
Makefile
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c NTB: Code Style Clean-up 2014-04-07 10:59:19 -07:00
rionet.c rapidio: rework device hierarchy and introduce mport class of devices 2014-04-07 16:36:07 -07:00
sb1000.c
Space.c
sungem_phy.c
tun.c
veth.c
virtio_net.c virtio_net: zero is an invald queue_pairs number 2014-04-22 16:01:35 -04:00
vxlan.c vxlan: ensure to advertise the right fdb remote 2014-04-23 15:01:09 -04:00
xen-netfront.c drivers: net: xen-netfront: fix array initialization bug 2014-04-12 16:49:06 -04:00