From: Wei Wang <tracyw...@gmail.com> Date: Thu, 22 Jun 2017 12:03:41 -0700
> From: Wei Wang <wei...@google.com> > > In __ip6_datagram_connect(), reset sk->sk_v6_daddr and inet->dport if > error occurs so that udp_v6_early_demux() won't consider this socket > as a valid candidate for early demux. > > v2: fix compilation error > > Signed-off-by: Wei Wang <wei...@google.com> > Acked-by: Maciej Żenczykowski <m...@google.com> Please also add a state test against TCP_ESTABLISHED in UDP v6 early demux to close this race completely. Thanks.