]> 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)
commit13a3c4aa5d85f2e8c783b7216e689c8ea79168dc
treebf03fdf50b17f0c02ed985e763dd1fdc192984d2
parent8044d9ef1cac4b7dec2152ea30b788b52fbf1f00
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: c550be63df75 ("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