Re: [PATCH bpf-next v4 2/2] xsk: support BPF_EXIST and BPF_NOEXIST flags in XSKMAP

2019-08-02 Thread Jonathan Lemon
On 2 Aug 2019, at 1:11, Björn Töpel wrote: > From: Björn Töpel > > The XSKMAP did not honor the BPF_EXIST/BPF_NOEXIST flags when updating > an entry. This patch addresses that. > > Signed-off-by: Björn Töpel Reviewed-by: Jonathan Lemon

[PATCH bpf-next v4 2/2] xsk: support BPF_EXIST and BPF_NOEXIST flags in XSKMAP

2019-08-02 Thread Björn Töpel
From: Björn Töpel The XSKMAP did not honor the BPF_EXIST/BPF_NOEXIST flags when updating an entry. This patch addresses that. Signed-off-by: Björn Töpel --- kernel/bpf/xskmap.c | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/kernel/bpf/xskmap.c b/kernel