tcp: factorize sk_txhash init
authorEric Dumazet <edumazet@google.com>
Wed, 23 Sep 2015 03:44:17 +0000 (20:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Sep 2015 21:52:30 +0000 (14:52 -0700)
commitd8ed625044cdede8661324074aaad7459a1e3c7a
treebaa489eef4a565cf732cae57fc1df38f04eaf13a
parent729bf329c79684327a55c33cdf21222543a1e5f1
tcp: factorize sk_txhash init

Neal suggested to move sk_txhash init into tcp_create_openreq_child(),
called both from IPv4 and IPv6.

This opportunity was missed in commit 58d607d3e52f ("tcp: provide
skb->hash to synack packets")

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_minisocks.c
net/ipv6/tcp_ipv6.c