On 8/30/23 7:35 AM, John Fastabend wrote: [...]
net/core/sock_map.c | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/net/core/sock_map.c b/net/core/sock_map.c index 8f07fea39d9e..cb11750b1df5 100644 --- a/net/core/sock_map.c +++ b/net/core/sock_map.c @@ -18,7 +18,7 @@ struct bpf_stab { struct bpf_map map; struct sock **sks; struct sk_psock_progs progs; - raw_spinlock_t lock; + spinlock_t lock; };
Looks good to me, and I agree that it's better to take this direction rather than converting both to raw_spinlock_t if there is no good reason for it. Thanks for looking into it, applied!