]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcfe354cd0d7549786496c7e38d82b50b3996bec1
tree8384ce93ce79c7fa49bb29349102dd2b4d1137fd
parent554c5cd3890135e4cdd08c70089831ba351501d6
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