diff options
Diffstat (limited to 'net/ipv4/syncookies.c')
| -rw-r--r-- | net/ipv4/syncookies.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/syncookies.c b/net/ipv4/syncookies.c index 3bc5c8f7c71b..90f6544c13e2 100644 --- a/net/ipv4/syncookies.c +++ b/net/ipv4/syncookies.c | |||
| @@ -15,6 +15,7 @@ | |||
| 15 | #include <linux/random.h> | 15 | #include <linux/random.h> |
| 16 | #include <linux/cryptohash.h> | 16 | #include <linux/cryptohash.h> |
| 17 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
| 18 | #include <linux/export.h> | ||
| 18 | #include <net/tcp.h> | 19 | #include <net/tcp.h> |
| 19 | #include <net/route.h> | 20 | #include <net/route.h> |
| 20 | 21 | ||
| @@ -265,7 +266,7 @@ struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb, | |||
| 265 | struct ip_options *opt) | 266 | struct ip_options *opt) |
| 266 | { | 267 | { |
| 267 | struct tcp_options_received tcp_opt; | 268 | struct tcp_options_received tcp_opt; |
| 268 | u8 *hash_location; | 269 | const u8 *hash_location; |
| 269 | struct inet_request_sock *ireq; | 270 | struct inet_request_sock *ireq; |
| 270 | struct tcp_request_sock *treq; | 271 | struct tcp_request_sock *treq; |
| 271 | struct tcp_sock *tp = tcp_sk(sk); | 272 | struct tcp_sock *tp = tcp_sk(sk); |
