osmo_sock_init/getaddrinfo not working for GRE/SOCKET_RAW

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Pablo Neira Ayuso pablo at gnumonks.org
Sun Jan 13 23:25:37 UTC 2013


On Sun, Jan 13, 2013 at 01:24:13AM +0100, Holger Hans Peter Freyther wrote:
> On Sun, Jan 13, 2013 at 12:30:33AM +0100, Pablo Neira Ayuso wrote:
> 
> > Just filed the bug to glibc, you can track it here:
> > 
> > http://sourceware.org/bugzilla/show_bug.cgi?id=15015
> > 
> > Sorry for lagging with this.
> 
> thanks! any idea of a non ugly work-around. Even if it is glibc bug,
> and it will be fixed.. RHEL, Debian 6.0 will unlikely patch it.

Attached a workaround patch. It's a bit of cheating, but it allows us
to obtain the address information from the kernel, which is what you
need. As Peter mentioned, let's find a fast path to resolve this until
some fix lands on glibc.

Let me know!

Regards.


More information about the OpenBSC mailing list