diff options
author | Zhang Changzhong <zhangchangzhong@huawei.com> | 2020-12-04 18:21:16 +0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-12-04 16:48:31 +0100 |
commit | 12c8a8ca117f3d734babc3fba131fdaa329d2163 (patch) | |
tree | 5db836caee97a915dd8b242c149b59f7b0d2ef40 /Documentation | |
parent | 3413f04141aa440c71da187755e8e22f5093ce83 (diff) |
xsk: Return error code if force_zc is set
If force_zc is set, we should exit out with an error, not fall back to
copy mode.
Fixes: 921b68692abb ("xsk: Enable sharing of dma mappings")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Magnus Karlsson <magnus.karlsson@intel.com>
Link: https://lore.kernel.org/bpf/1607077277-41995-1-git-send-email-zhangchangzhong@huawei.com
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions