• Andrea Mayer's avatar
    seg6: fix skb transport_header after decap_and_validate() · c71644d0
    Andrea Mayer authored
    in the receive path (more precisely in ip6_rcv_core()) the
    skb->transport_header is set to skb->network_header + sizeof(*hdr). As a
    consequence, after routing operations, destination input expects to find
    skb->transport_header correctly set to the next protocol (or extension
    header) that follows the network protocol. However, decap behaviors (DX*,
    DT*) remove the outer IPv6 and SRH extension and do not set again the
    skb->transport_header pointer correctly. For this reason, the patch sets
    the skb->transport_header to the skb->network_header + sizeof(hdr) in each
    DX* and DT* behavior.
    Signed-off-by: default avatarAndrea Mayer <andrea.mayer@uniroma2.it>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    c71644d0
Name
Last commit
Last update
..
ila Loading commit data...
netfilter Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
addrconf.c Loading commit data...
addrconf_core.c Loading commit data...
addrlabel.c Loading commit data...
af_inet6.c Loading commit data...
ah6.c Loading commit data...
anycast.c Loading commit data...
calipso.c Loading commit data...
datagram.c Loading commit data...
esp6.c Loading commit data...
esp6_offload.c Loading commit data...
exthdrs.c Loading commit data...
exthdrs_core.c Loading commit data...
exthdrs_offload.c Loading commit data...
fib6_notifier.c Loading commit data...
fib6_rules.c Loading commit data...
fou6.c Loading commit data...
icmp.c Loading commit data...
inet6_connection_sock.c Loading commit data...
inet6_hashtables.c Loading commit data...
ip6_checksum.c Loading commit data...
ip6_fib.c Loading commit data...
ip6_flowlabel.c Loading commit data...
ip6_gre.c Loading commit data...
ip6_icmp.c Loading commit data...
ip6_input.c Loading commit data...
ip6_offload.c Loading commit data...
ip6_offload.h Loading commit data...
ip6_output.c Loading commit data...
ip6_tunnel.c Loading commit data...
ip6_udp_tunnel.c Loading commit data...
ip6_vti.c Loading commit data...
ip6mr.c Loading commit data...
ipcomp6.c Loading commit data...
ipv6_sockglue.c Loading commit data...
mcast.c Loading commit data...
mcast_snoop.c Loading commit data...
mip6.c Loading commit data...
ndisc.c Loading commit data...
netfilter.c Loading commit data...
output_core.c Loading commit data...
ping.c Loading commit data...
proc.c Loading commit data...
protocol.c Loading commit data...
raw.c Loading commit data...
reassembly.c Loading commit data...
route.c Loading commit data...
seg6.c Loading commit data...
seg6_hmac.c Loading commit data...
seg6_iptunnel.c Loading commit data...
seg6_local.c Loading commit data...
sit.c Loading commit data...
syncookies.c Loading commit data...
sysctl_net_ipv6.c Loading commit data...
tcp_ipv6.c Loading commit data...
tcpv6_offload.c Loading commit data...
tunnel6.c Loading commit data...
udp.c Loading commit data...
udp_impl.h Loading commit data...
udp_offload.c Loading commit data...
udplite.c Loading commit data...
xfrm6_input.c Loading commit data...
xfrm6_output.c Loading commit data...
xfrm6_policy.c Loading commit data...
xfrm6_protocol.c Loading commit data...
xfrm6_state.c Loading commit data...
xfrm6_tunnel.c Loading commit data...