]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: axienet: Fix check for partial TX checksum
authorSamuel Holland <samuel.holland@sifive.com>
Wed, 22 Nov 2023 00:42:17 +0000 (16:42 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Dec 2023 07:41:59 +0000 (08:41 +0100)
commit6c4bed2dad4697476825f54dc7a343f79f0f4718
treeee12555cd022a46563b96a7a8ee67aea9df93188
parent7475aaea792105bbc86e13b05e3e7cc8dc5abd4f
net: axienet: Fix check for partial TX checksum

[ Upstream commit fd0413bbf8b11f56e8aa842783b0deda0dfe2926 ]

Due to a typo, the code checked the RX checksum feature in the TX path.

Fixes: 8a3b7a252dca ("drivers/net/ethernet/xilinx: added Xilinx AXI Ethernet driver")
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Link: https://lore.kernel.org/r/20231122004219.3504219-1-samuel.holland@sifive.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/xilinx/xilinx_axienet_main.c