]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - net/netfilter/nf_flow_table_offload.c
netfilter: nf_flow_table_offload: fix incorrect ethernet dst address
authorwenxu <wenxu@ucloud.cn>
Fri, 20 Dec 2019 04:14:36 +0000 (12:14 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 5 Jan 2020 09:06:27 +0000 (10:06 +0100)
commit1b67e50601fabc9589022e6b5e79fd8596c2338e
treebf03fdf50b17f0c02ed985e763dd1fdc192984d2
parent8ca79606cdfde2e37ee4f0707b9d1874a6f0eb38
netfilter: nf_flow_table_offload: fix incorrect ethernet dst address

Ethernet destination for original traffic takes the source ethernet address
in the reply direction. For reply traffic, this takes the source
ethernet address of the original direction.

Fixes: c29f74e0df7a ("netfilter: nf_flow_table: hardware offload support")
Signed-off-by: wenxu <wenxu@ucloud.cn>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_flow_table_offload.c