can: network namespace support for CAN_BCM protocol
Subsystems (3)
Oliver Hartkopp
maintainerPATCH 1/1 can: network namespace support for CAN_BCM protocol
The 'can: initial support for network namespaces' from Mario Kicherer did not contain the CAN_BCM protocol and its procfs entries. This patch enables the broadcast manager to be used in different namespaces.
Signed-off-by Oliver Hartkopp <[email protected]>
--- include/net/netns/can.h | 1 + net/can/bcm.c | 90 ++++++++++++++++++++++++++++++++----------------- 2 files changed, 60 insertions(+), 31 deletions(-)
include/net/netns/can.h +1 -0
@@ -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 */
net/can/bcm.c +59 -31
262 lines not on this page · raw message
Signature · 1 line
2.11.0