Re: [PATCH net-next 3/3] net-timestamp: namespacify the sysctl_tstamp_allow_data

2024-09-30 Thread Jason Xing
On Mon, Sep 30, 2024 at 6:47 PM Willem de Bruijn wrote: > > Jason Xing wrote: > > From: Jason Xing > > > > Let it be tuned in per netns by admins. > > > > Signed-off-by: Jason Xing > > +1 on the idea > > > --- > > include/net/netns/core.h | 1 + > > include/net/sock.h | 2 -- > > als

Re: [PATCH net-next 3/3] net-timestamp: namespacify the sysctl_tstamp_allow_data

2024-09-30 Thread Willem de Bruijn
Jason Xing wrote: > From: Jason Xing > > Let it be tuned in per netns by admins. > > Signed-off-by: Jason Xing +1 on the idea > --- > include/net/netns/core.h | 1 + > include/net/sock.h | 2 -- also remove the static global from sock.c > net/core/net_namespace.c | 1 + > ne

[PATCH net-next 3/3] net-timestamp: namespacify the sysctl_tstamp_allow_data

2024-09-30 Thread Jason Xing
From: Jason Xing Let it be tuned in per netns by admins. Signed-off-by: Jason Xing --- include/net/netns/core.h | 1 + include/net/sock.h | 2 -- net/core/net_namespace.c | 1 + net/core/skbuff.c | 2 +- net/core/sysctl_net_core.c | 18 +- 5 files chang