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)
commit2ae40ee9872953b4f329a54c82970dfb6854e17e
tree6c76fc8a2965871d5a0aeef5cdaa68ea9083a2b7
parent8a4cadc708f04a2a463bc3df0f16859b31d4b051
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