IN6_IS_ADDR_* macros use invalid type punning?

2013-06-06 Thread Matthias Andree
-- NOTE -- Please Cc: me on replies, I am not subscribed to freebsd-net. Greetings, I am just staring at gcc 4.8 warnings when compiling the try.c code shown below: $ cat try.c #include #include #include #include int f(void)

Re: IN6_IS_ADDR_* macros use invalid type punning?

2013-06-06 Thread Matthias Andree
Am 07.06.2013 01:29, schrieb Maxim Dounin: > [...] > >> try.c:9:5: warning: dereferencing type-punned pointer will break >> strict-aliasing rules [-Wstrict-aliasing] >> int r = IN6_IS_ADDR_V4MAPPED((&sin6.sin6_addr)); >> ^ >> try.c:9:5: warning: dereferencing type-punned pointer will br

Re: IPv4 socket bind using IPv6 socket on openjdk6 breaks udp send

2011-06-24 Thread Matthias Andree
Removing -java@ list because the VM is an application on top of the kernel's network stack, and the issue isn't Java-specific. Am 24.06.2011 23:11, schrieb Steven Hartland: > We're trying to get our machines IPv6 enabled but in doing so this > seems to break java apps using openjdk6 for UDP sends.

Re: IPv4 socket bind using IPv6 socket on openjdk6 breaks udp send

2011-06-27 Thread Matthias Andree
Am 25.06.2011 13:28, schrieb Steven Hartland: > > - Original Message - From: "Matthias Andree" > > > I'm adding back in -java as based on you comments it may well be > something in the jdk passing invalid values down to the kernel > syscall. >

Re: IPv4 socket bind using IPv6 socket on openjdk6 breaks udp send

2011-06-27 Thread Matthias Andree
Just so we have pointers in the public archives: alternatives to truss are strace (in ports) and ktrace/kdump; and to obtain socket statistics, try lsof (from ports, too) possibly with -i and optionally -n and/or -P option. ___ freebsd-net@freebsd.org mai

Re: netmap BUG found on big endian machine

2014-09-15 Thread Matthias Andree
Am 14.09.2014 um 18:42 schrieb Adrian Chadd: > Hi! > > Good catch! > > Would you mind filing a bug so we don't forget? > > http://bugs.freebsd.org/submit/ The proposed fix, while it might fix the immediate issue, might still not fix pointer aliasing. Perhaps there needs to be some struct or un

regression/showstopper for FreeBSD 11? Fwd: Regarding OpenVPN on FreeBSD

2016-06-02 Thread Matthias Andree
Dear release engineers, there may be a showstopper for OpenVPN on FreeBSD 11 due to routing changes, and some analysis has already happened. Comment #1 in the bug suggests it may be a new kernel bug. Please investigate and fix. Thank yo

PATCH: Makefile.inc1 r1.411 jams make installworld

2004-03-10 Thread Matthias Andree
>Submitter-Id: current-users >Originator:Matthias Andree >Organization: >Confidential: no >Synopsis: PATCH: Makefile.inc1 r1.411 jams make installworld >Severity: critical >Priority: low >Category: misc >Class: sw-bug >Rele

[Differential] D9270: Add support for user-supplied Host-Uniq tag in Netgraph PPPoE

2017-01-22 Thread mandree (Matthias Andree)
mandree added a comment. Could we have concrete examples for the added HOST-UNIQ tags, one working example per possible syntax (and possibly anonymized from ale@'s particular ISP, but maintaining syntax)? Please? REPOSITORY rS FreeBSD src repository REVISION DETAIL https://reviews.freeb