]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6edf42389260003340a8eabf2895b4656b3aaee5
treeab78b25e98d97ed90395a182a48a3986db9d7c5c
parent05898f69021e25be8506036f895b16db852c866e
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