On Wed, Jan 20, 2016 at 4:25 PM, Eric Dumazet <[email protected]> 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 <[email protected]> > Signed-off-by: Eric Dumazet <[email protected]>
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 <[email protected]>
