netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lutz Jaenicke <ljaenicke@innominate.com>
To: netfilter-devel@vger.kernel.org
Subject: Proposed fix for getaddrinfo() issue
Date: Wed, 25 May 2011 14:16:25 +0200	[thread overview]
Message-ID: <1306325786-16849-1-git-send-email-ljaenicke@innominate.com> (raw)

The proposed patch provides a solution for the issue of getaddrinfo()
failing to resolv numeric port numbers if neither the socket type
or the protocol have been provided.
Observed with uClibc, other libraries may or may not have this
issue:
  http://gitorious.org/0xdroid/bionic/blobs/9ab75d4cc803e91b7f1b656ffbe2ad32c52a86f9/libc/netbsd/net/getaddrinfo.c
  -> look for "ANDROID-SPECIFIC CHANGE TO MATCH GLIBC" :-)

Comments are welcome.
  [PATCH] Provide family and protocol to make getaddrinfo happy

             reply	other threads:[~2011-05-25 12:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-25 12:16 Lutz Jaenicke [this message]
2011-05-25 12:16 ` [PATCH] Provide family and protocol to make getaddrinfo happy Lutz Jaenicke
2011-05-25 12:31   ` Jan Engelhardt
2011-05-25 13:26     ` Lutz Jaenicke
2011-05-25 13:41       ` Jan Engelhardt
2011-05-25 14:06         ` Lutz Jaenicke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1306325786-16849-1-git-send-email-ljaenicke@innominate.com \
    --to=ljaenicke@innominate.com \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).