cvs commit: src/sys/netinet raw_ip.c

Christian S.J. Peron csjp at FreeBSD.org
Thu Feb 3 19:22:07 PST 2005


csjp        2005-02-04 03:22:06 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/netinet          raw_ip.c 
  Log:
  MFC netinet/raw_ip.c v.144
  
  fix up socket/ip layer violation...  don't assume/know that
  SO_DONTROUTE == IP_ROUTETOIF and SO_BROADCAST == IP_ALLOWBROADCAST
  
  This appears to fix a bug where under certain conditions sendto(2)
  will fail with EHOSTUNREACH (No route to host) while sending data
  to machines on the local network via raw sockets.
  
  Revision   Changes    Path
  1.142.2.4  +2 -1      src/sys/netinet/raw_ip.c


More information about the cvs-all mailing list