From: Shaohua Li <s...@kernel.org> Date: Fri, 17 Nov 2017 10:24:49 -0800
> From: Shaohua Li <s...@fb.com> > > Hi, > > Please see below tcpdump output: ... > The tcp reset packet has a different flowlabel, which causes our router > doesn't correctly close tcp connection. We are using flowlabel to do > load balance. Routers in the path maintain connection state. So if flow > label changes, the packet is routed through a different router. In this > case, the old router doesn't get the reset packet to close the tcp > connection. > > The reason is the normal packet gets the skb->hash from sk->sk_txhash, > which is generated randomly. ip6_make_flowlabel then uses the hash to > create a flowlabel. The reset packet doesn't get assigned a hash, so the > flowlabel is calculated with flowi6. > > The patches fix the issue. Please resubmit this when the net-next tree opens back up as it is closed right now, thank you.