Commit 105970f6 authored by Kenjiro Nakayama's avatar Kenjiro Nakayama Committed by David S. Miller

net: Remove trailing whitespace in tcp.h icmp.c syncookies.c

Remove trailing whitespace in tcp.h icmp.c syncookies.c
Signed-off-by: default avatarKenjiro Nakayama <nakayamakenjiro@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 942396b0
...@@ -55,9 +55,9 @@ void tcp_time_wait(struct sock *sk, int state, int timeo); ...@@ -55,9 +55,9 @@ void tcp_time_wait(struct sock *sk, int state, int timeo);
#define MAX_TCP_HEADER (128 + MAX_HEADER) #define MAX_TCP_HEADER (128 + MAX_HEADER)
#define MAX_TCP_OPTION_SPACE 40 #define MAX_TCP_OPTION_SPACE 40
/* /*
* Never offer a window over 32767 without using window scaling. Some * Never offer a window over 32767 without using window scaling. Some
* poor stacks do signed 16bit maths! * poor stacks do signed 16bit maths!
*/ */
#define MAX_TCP_WINDOW 32767U #define MAX_TCP_WINDOW 32767U
...@@ -167,7 +167,7 @@ void tcp_time_wait(struct sock *sk, int state, int timeo); ...@@ -167,7 +167,7 @@ void tcp_time_wait(struct sock *sk, int state, int timeo);
/* /*
* TCP option * TCP option
*/ */
#define TCPOPT_NOP 1 /* Padding */ #define TCPOPT_NOP 1 /* Padding */
#define TCPOPT_EOL 0 /* End of options */ #define TCPOPT_EOL 0 /* End of options */
#define TCPOPT_MSS 2 /* Segment size negotiating */ #define TCPOPT_MSS 2 /* Segment size negotiating */
...@@ -1104,16 +1104,16 @@ static inline int tcp_win_from_space(int space) ...@@ -1104,16 +1104,16 @@ static inline int tcp_win_from_space(int space)
space - (space>>sysctl_tcp_adv_win_scale); space - (space>>sysctl_tcp_adv_win_scale);
} }
/* Note: caller must be prepared to deal with negative returns */ /* Note: caller must be prepared to deal with negative returns */
static inline int tcp_space(const struct sock *sk) static inline int tcp_space(const struct sock *sk)
{ {
return tcp_win_from_space(sk->sk_rcvbuf - return tcp_win_from_space(sk->sk_rcvbuf -
atomic_read(&sk->sk_rmem_alloc)); atomic_read(&sk->sk_rmem_alloc));
} }
static inline int tcp_full_space(const struct sock *sk) static inline int tcp_full_space(const struct sock *sk)
{ {
return tcp_win_from_space(sk->sk_rcvbuf); return tcp_win_from_space(sk->sk_rcvbuf);
} }
static inline void tcp_openreq_init(struct request_sock *req, static inline void tcp_openreq_init(struct request_sock *req,
......
...@@ -1009,4 +1009,3 @@ struct ctl_table * __net_init ipv6_icmp_sysctl_init(struct net *net) ...@@ -1009,4 +1009,3 @@ struct ctl_table * __net_init ipv6_icmp_sysctl_init(struct net *net)
return table; return table;
} }
#endif #endif
...@@ -269,4 +269,3 @@ struct sock *cookie_v6_check(struct sock *sk, struct sk_buff *skb) ...@@ -269,4 +269,3 @@ struct sock *cookie_v6_check(struct sock *sk, struct sk_buff *skb)
reqsk_free(req); reqsk_free(req);
return NULL; return NULL;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment