[TCP]: whitespace cleanup
Add whitespace around keywords. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>hifive-unleashed-5.1
parent
132adf5463
commit
2de979bd7d
|
@ -1760,10 +1760,9 @@ static void tcp_mark_head_lost(struct sock *sk, struct tcp_sock *tp,
|
|||
* if this is beyond hint */
|
||||
if (tp->retransmit_skb_hint != NULL &&
|
||||
before(TCP_SKB_CB(skb)->seq,
|
||||
TCP_SKB_CB(tp->retransmit_skb_hint)->seq)) {
|
||||
|
||||
TCP_SKB_CB(tp->retransmit_skb_hint)->seq))
|
||||
tp->retransmit_skb_hint = NULL;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
tcp_sync_left_out(tp);
|
||||
|
|
|
@ -287,10 +287,12 @@ static void tcp_build_and_update_options(__be32 *ptr, struct tcp_sock *tp,
|
|||
(TCPOPT_SACK << 8) |
|
||||
(TCPOLEN_SACK_BASE + (tp->rx_opt.eff_sacks *
|
||||
TCPOLEN_SACK_PERBLOCK)));
|
||||
|
||||
for (this_sack = 0; this_sack < tp->rx_opt.eff_sacks; this_sack++) {
|
||||
*ptr++ = htonl(sp[this_sack].start_seq);
|
||||
*ptr++ = htonl(sp[this_sack].end_seq);
|
||||
}
|
||||
|
||||
if (tp->rx_opt.dsack) {
|
||||
tp->rx_opt.dsack = 0;
|
||||
tp->rx_opt.eff_sacks--;
|
||||
|
|
Loading…
Reference in New Issue