Re: rtsock change sysctl walker

2022-06-26 Thread Alexander Bluhm
On Sun, Jun 26, 2022 at 10:22:18AM +0200, Claudio Jeker wrote: > Switch the state variables to track the buffer size for the sysctl to > size_t and stop using the somewhat strange way of working with the buf > limit from starting with a negative w_needed. Just use the less confusing > w_needed <= w

rtsock change sysctl walker

2022-06-26 Thread Claudio Jeker
Switch the state variables to track the buffer size for the sysctl to size_t and stop using the somewhat strange way of working with the buf limit from starting with a negative w_needed. Just use the less confusing w_needed <= w_given as limit check. -- :wq Claudio Index: net/rtsock.c ==