git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ipv4: clean up cookie_v4_check()
[sfrench/cifs-2.6.git]
/
net
/
ipv4
/
tcp_ipv4.c
diff --git
a/net/ipv4/tcp_ipv4.c
b/net/ipv4/tcp_ipv4.c
index 6a2a7d659a7af79d23b927aa52541c625cc69601..94d1a7757ff7462edf6c32406df7187b4839bf4f 100644
(file)
--- a/
net/ipv4/tcp_ipv4.c
+++ b/
net/ipv4/tcp_ipv4.c
@@
-1408,7
+1408,7
@@
static struct sock *tcp_v4_hnd_req(struct sock *sk, struct sk_buff *skb)
#ifdef CONFIG_SYN_COOKIES
if (!th->syn)
- sk = cookie_v4_check(sk, skb
, &TCP_SKB_CB(skb)->header.h4.opt
);
+ sk = cookie_v4_check(sk, skb);
#endif
return sk;
}