diff options
author | Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp> | 2018-08-20 02:54:25 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-08-21 22:06:53 +0200 |
commit | 96c26e04581667e3cd17ed74c2fc3499afea49b8 (patch) | |
tree | 7d3c67e3e39502739fac112fd289be51b2252a80 /.clang-format | |
parent | hv_netvsc: ignore devices that are not PCI (diff) | |
download | linux-96c26e04581667e3cd17ed74c2fc3499afea49b8.tar.xz linux-96c26e04581667e3cd17ed74c2fc3499afea49b8.zip |
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: f734607e819b ("xsk: refactor xdp_umem_assign_dev()")
Signed-off-by: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Acked-by: Song Liu <songliubraving@fb.com>
Acked-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions