Files
linux/include/trace/events
Eric Dumazet 4057037535 tcp: add accessors to read/set tp->snd_cwnd
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 <[email protected]>
Suggested-by: Yuchung Cheng <[email protected]>
Cc: Neal Cardwell <[email protected]>
Acked-by: Yuchung Cheng <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
2022-04-06 12:05:41 -07:00
..
…
2021-11-10 21:16:56 +00:00
2020-11-30 12:54:01 +00:00
2021-06-29 10:53:52 -07:00
…
2021-11-02 14:39:20 -05:00
2022-03-08 17:55:03 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
2021-06-29 10:53:52 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-04-22 12:55:54 -07:00
…
…
2021-05-31 22:48:24 -04:00
…
…
…
2021-06-29 11:28:21 -07:00
…
…
…
…
2021-03-23 14:08:18 -04:00
…
…
…