]> 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)
commit816f82f2cc916e916ee0f83ad99e3f1955dec688
tree01d06078d894393c44c35ae025494bdbd1baaf27
parenta7ad83117922a7d57e3edbe0b33b5939fb55e8db
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: 9950746543dc ("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