aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2024-12-02 10:21:38 -0500
committerDavid S. Miller <davem@davemloft.net>2024-12-04 10:35:14 +0000
commit292207809486d99c78068d3f459cbbbffde88415 (patch)
tree3eae226047906a6f0e96558449e7e6428d6a78d7 /tools/perf/scripts
parentethtool: Fix access to uninitialized fields in set RXNFC command (diff)
downloadlinux-292207809486d99c78068d3f459cbbbffde88415.tar.gz
linux-292207809486d99c78068d3f459cbbbffde88415.zip
net: sched: fix erspan_opt settings in cls_flower
When matching erspan_opt in cls_flower, only the (version, dir, hwid) fields are relevant. However, in fl_set_erspan_opt() it initializes all bits of erspan_opt and its mask to 1. This inadvertently requires packets to match not only the (version, dir, hwid) fields but also the other fields that are unexpectedly set to 1. This patch resolves the issue by ensuring that only the (version, dir, hwid) fields are configured in fl_set_erspan_opt(), leaving the other fields to 0 in erspan_opt. Fixes: 79b1011cb33d ("net: sched: allow flower to match erspan options") Reported-by: Shuang Li <shuali@redhat.com> Signed-off-by: Xin Long <lucien.xin@gmail.com> Reviewed-by: Cong Wang <cong.wang@bytedance.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
/span>wifi: nl80211: completely disable per-link stats for nowJohannes Berg1-1/+1 2025-09-10net: usb: asix: ax88772: drop phylink use in PM to avoid MDIO runtime PM wakeupsOleksij Rempel1-13/+0 2025-09-10net: ethtool: fix wrong type used in struct kernel_ethtool_ts_infoRussell King (Oracle)1-2/+2 2025-09-10selftests/bpf: Skip timer cases when bpf_timer is not supportedLeon Hwang5-0/+20 2025-09-10bpf: Reject bpf_timer for PREEMPT_RTLeon Hwang1-0/+4 2025-09-10libceph: fix invalid accesses to ceph_connection_v1_infoIlya Dryomov1-3/+4 2025-09-10PM: hibernate: Restrict GFP mask in hibernation_snapshot()Rafael J. Wysocki1-0/+1 2025-09-10MAINTAINERS: add Phil as netfilter reviewerFlorian Westphal1-0/+1 2025-09-10netfilter: nf_tables: restart set lookup on base_seq changeFlorian Westphal2-2/+32 2025-09-10netfilter: nf_tables: make nft_set_do_lookup available unconditionallyFlorian Westphal2-13/+14 2025-09-10netfilter: nf_tables: place base_seq in struct netFlorian Westphal3-33/+34 2025-09-10netfilter: nft_set_rbtree: continue traversal if element is inactiveFlorian Westphal1-3/+3 2025-09-10netfilter: nft_set_pipapo: don't check genbit from packetpath lookupsFlorian Westphal2-5/+19 2025-09-10netfilter: nft_set_bitmap: fix lockdep splat due to missing annotationFlorian Westphal1-1/+2 2025-09-10can: rcar_can: rcar_can_resume(): fix s2ram with PSCIGeert Uytterhoeven1-7/+1 2025-09-10can: xilinx_can: xcan_write_frame(): fix use-after-free of transmitted SKBAnssi Hannula1-8/+8 2025-09-10can: j1939: j1939_local_ecu_get(): undo increment when j1939_local_ecu_get() ...Tetsuo Handa1-1/+4 2025-09-10can: j1939: j1939_sk_bind(): call j1939_priv_put() immediately when j1939_loc...Tetsuo Handa1-0/+3 2025-09-10can: j1939: implement NETDEV_UNREGISTER notification handlerTetsuo Handa3-0/+53