Re: [PATCH bpf] xsk: fix return value of xdp_umem_assign_dev()

2018-08-23 Thread Daniel Borkmann
On 08/23/2018 08:29 PM, Jakub Kicinski wrote: > On Mon, 20 Aug 2018 09:54:25 +0900, Prashant Bhole wrote: >> s/ENOTSUPP/EOPNOTSUPP/ in function umem_assign_dev(). >> This function's return value is directly returned by xsk_bind(). >> EOPNOTSUPP is bind()'s possible return value. >> >> Fixes: f73460

Re: [PATCH bpf] xsk: fix return value of xdp_umem_assign_dev()

2018-08-23 Thread Jakub Kicinski
On Mon, 20 Aug 2018 09:54:25 +0900, Prashant Bhole wrote: > s/ENOTSUPP/EOPNOTSUPP/ in function umem_assign_dev(). > This function's return value is directly returned by xsk_bind(). > EOPNOTSUPP is bind()'s possible return value. > > Fixes: f734607e819b ("xsk: refactor xdp_umem_assign_dev()") > Sig

Re: [PATCH bpf] xsk: fix return value of xdp_umem_assign_dev()

2018-08-21 Thread Daniel Borkmann
On 08/20/2018 10:31 AM, Björn Töpel wrote: > Den mån 20 aug. 2018 kl 02:58 skrev Prashant Bhole > : >> >> s/ENOTSUPP/EOPNOTSUPP/ in function umem_assign_dev(). >> This function's return value is directly returned by xsk_bind(). >> EOPNOTSUPP is bind()'s possible return value. >> >> Fixes: f734607e8

Re: [PATCH bpf] xsk: fix return value of xdp_umem_assign_dev()

2018-08-20 Thread Björn Töpel
Den mån 20 aug. 2018 kl 02:58 skrev Prashant Bhole : > > s/ENOTSUPP/EOPNOTSUPP/ in function umem_assign_dev(). > This function's return value is directly returned by xsk_bind(). > EOPNOTSUPP is bind()'s possible return value. > > Fixes: f734607e819b ("xsk: refactor xdp_umem_assign_dev()") > Signed-

Re: [PATCH bpf] xsk: fix return value of xdp_umem_assign_dev()

2018-08-19 Thread Song Liu
On Sun, Aug 19, 2018 at 5:54 PM, Prashant Bhole wrote: > s/ENOTSUPP/EOPNOTSUPP/ in function umem_assign_dev(). > This function's return value is directly returned by xsk_bind(). > EOPNOTSUPP is bind()'s possible return value. > > Fixes: f734607e819b ("xsk: refactor xdp_umem_assign_dev()") > Signed

[PATCH bpf] xsk: fix return value of xdp_umem_assign_dev()

2018-08-19 Thread Prashant Bhole
s/ENOTSUPP/EOPNOTSUPP/ in function umem_assign_dev(). This function's return value is directly returned by xsk_bind(). EOPNOTSUPP is bind()'s possible return value. Fixes: f734607e819b ("xsk: refactor xdp_umem_assign_dev()") Signed-off-by: Prashant Bhole --- net/xdp/xdp_umem.c | 4 ++-- 1 file c