Re: [PATCH bpf-next 4/4] xsk: lock the control mutex in sock_diag interface

2019-08-23 Thread Jonathan Lemon
On 22 Aug 2019, at 2:13, Björn Töpel wrote: > From: Björn Töpel > > When accessing the members of an XDP socket, the control mutex should > be held. This commit fixes that. > > Fixes: a36b38aa2af6 ("xsk: add sock_diag interface for AF_XDP") > Signed-off-by: Björn Töpel Acked-by: Jonathan Lem

[PATCH bpf-next 4/4] xsk: lock the control mutex in sock_diag interface

2019-08-22 Thread Björn Töpel
From: Björn Töpel When accessing the members of an XDP socket, the control mutex should be held. This commit fixes that. Fixes: a36b38aa2af6 ("xsk: add sock_diag interface for AF_XDP") Signed-off-by: Björn Töpel --- net/xdp/xsk_diag.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/