Thread (3 messages) flat view 3 messages, 3 authors, 2016-01-21

Re: [PATCH net] net: diag: support v4mapped sockets in inet_diag_find_one_icsk()

From: Lorenzo Colitti <hidden>
Date: 2016-01-21 02:37:42

On Wed, Jan 20, 2016 at 4:25 PM, Eric Dumazet [off-list ref] 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 <redacted>
Signed-off-by: Eric Dumazet <edumazet@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 <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help