diff options
Diffstat (limited to 'net/dccp/minisocks.c')
-rw-r--r-- | net/dccp/minisocks.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/dccp/minisocks.c b/net/dccp/minisocks.c index 5ca49cec95f5..128b089d3aef 100644 --- a/net/dccp/minisocks.c +++ b/net/dccp/minisocks.c | |||
@@ -11,6 +11,7 @@ | |||
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <linux/dccp.h> | 13 | #include <linux/dccp.h> |
14 | #include <linux/gfp.h> | ||
14 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
15 | #include <linux/skbuff.h> | 16 | #include <linux/skbuff.h> |
16 | #include <linux/timer.h> | 17 | #include <linux/timer.h> |
@@ -184,7 +185,7 @@ struct sock *dccp_check_req(struct sock *sk, struct sk_buff *skb, | |||
184 | * counter (backoff, monitored by dccp_response_timer). | 185 | * counter (backoff, monitored by dccp_response_timer). |
185 | */ | 186 | */ |
186 | req->retrans++; | 187 | req->retrans++; |
187 | req->rsk_ops->rtx_syn_ack(sk, req); | 188 | req->rsk_ops->rtx_syn_ack(sk, req, NULL); |
188 | } | 189 | } |
189 | /* Network Duplicate, discard packet */ | 190 | /* Network Duplicate, discard packet */ |
190 | return NULL; | 191 | return NULL; |
@@ -254,7 +255,7 @@ int dccp_child_process(struct sock *parent, struct sock *child, | |||
254 | * in main socket hash table and lock on listening | 255 | * in main socket hash table and lock on listening |
255 | * socket does not protect us more. | 256 | * socket does not protect us more. |
256 | */ | 257 | */ |
257 | sk_add_backlog(child, skb); | 258 | __sk_add_backlog(child, skb); |
258 | } | 259 | } |
259 | 260 | ||
260 | bh_unlock_sock(child); | 261 | bh_unlock_sock(child); |