]> git.baikalelectronics.ru Git - kernel.git/commit
ipv{4,6}/ping: simplify proc file creation
authorChristoph Hellwig <hch@lst.de>
Tue, 10 Apr 2018 18:04:20 +0000 (20:04 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 16 May 2018 05:23:35 +0000 (07:23 +0200)
commit37dcef2666d15f30a8a704c68ae067f002163e0e
tree36fee3d300e0d74a0d9984d4781f50feaf64d091
parent8f09ce967a03a27f1ef0c9443bef4ff838447800
ipv{4,6}/ping: simplify proc file creation

Remove the pointless ping_seq_afinfo indirection and make the code look
like most other protocols.

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