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 (8e8cda6d). 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>
Showing
- include/linux/can/core.h 2 additions, 2 deletionsinclude/linux/can/core.h
- include/net/netns/can.h 5 additions, 0 deletionsinclude/net/netns/can.h
- net/can/af_can.c 38 additions, 33 deletionsnet/can/af_can.c
- net/can/af_can.h 0 additions, 5 deletionsnet/can/af_can.h
- net/can/proc.c 76 additions, 65 deletionsnet/can/proc.c
Loading
Please register or sign in to comment