DragonFly commits List (threaded) for 2004-04
cvs commit: src/sys/emulation/linux linux_socket.c
dillon 2004/04/04 17:06:02 PDT
DragonFly src repository
Quake 3 server (running under linux emulation) was failing with odd '
Protocol not available' errors. The problem turned out to be the internal
IP_HDRINCL check that the linux emulation code in the kernel was doing in
linux_sendto(). If the internal check fails with an error, the emulation
code should simply assume that IP_HDRINCL is off rather then return the error.
The bug was introduced during the syscall separation work on this module.
FreeBSD-4.x properly ignores the error. This patch restores behavior for
Reported-by: Sascha Wildner <saw@xxxxxxxxx>
Revision Changes Path
1.17 +2 -3 src/sys/emulation/linux/linux_socket.c