inet_diag: switch to inet_pton() for translation
commit65f46737ad5641841a5e5a89f4651d160dacffc0
authorEric Wong <normalperson@yhbt.net>
Sat, 12 Mar 2011 20:56:16 +0000 (12 12:56 -0800)
committerEric Wong <normalperson@yhbt.net>
Sat, 12 Mar 2011 20:56:51 +0000 (12 20:56 +0000)
treeefba2424e0e1ac6a5afd07292a0b90f7cf62ea1c
parentc478549ea7490de2432ed31ffee37a2bfc1d24f3
inet_diag: switch to inet_pton() for translation

getaddrinfo() needs to get a list of available interfaces
from the kernel with every single call (since ipv6 could've
been modprobed), so it's a waste of syscalls.
ext/raindrops/linux_inet_diag.c