]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/ipv4/tcp_input.c
tcp/dccp: fix ireq->opt races
[mirror_ubuntu-artful-kernel.git] / net / ipv4 / tcp_input.c
index bab7f0493098c6521f445923d721d296f326f7e1..e92e5dbcb3d622378492e8d06f31aa26f3cccde1 100644 (file)
@@ -6235,7 +6235,7 @@ struct request_sock *inet_reqsk_alloc(const struct request_sock_ops *ops,
                struct inet_request_sock *ireq = inet_rsk(req);
 
                kmemcheck_annotate_bitfield(ireq, flags);
-               ireq->opt = NULL;
+               ireq->ireq_opt = NULL;
 #if IS_ENABLED(CONFIG_IPV6)
                ireq->pktopts = NULL;
 #endif