]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2ce927527f0ba23735a5d6eccbc210a5d55502dd
treeb0db78ccc7e054be2e4f610db4a5f0aeb9b2213f
parentc36a07ce23486ce1f85ef919add936d710e1ce2f
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