net: diag: support v4mapped sockets in inet_diag_find_one_icsk()
authorEric Dumazet <edumazet@google.com>
Thu, 21 Jan 2016 00:25:01 +0000 (16:25 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Jan 2016 02:51:31 +0000 (18:51 -0800)
commit7c1306723ee916ea9f1fa7d9e4c7a6d029ca7aaf
treeab78b25e98d97ed90395a182a48a3986db9d7c5c
parentce87fc6ce3f9f4488546187e3757cf666d9d4a2a
net: diag: support v4mapped sockets in inet_diag_find_one_icsk()

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 <lorenzo@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_diag.c