diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2012-11-05 17:11:10 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2012-11-05 17:11:10 +0100 |
commit | c52cf6000923b6a5c6416360d9425061dd19424d (patch) | |
tree | d662f19f699cf4a7749c827fe915f9334fca50d0 /lib/ipset_hash_net.c | |
parent | 5166d5b94ff93cda9182be48e82569c54357cc96 (diff) | |
download | ipset-c52cf6000923b6a5c6416360d9425061dd19424d.tar.gz |
Use gethostbyname2 instead of getaddrinfo
In newer glibc, getaddrinfo issues an extra system call to kernel,
which slows down ipset. Replace getaddrinfo with gethostbyname2,
where possible.
Diffstat (limited to 'lib/ipset_hash_net.c')
0 files changed, 0 insertions, 0 deletions