sierra_net: Add support for IPv6 and Dual-Stack Link Sense Indications
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Wed, 24 May 2017 01:53:43 +0000 (21:53 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jun 2017 04:39:36 +0000 (06:39 +0200)
commit68cac074124615e24cd3ff6ca94ed7ef2e1cc0a2
tree27ed0ff845e4ff20323476f93ca603db03b54b04
parentd95ffdd395660eb83da6b14eb07ab1311b10df25
sierra_net: Add support for IPv6 and Dual-Stack Link Sense Indications

[ Upstream commit 5a70348e1187c5bf1cbd0ec51843f36befed1c2d ]

If a context is configured as dualstack ("IPv4v6"), the modem indicates
the context activation with a slightly different indication message.
The dual-stack indication omits the link_type (IPv4/v6) and adds
additional address fields.
IPv6 LSIs are identical to IPv4 LSIs, but have a different link type.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Reviewed-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/usb/sierra_net.c