Skip to content
Commit 96c26e04 authored by Prashant Bhole's avatar Prashant Bhole Committed by Daniel Borkmann
Browse files

xsk: fix return value of xdp_umem_assign_dev()



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: f734607e ("xsk: refactor xdp_umem_assign_dev()")
Signed-off-by: default avatarPrashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Acked-by: default avatarSong Liu <songliubraving@fb.com>
Acked-by: default avatarBjörn Töpel <bjorn.topel@intel.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent b93c1b5a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment