Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Mar 2007 13:19:03 +0000 (UTC)
From:      Bruce M Simpson <bms@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netinet ip_output.c
Message-ID:  <200703081319.l28DJ3IT075765@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bms         2007-03-08 13:19:03 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/netinet          ip_output.c 
  Log:
  MFC rev 1.270:
    Fix undirected broadcast sends for the case where SO_DONTROUTE has also
    been set at the socket layer, in our somewhat convoluted IPv4 source
    selection logic in ip_output().
  
    IP_ONESBCAST is actually a special case of SO_DONTROUTE, as 255.255.255.255
    must always be delivered on a local link with a TTL of 1.
  
    If IP_ONESBCAST has been set at the socket layer, also perform destination
    interface lookup for point-to-point interfaces based on the destination
    address of the link; previously it was not possible to use the option with
    such interfaces; also, the destination/broadcast address fields map to the
    same field within struct ifnet, which doesn't help matters.
  
  Reviewed by:    andre
  
  Revision    Changes    Path
  1.242.2.18  +14 -11    src/sys/netinet/ip_output.c



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