From owner-freebsd-bugs@FreeBSD.ORG Fri Mar 12 07:50:22 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3329016A4DC for ; Fri, 12 Mar 2004 07:50:22 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DA0343D2F for ; Fri, 12 Mar 2004 07:50:22 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2CFoLbv054078 for ; Fri, 12 Mar 2004 07:50:21 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2CFoLka054077; Fri, 12 Mar 2004 07:50:21 -0800 (PST) (envelope-from gnats) Resent-Date: Fri, 12 Mar 2004 07:50:21 -0800 (PST) Resent-Message-Id: <200403121550.i2CFoLka054077@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Antonio Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC10316A4CE for ; Fri, 12 Mar 2004 07:43:59 -0800 (PST) Received: from curie.dit.upm.es (curie.dit.upm.es [138.4.7.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3681C43D31 for ; Fri, 12 Mar 2004 07:43:59 -0800 (PST) (envelope-from atd@curie.dit.upm.es) Received: from curie.dit.upm.es (localhost [127.0.0.1]) by curie.dit.upm.es (8.12.10/8.12.10) with ESMTP id i2CGhsm9000949; Fri, 12 Mar 2004 17:43:54 +0100 (CET) (envelope-from atd@curie.dit.upm.es) Received: (from atd@localhost) by curie.dit.upm.es (8.12.10/8.12.10/Submit) id i2CGhrua000948; Fri, 12 Mar 2004 17:43:53 +0100 (CET) (envelope-from atd) Message-Id: <200403121643.i2CGhrua000948@curie.dit.upm.es> Date: Fri, 12 Mar 2004 17:43:53 +0100 (CET) From: Antonio Tapiador del Dujo To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: atd@dit.upm.es Subject: kern/64167: [patch] IPFilter IPv6 fastroute - MTU bug X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Antonio List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 15:50:22 -0000 >Number: 64167 >Category: kern >Synopsis: [patch] IPFilter IPv6 fastroute - MTU bug >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 12 07:50:19 PST 2004 >Closed-Date: >Last-Modified: >Originator: Antonio Tapiador del Dujo >Release: FreeBSD 5.2.1-RELEASE >Organization: DIT - UPM >Environment: System: FreeBSD x.dit.upm.es 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #8: Fri Mar 12 16:09:48 CET 2004 root@x.dit.upm.es:/usr/src/sys/i386/compile/MH-2 i386 IP Filter: v3.4.31 >Description: Using ipfilter IPv6 fastroute on rl0 to gif0: (moving packets to IPv6 over IPv6 tunnel interface) fails. In /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c, function fastroute6, line 2022, ND_IFINFO(ifp)->linkmtu gives 0 mtu size >How-To-Repeat: Creating an IPv6oIPv6 tunnel and setting ipfilter ipv6 rule like: pass out on rl0 to gif0: from ::/80 to any >Fix: Remplacing ND_IFINFO(ifp)->linkmtu with IN6_LINKMTU(ifp) gives the correct mtu value >Release-Note: >Audit-Trail: >Unformatted: