]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf789f829cb8472a45539f74a79b775d76d086de1
treebf03fdf50b17f0c02ed985e763dd1fdc192984d2
parentee1f9e6149a2ff44a96a9f8d4c7a7b0b4c7f5aa4
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: 3029814930c4 ("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