On Wed, Jan 20, 2016 at 4:25 PM, Eric Dumazet <eric.duma...@gmail.com> wrote: > Lorenzo reported that we could not properly find v4mapped sockets > in inet_diag_find_one_icsk(). This patch fixes the issue. > > Reported-by: Lorenzo Colitti <lore...@google.com> > Signed-off-by: Eric Dumazet <eduma...@google.com>
This fixes the problem for me. I tested that SOCK_DESTROY (which uses inet_diag_find_one_icsk) can successfully find/close the following AF_INET6 sockets: - Listen sockets bound to either :: or ::ffff:0.0.0.0 - Accepted IPv4 connections on sockets bound to either :: or ::ffff:0.0.0.0 - Active IPv4 connections Acked-by: Lorenzo Colitti <lore...@google.com>