]> git.baikalelectronics.ru Git - kernel.git/commit
net/usb: Add IPv6 support to the LG-VL600 LTE USB modem driver
authorMark Kamichoff <prox@prolixium.com>
Mon, 8 Aug 2011 05:29:32 +0000 (22:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Aug 2011 05:29:32 +0000 (22:29 -0700)
commitc3a89f4509462011900d16bd13cb67907c7ca958
tree6c76fc8a2965871d5a0aeef5cdaa68ea9083a2b7
parentf58722ac0e4d4cb69be2838260ab8f3efe79dbcd
net/usb: Add IPv6 support to the LG-VL600 LTE USB modem driver

The LG-VL600 LTE USB modem supports IPv6, but uses and expects an IPv4
ethertype (0x800) for these packets instead of the standard 0x86dd.
This patch peeks at the IP version in the L3 header and sets the
ethertype appropriately for IPv6 packets.

Signed-off-by: Mark Kamichoff <prox@prolixium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/lg-vl600.c