]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: Get a proper dst before checking it.
authorTonghao Zhang <xiangxia.m.yue@gmail.com>
Tue, 22 Aug 2017 06:33:48 +0000 (23:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Aug 2017 21:16:12 +0000 (14:16 -0700)
commit48d4b181685aa710cfb6e7297efad0fc1cbfccfa
treeb70519195d31fe81e102648b33e82dda981237f3
parent78248be46c09b0507118691ab156fd8f0ba69c7a
tcp: Get a proper dst before checking it.

tcp_peer_is_proven needs a proper route to make the
determination, but dst always is NULL. This bug may
be there at the beginning of git tree. This does not
look serious enough to deserve backports to stable
versions.

Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c