]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: reset probe_timer in sctp_transport_pl_update
authorXin Long <lucien.xin@gmail.com>
Thu, 28 Oct 2021 09:36:02 +0000 (05:36 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Oct 2021 11:21:23 +0000 (12:21 +0100)
commit0ca8acd3335c6961d415636fc557b0b709268484
tree030072d7354ee8e295799b97ea9d32f275ba5ff2
parente277dbd0e20c8d154e8f2e255cba9bd5b7e1c021
sctp: reset probe_timer in sctp_transport_pl_update

sctp_transport_pl_update() is called when transport update its dst and
pathmtu, instead of stopping the PLPMTUD probe timer, PLPMTUD should
start over and reset the probe timer. Otherwise, the PLPMTUD service
would stop.

Fixes: ff8417ef6a43 ("sctp: add the probe timer in transport for PLPMTUD")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/sctp.h