Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 2002 01:28:41 -0700 (PDT)
From:      Julian Elischer <julian@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern uipc_mbuf.c
Message-ID:  <200209190828.g8J8SfMv065815@freefall.freebsd.org>

index | next in thread | raw e-mail

julian      2002/09/19 01:28:41 PDT

  Modified files:
    sys/kern             uipc_mbuf.c 
  Log:
  While well intentionned the check to see it there is a packet
  header and return that length, was misguided.
  
  The check itself didn't take into account the fact that the
  mbuf pointer pased in may be null, and the function is
  defined specifically for cases where the caller knows what it wants.
  Rather than fix the check I'm removing it as phk suggested.
  
  Submitted by:    phk@freebsd.org
  
  Revision  Changes    Path
  1.105     +0 -3      src/sys/kern/uipc_mbuf.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



help

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