diff options
author | Andrea Mayer <[email protected]> | 2022-07-12 19:58:36 +0200 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2022-07-14 10:15:15 +0200 |
commit | f048880fc77058d864aff5c674af7918b30f312a (patch) | |
tree | e505ae2576c15e45893c0b0b09af015db454806a /lib/mpi/generic_mpih-rshift.c | |
parent | df8386d13ea280d55beee1b95f61a59234a3798b (diff) |
seg6: fix skb checksum in SRv6 End.B6 and End.B6.Encaps behaviors
The SRv6 End.B6 and End.B6.Encaps behaviors rely on functions
seg6_do_srh_{encap,inline}() to, respectively: i) encapsulate the
packet within an outer IPv6 header with the specified Segment Routing
Header (SRH); ii) insert the specified SRH directly after the IPv6
header of the packet.
This patch removes the initialization of the IPv6 header payload length
from the input_action_end_b6{_encap}() functions, as it is now handled
properly by seg6_do_srh_{encap,inline}() to avoid corruption of the skb
checksum.
Fixes: 140f04c33bbc ("ipv6: sr: implement several seg6local actions")
Signed-off-by: Andrea Mayer <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'lib/mpi/generic_mpih-rshift.c')
0 files changed, 0 insertions, 0 deletions