aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOliver Hartkopp <socketcan@hartkopp.net>2017-04-25 08:19:42 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2017-04-25 09:04:29 +0200
commit384317ef4187f59a1cb7a6163444d757340b3bb4 (patch)
tree7d4bb43279ff75c4b67dd0360ece61242b5b5e7e /include
parentcan: complete initial namespace support (diff)
downloadlinux-dev-384317ef4187f59a1cb7a6163444d757340b3bb4.tar.xz
linux-dev-384317ef4187f59a1cb7a6163444d757340b3bb4.zip
can: network namespace support for CAN_BCM protocol
The CAN_BCM protocol and its procfs entries were not implemented as per-net in the initial network namespace support by Mario Kicherer (8e8cda6d737d). This patch adds the missing per-net functionality for the CAN BCM. Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/net/netns/can.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netns/can.h b/include/net/netns/can.h
index 574157dbc43a..0f3c31aab8a8 100644
--- a/include/net/netns/can.h
+++ b/include/net/netns/can.h
@@ -23,6 +23,7 @@ struct netns_can {
struct proc_dir_entry *pde_rcvlist_sff;
struct proc_dir_entry *pde_rcvlist_eff;
struct proc_dir_entry *pde_rcvlist_err;
+ struct proc_dir_entry *bcmproc_dir;
#endif
/* receive filters subscribed for 'all' CAN devices */