[dpdk-stable] [dpdk-dev] [PATCH v2] ip_frag: fix fragmenting ipv4 packet with header option

Thomas Monjalon thomas at monjalon.net
Wed Apr 21 16:50:44 CEST 2021


> > From: Pu Xu <583493798 at qq.com>
> > 
> > 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: stable at dpdk.org

> > Signed-off-by: Pu Xu <583493798 at qq.com>
> 
> Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>

As asked by Aaron, an unit test would be good,
but in this case (after discussion) it won't block the fix to be merged.

Applied, thanks




More information about the stable mailing list