bpf, docs: Correct the example of BPF_XOR
authorZheng Yejian <zhengyejian1@huawei.com>
Tue, 29 Nov 2022 13:45:58 +0000 (21:45 +0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 2 Dec 2022 20:27:32 +0000 (21:27 +0100)
commitbc067cacb69c6ee0da10d357458fa7f1fe54e472
treeaa55504166f3f9423e554d87bb29e27ca21c3616
parent78b037bd402df8eca0f45ef003c6d0ab25a26ecc
bpf, docs: Correct the example of BPF_XOR

Refer to description of BPF_XOR, dst_reg should be used but not src_reg
in the examples.

Fixes: be3193cded9d ("bpf, docs: Add subsections for ALU and JMP instructions")
Signed-off-by: Zheng Yejian <zhengyejian1@huawei.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20221129134558.2757043-1-zhengyejian1@huawei.com
Documentation/bpf/instruction-set.rst