Commit 2de979bd authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller
Browse files

[TCP]: whitespace cleanup



Add whitespace around keywords.

Signed-off-by: default avatarStephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 132adf54
Loading
Loading
Loading
Loading
+28 −29
Original line number Diff line number Diff line
@@ -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);
+18 −16
Original line number Diff line number Diff line
@@ -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--;
+3 −3

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.