Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Apr 2007 10:35:09 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/compat/linux linux_socket.c
Message-ID:  <200704141035.l3EAZ96H028351@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2007-04-14 10:35:09 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/linux     linux_socket.c 
  Log:
  Some Linux applications (ping) pass a non-NULL msg_control argument to
  sendmsg() while using a 0-length msg_controllen.  This isn't allowed in
  the FreeBSD system call ABI, so detect this case and set msg_control to
  NULL.  This allows Linux ping to work.
  
  Submitted by:   rdivacky
  
  Revision  Changes    Path
  1.73      +10 -0     src/sys/compat/linux/linux_socket.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704141035.l3EAZ96H028351>