OSDN Git Service

ipv{4,6}/tcp: simplify procfs registration
authorChristoph Hellwig <hch@lst.de>
Wed, 11 Apr 2018 07:31:28 +0000 (09:31 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 16 May 2018 05:23:35 +0000 (07:23 +0200)
commit37d849bb4294e22d5250264e82beaf4dd8a5403c
tree8f2f81ca47b41241f5372eda7b91ee7e70a193e0
parenta3d2599b24462c762719a70bc4d2ec8e8cb52fcf
ipv{4,6}/tcp: simplify procfs registration

Avoid most of the afinfo indirections and just call the proc helpers
directly.

Signed-off-by: Christoph Hellwig <hch@lst.de>
include/net/tcp.h
net/ipv4/tcp_ipv4.c
net/ipv6/tcp_ipv6.c