ipv4: do clean up with spaces
Fix checkpatch errors like: ERROR: spaces required around that XXX Signed-off-by: Weilong Chen <chenweilong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
f55b0821b9
commit
a22318e83b
@@ -3686,7 +3686,7 @@ const u8 *tcp_parse_md5sig_option(const struct tcphdr *th)
|
||||
int opcode = *ptr++;
|
||||
int opsize;
|
||||
|
||||
switch(opcode) {
|
||||
switch (opcode) {
|
||||
case TCPOPT_EOL:
|
||||
return NULL;
|
||||
case TCPOPT_NOP:
|
||||
@@ -4046,7 +4046,7 @@ static void tcp_sack_remove(struct tcp_sock *tp)
|
||||
WARN_ON(before(tp->rcv_nxt, sp->end_seq));
|
||||
|
||||
/* Zap this SACK, by moving forward any other SACKS. */
|
||||
for (i=this_sack+1; i < num_sacks; i++)
|
||||
for (i = this_sack+1; i < num_sacks; i++)
|
||||
tp->selective_acks[i-1] = tp->selective_acks[i];
|
||||
num_sacks--;
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user