inet: add rsk_refcnt/ireq_refcnt to request socks
authorEric Dumazet <edumazet@google.com>
Thu, 12 Mar 2015 23:44:06 +0000 (16:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Mar 2015 02:58:13 +0000 (22:58 -0400)
commit1e2e01172fd11b4dbfee746c0c8fbcaa9dbf22a0
tree8384ce93ce79c7fa49bb29349102dd2b4d1137fd
parentd34ac51b76e8c7de6094cfb11780ef9c2b93469f
inet: add rsk_refcnt/ireq_refcnt to request socks

When request socks will be in ehash, they'll need to be refcounted.

This patch adds rsk_refcnt/ireq_refcnt macros, and adds
reqsk_put() function, but nothing yet use them.

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