]> git.baikalelectronics.ru Git - kernel.git/commit
ipvs: no need to update skb route entry for local destination packets.
authorzhang kai <zhangkaiheb@126.com>
Mon, 30 Sep 2019 05:14:55 +0000 (13:14 +0800)
committerSimon Horman <horms@verge.net.au>
Tue, 8 Oct 2019 09:28:33 +0000 (11:28 +0200)
commit4b0970cfe41602f9d7b9fd6f600e1a69166ce6a1
tree1ee5389d168bb6a4652e126bc09a977d236ca914
parent75e03bbfefa4987dd6c0350eb1dcb96fdaf45c50
ipvs: no need to update skb route entry for local destination packets.

In the end of function __ip_vs_get_out_rt/__ip_vs_get_out_rt_v6,the
'local' variable is always zero.

Signed-off-by: zhang kai <zhangkaiheb@126.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_xmit.c