cvs commit: src/sys/emulation/linux linux_socket.c

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Apr 4 17:06:10 PDT 2004


dillon      2004/04/04 17:06:02 PDT

DragonFly src repository

  Modified files:
    sys/emulation/linux  linux_socket.c 
  Log:
  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
  DFly.
  
  Reported-by: Sascha Wildner <saw at xxxxxxxxx>
  
  Revision  Changes    Path
  1.17      +2 -3      src/sys/emulation/linux/linux_socket.c


http://www.dragonflybsd.org/cvsweb/src/sys/emulation/linux/linux_socket.c.diff?r1=1.16&r2=1.17&f=h





More information about the Commits mailing list