commit | c8c9aeb519496f403563c715616dfc2a921a7eae | [log] [tgz] |
---|---|---|
author | Stefano Brivio <sbrivio@redhat.com> | Fri Jan 05 00:38:05 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 08 14:12:26 2018 -0500 |
tree | f5f87fc6fc90d5581bf5a1b2893bee30dc466491 | |
parent | 54dc3e3324829d346c959ff774626d9c6c9a65b5 [diff] |
tcp: Split BUG_ON() in tcp_tso_should_defer() into two assertions The two conditions triggering BUG_ON() are somewhat unrelated: the tcp_skb_pcount() check is meant to catch TSO flaws, the second one checks sanity of congestion window bookkeeping. Split them into two separate BUG_ON() assertions on two lines, so that we know which one actually triggers, when they do. Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>