aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/inet_diag.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2016-04-14 15:35:31 +0800
committerDavid S. Miller <davem@davemloft.net>2016-04-15 17:29:36 -0400
commit626d16f50f39bb9c44f98fd256cae2b864900a01 (patch)
tree6855fdeabf704f43f1905ce81d25835bdfe838a6 /net/ipv4/inet_diag.c
parentsctp: add sctp_info dump api for sctp_diag (diff)
downloadlinux-dev-626d16f50f39bb9c44f98fd256cae2b864900a01.tar.xz
linux-dev-626d16f50f39bb9c44f98fd256cae2b864900a01.zip
sctp: export some apis or variables for sctp_diag and reuse some for proc
For some main variables in sctp.ko, we couldn't export it to other modules, so we have to define some api to access them. It will include sctp transport and endpoint's traversal. There are some transport traversal functions for sctp_diag, we can also use it for sctp_proc. cause they have the similar situation to traversal transport. v2->v3: - rhashtable_walk_init need the parameter gfp, because of recent upstrem update Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions