-
-
Save invisiblek/4509fdb0abaf02b38987 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/net/ipv4/syncookies.c b/net/ipv4/syncookies.c | |
index d507577..e721766 100644 | |
--- a/net/ipv4/syncookies.c | |
+++ b/net/ipv4/syncookies.c | |
@@ -348,7 +348,7 @@ struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb, | |
* hasn't changed since we received the original syn, but I see | |
* no easy way to do this. | |
*/ | |
- flowi4_init_output(&fl4, sk->sk_bound_dev_if, sk->sk_mark, | |
+ flowi4_init_output(&fl4, sk->sk_bound_dev_if, ireq->ir_mark, | |
RT_CONN_FLAGS(sk), RT_SCOPE_UNIVERSE, IPPROTO_TCP, | |
inet_sk_flowi_flags(sk), | |
(opt && opt->srr) ? opt->faddr : ireq->rmt_addr, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment