cvs commit: src/sys/netinet ip_divert.c ip_input.c

Brian Feldman green at FreeBSD.org
Sun Nov 16 19:17:50 PST 2003


green       2003/11/16 19:17:49 PST

  FreeBSD src repository

  Modified files:
    sys/netinet          ip_divert.c ip_input.c 
  Log:
  Fix a few cases where MT_TAG-type "fake mbufs" are created on the stack, but
  do not have mh_nextpkt initialized.  Somtimes what's there is "1", and the
  ip_input() code pukes trying to m_free() it, rendering divert sockets and
  such broken.
  This really underscores the need to get rid of MT_TAG.
  
  Reviewed by:    rwatson
  
  Revision  Changes    Path
  1.78      +1 -0      src/sys/netinet/ip_divert.c
  1.256     +2 -0      src/sys/netinet/ip_input.c


More information about the cvs-src mailing list