Hello Oliver,
You didn't include the statistics here:
+ struct s_stats *can_stats; /* packet statistics */
+ struct s_pstats *can_pstats;/* receive list statistics */
which need to be per-net too, right?
I was not sure how this information is used - e.g., maybe just as d
Hartkopp wrote:
> Hello Mario,
>
> thanks for your patch.
>
> On 02/16/2017 12:39 PM, Mario Kicherer wrote:
>> This patch adds initial support for network namespaces. The changes only
>> enable support in the CAN raw, proc and af_can code. GW and BCM still
>> have t
filter list and their /proc stats, into a per-namespace structure and passing
around the corresponding "struct net" in a lot of different places.
Changes since v1:
- rebased on current HEAD (2bfe01e)
- fixed overlong line
Signed-off-by: Mario Kicherer
---
include/linux/can/core.
filter list and their /proc stats, into a per-namespace structure and passing
around the corresponding "struct net" in a lot of different places.
Signed-off-by: Mario Kicherer
---
include/linux/can/core.h| 8 +--
include/net/net_namespace.h | 4 ++
include/net/netns/can.h