Re: UDP multicast packet loss not reported if TX ring overrun?
From: Christoph Lameter <hidden>
Date: 2009-08-25 13:45:34
From: Christoph Lameter <hidden>
Date: 2009-08-25 13:45:34
On Tue, 25 Aug 2009, Eric Dumazet wrote:
Thread model: posix gcc version 4.4.1 (GCC) # pwd /opt/src/lldiag-0.14 # make gcc -Wall -omcast mcast.c -lrt -lm mcast.c: In function ?set_ip?: mcast.c:121: warning: implicit declaration of function ?htons? mcast.c: In function ?build_pattern_array?: mcast.c:168: warning: implicit declaration of function ?htonl? /tmp/cc4sYCDr.o: In function `lock': mcast.c:(.text+0xcad): undefined reference to `__sync_fetch_and_add_4' collect2: ld returned 1 exit status make: *** [mcast] Error 1 I have no idea where is defined sync_fetch_and_add
Its a GCC builtin for x86 sigh. Ok will put out 0.15 that disables their use by default.