]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit61a348aeb6f76de0545ea770c6e9e9498864b6d5
tree2d5357aa8fbb22b3e8b0baba8c838b0234c402d1
parentc4bf070405974419608d6c52ccbf535c7c47ad0d
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 (e5f264b3ad6b).
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