summaryrefslogtreecommitdiff
path: root/libc/inet/formquery.c
diff options
context:
space:
mode:
authorAlexander Komyagin <komyagin@altell.ru>2012-04-04 12:58:37 +0400
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-04-17 12:16:46 +0200
commit777aef50973bc3a20db8d9545494e8abb86a692e (patch)
treecb400b8953a7c36730ce8465dd7b40489a7d02f5 /libc/inet/formquery.c
parent97214b87d6317d75e9a7f6dd69148724c2675e4b (diff)
getaddrinfo(): avoid call to __check_pf() when not needed
__check_pf() function is called from getaddrinfo() and it calls getifaddrs(), which is too much overhead especially if RSBAC-Net is enabled. So with this patch __check_pf() is being called only when AI_ADDRCONFIG hint flag is specified - just when we really need that check. Signed-off-by: Alexander Komyagin <komyagin@altell.ru> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/inet/formquery.c')
0 files changed, 0 insertions, 0 deletions