Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/tap: fix Rx checksum flags on IP options packets
[ upstream commit a46bd97 ] When packet type is IPV4_EXT, the checksum is always marked as good in the mbuf offload flags. Since we know the header lengths, we can easily call rte_ipv4_udptcp_cksum() in this case too. Fixes: 8ae3023 ("net/tap: add Rx/Tx checksum offload support") Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
- Loading branch information