[dpdk-dev] [PATCH] ip_frag: fix fragmenting ipv4 packet with header options

2020-05-04 Thread Pu Xu
When fragmenting ipv4 packet, the data offset should be calculated through the ihl field in ip header rather than using sizeof(struct rte_ipv4_hdr). Fixes: 4c38e5532a07 ("ip_frag: refactor IPv4 fragmentation into a proper library") Cc: anatoly.bura...@intel.com Cc: sta...@dpdk.org Signed-off-by

Re: [dpdk-dev] [PATCH] ip_frag: fix fragmenting ipv4 packet with header options

2020-04-30 Thread Ananyev, Konstantin
> When fragmenting ipv4 packet, the data offset should be calculated through > the ihl field in ip header rather than using sizeof(struct > rte_ipv4_hdr). Seems you missed my comments, except the very first one. Please look at my email and try to address all of them. > > Fixes: 4c38e5532a07 ("i