]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: reset the packet scheduler on incoming MP_PRIO
authorPaolo Abeni <pabeni@redhat.com>
Fri, 8 Apr 2022 19:45:55 +0000 (12:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Apr 2022 10:55:53 +0000 (11:55 +0100)
commitea82727396685db81bfdf07c09607e659bf69dd3
tree01d06078d894393c44c35ae025494bdbd1baaf27
parente175c2a18941cf3bafc7fa57031124661e4b180f
mptcp: reset the packet scheduler on incoming MP_PRIO

When an incoming MP_PRIO option changes the backup
status of any subflow, we need to reset the packet
scheduler status, or the next send could keep using
the previously selected subflow, without taking in account
the new priorities.

Reported-by: Davide Caratti <dcaratti@redhat.com>
Fixes: 0e3bd6292617 ("mptcp: add the incoming MP_PRIO support")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/pm.c
net/mptcp/protocol.c
net/mptcp/protocol.h