From owner-freebsd-bugs Fri Feb 14 09:20:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA16860 for bugs-outgoing; Fri, 14 Feb 1997 09:20:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA16835; Fri, 14 Feb 1997 09:20:03 -0800 (PST) Resent-Date: Fri, 14 Feb 1997 09:20:03 -0800 (PST) Resent-Message-Id: <199702141720.JAA16835@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, trm@i-planet.com Received: from i-planet.i-planet.com (iplanet-T1-gw.mv.best.net [206.86.192.226]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA16771 for ; Fri, 14 Feb 1997 09:19:04 -0800 (PST) Received: (from trm@localhost) by i-planet.i-planet.com (8.8.5/8.8.5) id JAA18235; Fri, 14 Feb 1997 09:23:52 -0800 (PST) Message-Id: <199702141723.JAA18235@i-planet.i-planet.com> Date: Fri, 14 Feb 1997 09:23:52 -0800 (PST) From: "Tom Mueller" Reply-To: trm@i-planet.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/2733: TUNMTU limits MRU in tun device even if mtu set Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 2733 >Category: misc >Synopsis: TUNMTU limits MRU in tun device even if mtu set >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 14 09:20:01 PST 1997 >Last-Modified: >Originator: "Tom Mueller" >Organization: i-Planet, Inc. >Release: FreeBSD 2.1-STABLE i386 >Environment: 2.1 kernel built with the tun driver (if_tun.c) >Description: The TUNMTU variable in if_tun.h is used to initialize the value of if_mtu in the tun driver and to limit the size of incoming packets in the tunwrite function. The TUNSIFINFO ioctl can be used to set the value of if_mtu to something different from TUNMTU, but TUNMTU is still used to limit the size of incoming packets. It seems that the tunwrite function should use if_mtu to limit incoming packet size rather than TUNMTU. >How-To-Repeat: This problem can be seen using the user level ppp program (iij-ppp) when the mru is set to greater than the value of TUNMTU. >Fix: Change TUNMTU to ifp->if_mtu in the tunwrite function. >Audit-Trail: >Unformatted: