]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ipv6: fix typos in __ip6_finish_output()
authorEric Dumazet <edumazet@google.com>
Fri, 19 Nov 2021 01:37:58 +0000 (17:37 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Nov 2021 12:42:07 +0000 (12:42 +0000)
commit19d36c5f294879949c9d6f57cb61d39cc4c48553
tree75b5c266861b4f0f2ab6e1a181bb5a73a89b9492
parentac2944abe4d7732f29a79f063c9cae7df2a3e3cc
ipv6: fix typos in __ip6_finish_output()

We deal with IPv6 packets, so we need to use IP6CB(skb)->flags and
IP6SKB_REROUTED, instead of IPCB(skb)->flags and IPSKB_REROUTED

Found by code inspection, please double check that fixing this bug
does not surface other bugs.

Fixes: 09ee9dba9611 ("ipv6: Reinject IPv6 packets if IPsec policy matches after SNAT")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Tobias Brunner <tobias@strongswan.org>
Cc: Steffen Klassert <steffen.klassert@secunet.com>
Cc: David Ahern <dsahern@kernel.org>
Reviewed-by: David Ahern <dsahern@kernel.org>
Tested-by: Tobias Brunner <tobias@strongswan.org>
Acked-by: Tobias Brunner <tobias@strongswan.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_output.c