aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2020-11-18 23:05:34 +0100
committerJakub Kicinski <[email protected]>2020-11-19 21:54:24 -0800
commitb680a214ec281dbd44b5ebbf3f126a57f1ecf0f7 (patch)
tree8bbd114bccb17adb18a9fc0e08beb29af36c7827 /net/lapb/lapb_timer.c
parentac75b09624ed679e239b75081923a6d33ae35876 (diff)
mptcp: update rtx timeout only if required.
We must start the retransmission timer only there are pending data in the rtx queue. Otherwise we can hit a WARN_ON in mptcp_reset_timer(), as syzbot demonstrated. Reported-and-tested-by: [email protected] Fixes: d9ca1de8c0cd ("mptcp: move page frag allocation in mptcp_sendmsg()") Signed-off-by: Paolo Abeni <[email protected]> Reviewed-by: Mat Martineau <[email protected]> Reported-by: Naresh Kamboju <[email protected]> Tested-by: Naresh Kamboju <[email protected]> Link: https://lore.kernel.org/r/1a72039f112cae048c44d398ffa14e0a1432db3d.1605737083.git.pabeni@redhat.com Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions