OpenCloudOS-Kernel/net
Oz Shlomo c0f47c2822 net/sched: cls_api: Fix flow action initialization
The cited commit refactored the flow action initialization sequence to
use an interface method when translating tc action instances to flow
offload objects. The refactored version skips the initialization of the
generic flow action attributes for tc actions, such as pedit, that allocate
more than one offload entry. This can cause potential issues for drivers
mapping flow action ids.

Populate the generic flow action fields for all the flow action entries.

Fixes: c54e1d920f ("flow_offload: add ops to tc_action_ops for flow action setup")
Signed-off-by: Oz Shlomo <ozsh@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>

----
v1 -> v2:
 - coalese the generic flow action fields initialization to a single loop
Reviewed-by: Baowen Zheng <baowen.zheng@corigine.com>

Signed-off-by: David S. Miller <davem@davemloft.net>
2022-07-20 10:54:27 +01:00
..
6lowpan
9p
802
8021q vlan: fix memory leak in vlan_newlink() 2022-07-09 12:26:59 +01:00
appletalk
atm
ax25
batman-adv
bluetooth Bluetooth: core: Fix deadlock on hci_power_on_sync. 2022-07-05 13:20:03 -07:00
bpf
bpfilter
bridge
caif
can
ceph
core tcp: Fix data-races around sysctl knobs related to SYN option. 2022-07-20 10:14:49 +01:00
dcb
dccp
decnet
dns_resolver
dsa net: dsa: fix NULL pointer dereference in dsa_port_reset_vlan_filtering 2022-07-18 20:14:23 -07:00
ethernet
ethtool
hsr
ieee802154
ife
ipv4 tcp: Fix data-races around sysctl_tcp_max_reordering. 2022-07-20 10:14:50 +01:00
ipv6 tcp: Fix data-races around sysctl_tcp_syncookies. 2022-07-18 12:21:54 +01:00
iucv
kcm
key
l2tp
l3mdev
lapb
llc
mac80211 wifi: mac80211: fix queue selection for mesh/OCB interfaces 2022-07-11 10:36:55 +02:00
mac802154
mctp
mpls
mptcp mptcp: fix subflow traversal at disconnect time 2022-07-11 11:31:38 +01:00
ncsi
netfilter ip: Fix data-races around sysctl_ip_default_ttl. 2022-07-15 11:49:55 +01:00
netlabel
netlink
netrom
nfc
nsh
openvswitch
packet
phonet
psample
qrtr
rds
rfkill
rose net: rose: fix UAF bug caused by rose_t0timer_expiry 2022-07-06 19:49:11 -07:00
rxrpc
sched net/sched: cls_api: Fix flow action initialization 2022-07-20 10:54:27 +01:00
sctp ip: Fix data-races around sysctl_ip_nonlocal_bind. 2022-07-15 11:49:55 +01:00
smc tcp: Fix data-races around keepalive sysctl knobs. 2022-07-18 12:21:54 +01:00
strparser
sunrpc
switchdev
tipc
tls net/tls: Fix race in TLS device down flow 2022-07-18 11:33:07 +01:00
unix
vmw_vsock
wireless
x25
xdp
xfrm Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec 2022-07-20 10:11:58 +01:00
Kconfig
Kconfig.debug
Makefile
compat.c
devres.c
socket.c
sysctl_net.c