tcp/dccp: init sk_prot and call sk_node_init() in reqsk_alloc()
authorEric Dumazet <edumazet@google.com>
Fri, 2 Oct 2015 18:43:27 +0000 (11:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Oct 2015 11:32:38 +0000 (04:32 -0700)
commitb267cdd1075d28501b7c05c7aeb8466775505e8d
treeb0db78ccc7e054be2e4f610db4a5f0aeb9b2213f
parent38cb52455c2c3e8b5751350a3fb32e43e82e129a
tcp/dccp: init sk_prot and call sk_node_init() in reqsk_alloc()

We plan to use generic functions to insert request sockets
into ehash table.

sk_prot needs to be set (to retrieve sk_prot->h.hashinfo)
sk_node needs to be cleared.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/request_sock.h