]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: ethernet: mediatek: fix a typo bug in flow offloading
authorDENG Qingfang <dqfext@gmail.com>
Sat, 17 Apr 2021 07:29:04 +0000 (15:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Apr 2021 22:39:52 +0000 (15:39 -0700)
commit6ecaf81d4ac6365f9284f9d68d74f7c209e74f98
tree20861d60ff326866cffaf88c91ad80123895f582
parent32c1fdb5e9ca9fe8722479797f3c37009e021a4c
net: ethernet: mediatek: fix a typo bug in flow offloading

Issue was traffic problems after a while with increased ping times if
flow offload is active. It turns out that key_offset with cookie is
needed in rhashtable_params but was re-assigned to head_offset.
Fix the assignment.

Fixes: 502e84e2382d ("net: ethernet: mtk_eth_soc: add flow offloading support")
Signed-off-by: DENG Qingfang <dqfext@gmail.com>
Tested-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_ppe_offload.c