Re: Push kernel lock into pru_control()

2022-11-14 Thread Vitaliy Makkoveev
> On 10 Nov 2022, at 13:54, Klemens Nanni wrote: > > Purely mechanical, then in6_control() and in_control() can be pushed > further individually. > > Feedback? OK? SS_PRIV is immutable, no reason to check it with kernel lock held. > --- > sys/kern/sys_socket.c | 2 -- > sys/netinet/in.c |

Push kernel lock into pru_control()

2022-11-10 Thread Klemens Nanni
Purely mechanical, then in6_control() and in_control() can be pushed further individually. Feedback? OK? --- sys/kern/sys_socket.c | 2 -- sys/netinet/in.c | 4 sys/netinet6/in6.c| 4 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/sys/kern/sys_socket.c