+Cc: Cong Wang cong.wang@bytedance.com
Hi all,
On Tue, Nov 28, 2023 at 09:52:46PM -0500, Sasha Levin wrote:
This is a note to let you know that I've just added the patch titled
bpf: Fix dev's rx stats for bpf_redirect_peer traffic
to the 6.6-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git%3Ba=su...
The filename of the patch is: bpf-fix-dev-s-rx-stats-for-bpf_redirect_peer-traffic.patch and it can be found in the queue-6.6 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let stable@vger.kernel.org know about it.
Seems like only patch 1, 2 and 5 in this [1] series are selected? We also need patch 4, upstream commit 6f2684bf2b44 ("veth: Use tstats per-CPU traffic counters"). Otherwise the fix won't work, and the code will be wrong [2] .
We should've included a "Depends on patch..." note for stable in the commit message.
Thanks, Peilin Ye
[1] https://lore.kernel.org/all/170050562585.4532.1588179408610417971.git-patchw... [2] veth still uses @lstats, but patch 5 makes skb_do_redirect() update it as @tstats.