forked from DPDK/dpdk
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ip_frag: fix fragmenting IPv4 packet with header option
[ upstream commit 1edf7a7 ] 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: 4c38e55 ("ip_frag: refactor IPv4 fragmentation into a proper library") Signed-off-by: Pu Xu <583493798@qq.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
- Loading branch information
1 parent
b6b219b
commit 9ffa1fe
Showing
1 changed file
with
21 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters