Skip to content
Commit ee90c6ba authored by Julien Massonneau's avatar Julien Massonneau Committed by David S. Miller
Browse files

seg6: add support for IPv4 decapsulation in ipv6_srh_rcv()

As specified in IETF RFC 8754, section 4.3.1.2, if the upper layer
header is IPv4 or IPv6, perform IPv6 decapsulation and resubmit the
decapsulated packet to the IPv4 or IPv6 module.
Only IPv6 decapsulation was implemented. This patch adds support for IPv4
decapsulation.

Link: https://tools.ietf.org/html/rfc8754#section-4.3.1.2


Signed-off-by: default avatarJulien Massonneau <julien.massonneau@6wind.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6c609521
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment