ipv6: sr: enforce IPv6 packets for seg6local lwt
authorDavid Lebrun <david.lebrun@uclouvain.be>
Fri, 25 Aug 2017 07:56:46 +0000 (09:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Aug 2017 00:10:23 +0000 (17:10 -0700)
commit6285217f0c29e68b744533a9ddf50e110d36d65e
tree2b6f6c64ca2eef63fbb423247a1a8c4194727237
parent38ee7f2d47565689f35662d488d25e7afc43477d
ipv6: sr: enforce IPv6 packets for seg6local lwt

This patch ensures that the seg6local lightweight tunnel is used solely
with IPv6 routes and processes only IPv6 packets.

Signed-off-by: David Lebrun <david.lebrun@uclouvain.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/seg6_local.c