Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 1999 16:26:23 -0700 (PDT)
From:      Archie Cobbs <archie@whistle.com>
To:        des@flood.ping.uio.no (Dag-Erling Smorgrav)
Cc:        bright@rush.net, des@flood.ping.uio.no, brian@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/net if_tun.c
Message-ID:  <199907262326.QAA75509@bubba.whistle.com>
In-Reply-To: <xzpg12b8iao.fsf@flood.ping.uio.no> from Dag-Erling Smorgrav at "Jul 26, 99 06:52:47 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smorgrav writes:
> Alfred Perlstein <bright@rush.net> writes:
> > I still think it's an error to write a zero length packet to the
> > tun device
> 
> Why? I can't see any reason why it should be an error. Just ignore it
> silently.

I agree.. /dev/tun0 is inherently frame oriented, just like, eg,
a synchronous HDLC card. It's perfectly valid (though usually
meaningless) to send a zero length HDLC frame. There's nothing
special about the number zero.

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


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




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