mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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 (8e8cda6d73
).
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>
This commit is contained in:
parent
f2e72f43e7
commit
cb5635a367
5 changed files with 121 additions and 105 deletions
|
@ -115,9 +115,4 @@ void can_init_proc(struct net *net);
|
|||
void can_remove_proc(struct net *net);
|
||||
void can_stat_update(unsigned long data);
|
||||
|
||||
/* structures and variables from af_can.c needed in proc.c for reading */
|
||||
extern struct timer_list can_stattimer; /* timer for statistics update */
|
||||
extern struct s_stats can_stats; /* packet statistics */
|
||||
extern struct s_pstats can_pstats; /* receive list statistics */
|
||||
|
||||
#endif /* AF_CAN_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue