cvs commit: src/sys/netgraph ng_ksocket.c

Bruce M Simpson bms at FreeBSD.org
Sun Mar 4 14:54:03 UTC 2007


bms         2007-03-04 14:54:02 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/netgraph         ng_ksocket.c 
  Log:
  MFC rev 1.60:
    In the output path, mask off M_BCAST|M_MCAST so as to prevent incorrect
    addressing if a packet is later re-encapsulated and sent to a
    non-broadcast, non-multicast destination after being received on the
    ng_ksocket input hook.
  
  These mbuf flags should not be set on the mbuf packet header chain until
  the data thus sent re-enters ip_output() by way of the pru_sosend callback
  anyway.
  
  PR:             106999
  Tested by:      ume
  Submitted by:   Kevin Lahey
  
  Revision  Changes    Path
  1.55.2.4  +3 -0      src/sys/netgraph/ng_ksocket.c


More information about the cvs-src mailing list