can: complete initial namespace support
authorOliver Hartkopp <socketcan@hartkopp.net>
Tue, 25 Apr 2017 06:19:41 +0000 (08:19 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 25 Apr 2017 07:04:29 +0000 (09:04 +0200)
commitcb5635a3677679666e4e81ecbb209d32f13dedcd
tree2d5357aa8fbb22b3e8b0baba8c838b0234c402d1
parentf2e72f43e7686720ddc5112fab2f5f71f47dc5e6
can: complete initial namespace support

The statistics and its proc output was not implemented as per-net in the
initial network namespace support by Mario Kicherer (8e8cda6d737d).
This patch adds the missing per-net statistics for the CAN subsystem.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
include/linux/can/core.h
include/net/netns/can.h
net/can/af_can.c
net/can/af_can.h
net/can/proc.c