diff options
Diffstat (limited to 'net/ipv4/syncookies.c')
-rw-r--r-- | net/ipv4/syncookies.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/syncookies.c b/net/ipv4/syncookies.c index 0431a8f3c8f4..7e7401cdb9d7 100644 --- a/net/ipv4/syncookies.c +++ b/net/ipv4/syncookies.c | |||
@@ -321,7 +321,7 @@ struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb, | |||
321 | int opt_size = sizeof(struct ip_options_rcu) + opt->optlen; | 321 | int opt_size = sizeof(struct ip_options_rcu) + opt->optlen; |
322 | 322 | ||
323 | ireq->opt = kmalloc(opt_size, GFP_ATOMIC); | 323 | ireq->opt = kmalloc(opt_size, GFP_ATOMIC); |
324 | if (ireq->opt != NULL && ip_options_echo(&ireq->opt->opt, skb)) { | 324 | if (ireq->opt != NULL && __ip_options_echo(&ireq->opt->opt, skb, opt)) { |
325 | kfree(ireq->opt); | 325 | kfree(ireq->opt); |
326 | ireq->opt = NULL; | 326 | ireq->opt = NULL; |
327 | } | 327 | } |