From owner-cvs-all Fri Aug 3 9:51:58 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9038037B401; Fri, 3 Aug 2001 09:51:53 -0700 (PDT) (envelope-from fenner@FreeBSD.org) Received: (from fenner@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f73GprX38718; Fri, 3 Aug 2001 09:51:53 -0700 (PDT) (envelope-from fenner) Message-Id: <200108031651.f73GprX38718@freefall.freebsd.org> From: Bill Fenner Date: Fri, 3 Aug 2001 09:51:53 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_tun.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG fenner 2001/08/03 09:51:53 PDT Modified files: sys/net if_tun.c Log: Don't terminate the uiomove() loop on a zero-length mbuf. It's not particularly nice that IPSEC inserts a zero-length mbuf into the chain, and that bug should be fixed too, but interfaces should be robust to bad input. Print the interface name when TUNDEBUG()ing about dropping an mbuf. Revision Changes Path 1.97 +4 -5 src/sys/net/if_tun.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message