Files
linux/include/trace/events
Eric Dumazet 3308676ec5 tcp: add accessors to read/set tp->snd_cwnd
[ Upstream commit 4057037535 ]

We had various bugs over the years with code
breaking the assumption that tp->snd_cwnd is greater
than zero.

Lately, syzbot reported the WARN_ON_ONCE(!tp->prior_cwnd) added
in commit 8b8a321ff7 ("tcp: fix zero cwnd in tcp_cwnd_reduction")
can trigger, and without a repro we would have to spend
considerable time finding the bug.

Instead of complaining too late, we want to catch where
and when tp->snd_cwnd is set to an illegal value.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Suggested-by: Yuchung Cheng <ycheng@google.com>
Cc: Neal Cardwell <ncardwell@google.com>
Acked-by: Yuchung Cheng <ycheng@google.com>
Link: https://lore.kernel.org/r/20220405233538.947344-1-eric.dumazet@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 18:36:11 +02:00
..
2020-11-30 12:54:01 +00:00
2021-06-29 10:53:52 -07:00
2021-09-08 11:50:24 -07:00
2021-09-23 23:21:34 +08:00
2022-04-08 14:22:58 +02:00
2021-11-25 09:48:31 +01:00
2019-11-08 11:23:37 +01:00
2019-03-27 15:52:01 -03:00
2017-09-25 20:38:26 +02:00
2021-06-29 10:53:52 -07:00
2020-04-22 12:55:54 -07:00
2021-05-12 12:10:23 -07:00
2018-02-13 21:30:22 +01:00
2021-05-31 22:48:24 -04:00
2017-12-19 10:56:24 +01:00
2021-06-29 11:28:21 -07:00
2021-03-23 14:08:18 -04:00