Closed ytxing closed 2 years ago
Hi @ytxing
Thank you for the patch!
I slightly modified the commit message before integrate it to follow the kernel code style (checkpatch.pl and others), nothing important, the diff is still the same.
The new commit in mptcp_trunk: 5ffee1dcb2617a8a2f496addca614cb56e2e123f Backported to mptcp_v0.96 and mptcp0.95.
Previously
redsched_correct_skb_pointers
setred_p->skb = NULL
whenred_p->skb_start_seq == meta_tp->snd_una
. This issue causes the redundant scheduler keep sending reinjected packets. Replace!after
withbefore
in line 192.Closes: https://github.com/multipath-tcp/mptcp/issues/474 Fixes: 7835e7847026 ("mptcp: Fix use-after-free in the redundant scheduler") Signed-off-by: ytxing ytxing@mail.ustc.edu.cn