linux/drivers/net/ethernet
Yi Li 983efe173e net: hns3: Fix for geneve tx checksum bug
[ Upstream commit a156998fc9 ]

when skb->encapsulation is 0, skb->ip_summed is CHECKSUM_PARTIAL
and it is udp packet, which has a dest port as the IANA assigned.
the hardware is expected to do the checksum offload, but the
hardware will not do the checksum offload when udp dest port is
6081.

This patch fixes it by doing the checksum in software.

Reported-by: Li Bing <libing@winhong.com>
Signed-off-by: Yi Li <yili@winhong.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-09-17 13:47:46 +02:00
..
3com
8390
adaptec
aeroflex
agere
alacritech
allwinner net: allwinner: Fix use correct return type for ndo_start_xmit() 2020-06-22 09:31:02 +02:00
alteon
altera
amazon net: ena: Make missed_tx stat incremental 2020-09-03 11:26:40 +02:00
amd amd-xgbe: Use __napi_schedule() in BH context 2020-04-21 09:04:43 +02:00
apm drivers: net: xgene: Fix the order of the arguments of 'alloc_etherdev_mqs()' 2020-03-05 16:43:49 +01:00
apple net: bmac: Fix read of MAC address from ROM 2020-06-07 13:18:51 +02:00
aquantia net: ethernet: aquantia: Fix wrong return value 2020-08-19 08:16:20 +02:00
arc net: arc_emac: Fix memleak in arc_mdio_probe 2020-09-09 19:12:25 +02:00
atheros net: ag71xx: add missed clk_disable_unprepare in error path of probe 2020-07-29 10:18:33 +02:00
aurora
broadcom tg3: Fix soft lockup when tg3_reset_task() fails. 2020-09-09 19:12:28 +02:00
brocade
cadence net: macb: call pm_runtime_put_sync on failure path 2020-07-22 09:32:55 +02:00
calxeda
cavium net: thunderx: initialize VF's mailbox mutex before first usage 2020-08-19 08:16:21 +02:00
chelsio cxgb4: fix thermal zone device registration 2020-09-09 19:12:27 +02:00
cirrus
cisco
cortina net: gemini: Fix another missing clk_disable_unprepare() in probe 2020-09-09 19:12:28 +02:00
davicom net: ethernet: dm9000: Handle -EPROBE_DEFER in dm9000_parse_dt() 2020-03-12 13:00:13 +01:00
dec
dlink
emulex
ezchip
faraday
freescale net: gianfar: Add of_node_put() before goto statement 2020-09-03 11:27:00 +02:00
fujitsu
google
hisilicon net: hns3: Fix for geneve tx checksum bug 2020-09-17 13:47:46 +02:00
hp
huawei hinic: fix a bug of ndo_stop 2020-05-20 08:20:11 +02:00
i825xx
ibm ibmvnic: Fix IRQ mapping disposal in error path 2020-08-05 09:59:48 +02:00
intel scsi: fcoe: Fix I/O path allocation 2020-09-03 11:26:59 +02:00
marvell octeontx2-af: change (struct qmem)->entry_sz from u8 to u16 2020-08-21 13:05:30 +02:00
mediatek net: ethernet: mtk_eth_soc: fix MTU warnings 2020-08-11 15:33:39 +02:00
mellanox net: ethernet: mlx4: Fix memory allocation in mlx4_buddy_init() 2020-09-09 19:12:27 +02:00
micrel net: ks8851-ml: Fix IO operations, again 2020-04-02 15:11:01 +02:00
microchip net: microchip: encx24j600: add missed kthread_stop 2020-06-03 08:21:09 +02:00
moxa net: moxa: Fix a potential double 'free_irq()' 2020-05-20 08:20:05 +02:00
mscc
myricom
natsemi net/sonic: Fix a resource leak in an error handling path in 'jazz_sonic_probe()' 2020-05-20 08:20:05 +02:00
neterion net: vxge: fix wrong __VA_ARGS__ usage 2020-04-17 10:49:58 +02:00
netronome nfp: flower: fix used time of merge flow statistics 2020-06-10 20:24:55 +02:00
ni net: nixge: fix potential memory leak in nixge_probe() 2020-08-05 09:59:49 +02:00
nvidia
nxp net: lpc-enet: fix error return code in lpc_mii_init() 2020-06-22 09:31:01 +02:00
oki-semi
packetengines
pasemi
pensando ionic: update eid test for overflow 2020-08-19 08:16:04 +02:00
qlogic qed: Disable "MFW indication via attention" SPAM every 5 minutes 2020-08-05 09:59:50 +02:00
qualcomm net: qcom/emac: add missed clk_disable_unprepare in error path of emac_clks_phase1_init 2020-08-21 13:05:37 +02:00
rdc
realtek r8169: re-establish support for RTL8401 chip version 2020-05-20 08:20:13 +02:00
renesas ravb: Fixed to be able to unload modules 2020-09-09 19:12:24 +02:00
rocker rocker: fix incorrect error handling in dma_rings_init 2020-06-30 15:36:45 -04:00
samsung sxgbe: Fix off by one in samsung driver strncpy size arg 2020-04-01 11:01:55 +02:00
seeq
sfc sfc: fix timestamp reconstruction at 16-bit rollover points 2020-03-21 08:11:56 +01:00
sgi
silan
sis
smsc net: smc91x: Fix possible memory leak in smc_drv_probe() 2020-07-29 10:18:32 +02:00
socionext net: ethernet: ave: Fix error returns in ave_init 2020-07-29 10:18:34 +02:00
stmicro net: stmmac: dwmac1000: provide multicast filter fallback 2020-08-21 13:05:25 +02:00
sun net: sun: fix missing release regions in cas_init_one(). 2020-06-03 08:21:06 +02:00
synopsys
tehuti
ti net: ethernet: ti: cpsw: fix clean up of vlan mc entries for host port 2020-09-09 19:12:25 +02:00
toshiba net: spider_net: Fix the size used in a 'dma_free_coherent()' call 2020-08-19 08:16:20 +02:00
tundra
via
wiznet
xilinx net: ll_temac: Handle DMA halt condition caused by buffer underrun 2020-03-21 08:11:51 +01:00
xircom
xscale
Kconfig
Makefile
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
korina.c
lantiq_etop.c
lantiq_xrx200.c