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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Nov 2021 18:16:43 +0000 (19:16 +0100)
commit118eedc0064456f9560af73d77852d802f8c4c3d
tree1c03a771b9041670b634cc132c52ede880ed2ced
parent8cebfaefcccf466dc276a97e97ce1f00e0e5d7c1
sctp: reset probe_timer in sctp_transport_pl_update

[ Upstream commit c6ea04ea692fa0d8e7faeb133fcd28e3acf470a0 ]

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: 92548ec2f1f9 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/net/sctp/sctp.h