]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: ethernet: mtk_eth_soc: missing mutex
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 18 Apr 2021 21:11:44 +0000 (23:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Apr 2021 22:55:05 +0000 (15:55 -0700)
commit014d029876b23f5963c792c4622eb0eaea930f19
treed60f61295ad3d6b3630b6cfc3f8c57b65b194c2a
parent0e389028ad75412ff624b304913bba14f8d46ec4
net: ethernet: mtk_eth_soc: missing mutex

Patch 2ed37183abb7 ("netfilter: flowtable: separate replace, destroy and
stats to different workqueues") splits the workqueue per event type. Add
a mutex to serialize updates.

Fixes: 502e84e2382d ("net: ethernet: mtk_eth_soc: add flow offloading support")
Reported-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_ppe_offload.c