From: Wei Wang <tracyw...@gmail.com> Date: Fri, 23 Jun 2017 15:25:37 -0700
> From: Wei Wang <wei...@google.com> > > In __ip6_datagram_connect(), reset sk->sk_v6_daddr and inet->dport if > error occurs. > In udp_v6_early_demux(), check for sk_state to make sure it is in > TCP_ESTABLISHED state. > Together, it makes sure unconnected UDP socket won't be considered as a > valid candidate for early demux. > > Fixes: 5425077d73e0 ("net: ipv6: Add early demux handler for UDP unicast") > > v3: add TCP_ESTABLISHED state check in udp_v6_early_demux() > v2: fix compilation error > > Signed-off-by: Wei Wang <wei...@google.com> > Acked-by: Maciej Żenczykowski <m...@google.com> Please don't format the tag area like this, if you want to put a change log put it first. Then put all of the tags (Fixes:, Signed-off-by:, Acked-by:, etc.) together with no empty line separators, at the end. I fixed it up this time. Applied and queued up for -stable, thanks.