Re: [ovs-dev] [PATCH v3 1/1] packets: Re-calculate IPv6 checksum only for first frag upon modify.

2022-08-05 Thread Ilya Maximets
On 8/5/22 00:33, Ilya Maximets wrote: > On 8/4/22 19:51, Ilya Maximets wrote: >> On 7/13/22 22:47, Mike Pattrick wrote: >>> On Tue, Jun 7, 2022 at 11:00 AM Salem Sol wrote: In case of modifying an IPv6 packet src/dst address the L4 checksum should be recalculated only for the

Re: [ovs-dev] [PATCH v3 1/1] packets: Re-calculate IPv6 checksum only for first frag upon modify.

2022-08-04 Thread Ilya Maximets
On 8/4/22 19:51, Ilya Maximets wrote: > On 7/13/22 22:47, Mike Pattrick wrote: >> On Tue, Jun 7, 2022 at 11:00 AM Salem Sol wrote: >>> >>> In case of modifying an IPv6 packet src/dst address the L4 checksum should >>> be >>> recalculated only for the first frag. Currently it's done for all

Re: [ovs-dev] [PATCH v3 1/1] packets: Re-calculate IPv6 checksum only for first frag upon modify.

2022-08-04 Thread Ilya Maximets
On 7/13/22 22:47, Mike Pattrick wrote: > On Tue, Jun 7, 2022 at 11:00 AM Salem Sol wrote: >> >> In case of modifying an IPv6 packet src/dst address the L4 checksum should be >> recalculated only for the first frag. Currently it's done for all frags, >> leading to incorrect reassembled packet

Re: [ovs-dev] [PATCH v3 1/1] packets: Re-calculate IPv6 checksum only for first frag upon modify.

2022-07-13 Thread Mike Pattrick
On Tue, Jun 7, 2022 at 11:00 AM Salem Sol wrote: > > In case of modifying an IPv6 packet src/dst address the L4 checksum should be > recalculated only for the first frag. Currently it's done for all frags, > leading to incorrect reassembled packet checksum. > Fix it by adding a new flag to

[ovs-dev] [PATCH v3 1/1] packets: Re-calculate IPv6 checksum only for first frag upon modify.

2022-06-07 Thread Salem Sol via dev
In case of modifying an IPv6 packet src/dst address the L4 checksum should be recalculated only for the first frag. Currently it's done for all frags, leading to incorrect reassembled packet checksum. Fix it by adding a new flag to recalculate the checksum only for last frag. Fixes: bc7a5acdff08