net: hns3: fix miss L3E checking for rx packet
mainline inclusion from mainline-v6.2-rc3 commit 7d89b53c category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I6A42Q CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7d89b53cea1a702f97117fb4361523519bb1e52c ---------------------------------------------------------------------- For device supports RXD advanced layout, the driver will return directly if the hardware finish the checksum calculate. It cause missing L3E checking for ip packets. Fixes it. Fixes: 1ddc028a ("net: hns3: refactor out RX completion checksum") Signed-off-by:Jian Shen <shenjian15@huawei.com> Signed-off-by:
Hao Lan <lanhao@huawei.com> Signed-off-by:
Jakub Kicinski <kuba@kernel.org> Signed-off-by:
Jiantao Xiao <xiaojiantao1@h-partners.com>
Loading
Please sign in to comment