ipv6: add missing ireq_net & ir_cookie initializations
authorEric Dumazet <edumazet@google.com>
Thu, 12 Mar 2015 23:44:03 +0000 (16:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Mar 2015 02:58:12 +0000 (22:58 -0400)
commitbd337c581b2b0d933d37f664bf55b342577fed3a
treeec450b42ebb3369f46c64f63a43a3915053205c6
parent54720df130b3e6356391ed4f8a1a024318bcae23
ipv6: add missing ireq_net & ir_cookie initializations

I forgot to update dccp_v6_conn_request() & cookie_v6_check().
They both need to set ireq->ireq_net and ireq->ir_cookie

Lets clear ireq->ir_cookie in inet_reqsk_alloc()

Signed-off-by: Eric Dumazet <edumazet@google.com>
Fixes: 33cf7c90fe2f ("net: add real socket cookies")
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_sock.h
net/dccp/ipv4.c
net/dccp/ipv6.c
net/ipv4/tcp_input.c
net/ipv6/syncookies.c