]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteae07e8eb84c624d39dc874c09d75d0c7efb1aef
treebaa489eef4a565cf732cae57fc1df38f04eaf13a
parentd1626d1124cd65909549334f70b4f9493c5c7427
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 a75b22aaa10e ("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