]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: replace dst_confirm with sk_dst_confirm
authorJulian Anastasov <ja@ssi.bg>
Mon, 6 Feb 2017 21:14:14 +0000 (23:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Feb 2017 18:07:46 +0000 (13:07 -0500)
commitd4e364c500cca675ed1380b409351395e9198302
treee7d955ab2ffde6bb88cf6b3c69ea41a4841e6d9f
parente839d8539022e1d7771fa03e4229c128eee61bd9
tcp: replace dst_confirm with sk_dst_confirm

When same struct dst_entry can be used for many different
neighbours we can not use it for pending confirmations.
Use the new sk_dst_confirm() helper to propagate the
indication from received packets to sock_confirm_neigh().

Reported-by: YueHaibing <yuehaibing@huawei.com>
Fixes: a7c2301bf4ca ("net: Do delayed neigh confirmation.")
Fixes: 50ab9bbc57a6 ("ipv4: Cache output routes in fib_info nexthops.")
Tested-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c
net/ipv4/tcp_metrics.c
net/ipv4/tcp_output.c