From owner-freebsd-stable@FreeBSD.ORG Thu Feb 2 08:37:29 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1912316A423; Thu, 2 Feb 2006 08:37:29 +0000 (GMT) (envelope-from dave@bluefir.org) Received: from milligan.bluefir.org (milligan.bluefir.org [66.159.200.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C00B43D46; Thu, 2 Feb 2006 08:37:26 +0000 (GMT) (envelope-from dave@bluefir.org) Received: by milligan.bluefir.org (Postfix, from userid 1001) id 78BAA228C3; Thu, 2 Feb 2006 00:39:20 -0800 (PST) Date: Thu, 2 Feb 2006 00:39:20 -0800 From: David Wilhelm To: Oleg Bulyzhin Message-ID: <20060202083920.GA22515@milligan.bluefir.org> References: <43DB8EA6.7070503@metro.cx> <20060128211710.GA29790@lath.rinet.ru> <43DBED3F.3000408@metro.cx> <20060128230015.GC29790@lath.rinet.ru> <43DCCAA8.4050600@metro.cx> <20060131090912.GA88914@lath.rinet.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060131090912.GA88914@lath.rinet.ru> User-Agent: Mutt/1.4.2.1i Cc: Koen Martens , darrenr@freebsd.org, glebius@freebsd.org, freebsd-stable@freebsd.org Subject: Re: ipfilter + bge strangeness X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 08:37:29 -0000 On Tue, Jan 31, 2006 at 12:09:13PM +0300, Oleg Bulyzhin wrote: > Could you please test attached patch? > This patch enables 'full' rxcsum offloading so ipfilter's bug should not be > triggered. FYI, the patch works for me; the checksum errors still show in tcpdump, but ipfilter doesn't choke on them anymore. Pinging www.freebsd.org with RXCSUM/TXCSUM and ipf enabled, the reply comes back successfully. buster# tcpdump -nvi bge0 tcpdump: listening on bge0, link-type EN10MB (Ethernet), capture size 96 bytes 00:20:42.119079 IP (tos 0x0, ttl 64, id 20, offset 0, flags [none], proto: UDP (17), length: 61, bad cksum 0 (->a959)!) 192.168.1.3.64638 > 66.51.205.100.53: 3410+ A? www.freebsd.org. (33) 00:20:42.191639 IP (tos 0x0, ttl 59, id 9827, offset 0, flags [DF], proto: UDP (17), length: 239) 66.51.205.100.53 > 192.168.1.3.64638: 3410 1/5/3 www.freebsd.org. A 216.136.204.117 (211) 00:20:42.191785 IP (tos 0x0, ttl 64, id 21, offset 0, flags [none], proto: ICMP (1), length: 84, bad cksum 0 (->13eb)!) 192.168.1.3 > 216.136.204.117: ICMP echo request, id 9475, seq 0, length 64 00:20:42.255294 IP (tos 0x0, ttl 55, id 23125, offset 0, flags [none], proto: ICMP (1), length: 84) 216.136.204.117 > 192.168.1.3: ICMP echo reply, id 9475, seq 0, length 64 00:20:43.193215 IP (tos 0x0, ttl 64, id 22, offset 0, flags [none], proto: ICMP (1), length: 84, bad cksum 0 (->13ea)!) 192.168.1.3 > 216.136.204.117: ICMP echo request, id 9475, seq 1, length 64 00:20:43.253293 IP (tos 0x0, ttl 55, id 23798, offset 0, flags [none], proto: ICMP (1), length: 84) 216.136.204.117 > 192.168.1.3: ICMP echo reply, id 9475, seq 1, length 64 ^C 6 packets captured 6 packets received by filter 0 packets dropped by kernel Thanks, Oleg.