On 4/17/17 5:24 PM, Subash Abhinov Kasiviswanathan wrote: > David Ahern reported that 5425077d73e0c ("net: ipv6: Add early demux > handler for UDP unicast") breaks udp_l3mdev_accept=0 since early > demux for IPv6 UDP was doing a generic socket lookup which does not > require an exact match. Fix this by making UDPv6 early demux match > connected sockets only. > > v1->v2: Take reference to socket after match as suggested by Eric > > Fixes: 5425077d73e0c ("net: ipv6: Add early demux handler for UDP unicast") > Reported-by: David Ahern <d...@cumulusnetworks.com> > Signed-off-by: Subash Abhinov Kasiviswanathan <subas...@codeaurora.org> > Cc: Eric Dumazet <eduma...@google.com> > --- > net/ipv6/udp.c | 23 ++++++++++++++--------- > 1 file changed, 14 insertions(+), 9 deletions(-)
Besides adding the comment before the break, this looks fine to me. Acked-by: David Ahern <d...@cumulusnetworks.com> Tested-by: David Ahern <d...@cumulusnetworks.com> If the only change for v3 is the comment before the break, please keep the above with the new patch.