summaryrefslogtreecommitdiff
path: root/lib/ipset_hash_net.c
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2012-11-05 17:11:10 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2012-11-05 17:11:10 +0100
commitc52cf6000923b6a5c6416360d9425061dd19424d (patch)
treed662f19f699cf4a7749c827fe915f9334fca50d0 /lib/ipset_hash_net.c
parent5166d5b94ff93cda9182be48e82569c54357cc96 (diff)
downloadipset-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