summaryrefslogtreecommitdiff
path: root/crypto/xor.c
diff options
context:
space:
mode:
authorZhang Changzhong <zhangchangzhong@huawei.com>2020-12-04 18:21:16 +0800
committerDaniel Borkmann <daniel@iogearbox.net>2020-12-04 16:48:31 +0100
commit12c8a8ca117f3d734babc3fba131fdaa329d2163 (patch)
tree5db836caee97a915dd8b242c149b59f7b0d2ef40 /crypto/xor.c
parent3413f04141aa440c71da187755e8e22f5093ce83 (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 'crypto/xor.c')
0 files changed, 0 insertions, 0 deletions