1
0
Fork 0
alistair23-linux/net/mpls
Robert Shearman 118d523463 mpls: Enforce payload type of traffic sent using explicit NULL
RFC 4182 s2 states that if an IPv4 Explicit NULL label is the only
label on the stack, then after popping the resulting packet must be
treated as a IPv4 packet and forwarded based on the IPv4 header. The
same is true for IPv6 Explicit NULL with an IPv6 packet following.

Therefore, when installing the IPv4/IPv6 Explicit NULL label routes,
add an attribute that specifies the expected payload type for use at
forwarding time for determining the type of the encapsulated packet
instead of inspecting the first nibble of the packet.

Signed-off-by: Robert Shearman <rshearma@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-08-09 22:51:42 -07:00
..
Kconfig mpls: ip tunnel support 2015-07-21 10:39:05 -07:00
Makefile mpls: ip tunnel support 2015-07-21 10:39:05 -07:00
af_mpls.c mpls: Enforce payload type of traffic sent using explicit NULL 2015-08-09 22:51:42 -07:00
internal.h mpls: export mpls functions for use by mpls iptunnels 2015-07-21 10:39:04 -07:00
mpls_gso.c net: Add priority to packet_offload objects. 2015-06-01 14:56:09 -07:00
mpls_iptunnel.c mpls_iptunnel: fix sparse warn: remove incorrect rcu_dereference 2015-07-22 10:50:23 -07:00