Re: [dpdk-dev] [PATCH] net: do fragmented headers check in non-debug build as well

2020-07-13 Thread Andrew Rybchenko
Hi Olivier, On 7/13/20 4:35 PM, Olivier Matz wrote: > Hi Andrew, > > On Wed, May 27, 2020 at 03:32:56PM +0100, Andrew Rybchenko wrote: >> Pseudo-header checksum calculation requires contiguous headers. >> There is no any formal requirements on data location and mbuf >> structure which could be use

Re: [dpdk-dev] [PATCH] net: do fragmented headers check in non-debug build as well

2020-07-13 Thread Olivier Matz
Hi Andrew, On Wed, May 27, 2020 at 03:32:56PM +0100, Andrew Rybchenko wrote: > Pseudo-header checksum calculation requires contiguous headers. > There is no any formal requirements on data location and mbuf > structure which could be used by the application. > > Make corresponding check to be don

[dpdk-dev] [PATCH] net: do fragmented headers check in non-debug build as well

2020-05-27 Thread Andrew Rybchenko
Pseudo-header checksum calculation requires contiguous headers. There is no any formal requirements on data location and mbuf structure which could be used by the application. Make corresponding check to be done in non-debug build as well to avoid bad accesses, incorrect checksum caclculation and