From owner-freebsd-hackers Tue May 9 7:46:52 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from anchor-post-33.mail.demon.net (anchor-post-33.mail.demon.net [194.217.242.91]) by hub.freebsd.org (Postfix) with ESMTP id 4A7B437BE64 for ; Tue, 9 May 2000 07:46:38 -0700 (PDT) (envelope-from n_hibma@calcaphon.com) Received: from calcaphon.demon.co.uk ([193.237.19.5] helo=bluebottle.qubesoft.com) by anchor-post-33.mail.demon.net with esmtp (Exim 2.12 #1) id 12pBHN-00086Z-0X; Tue, 9 May 2000 15:46:34 +0100 Received: from henny.webweaving.org (henny.qubesoft.com [192.168.1.5]) by bluebottle.qubesoft.com (8.9.3/8.9.1) with ESMTP id PAA66264; Tue, 9 May 2000 15:46:32 +0100 (BST) (envelope-from n_hibma@calcaphon.com) Received: from localhost (localhost [127.0.0.1]) by henny.webweaving.org (8.9.3/8.9.3) with ESMTP id PAA62950; Tue, 9 May 2000 15:43:22 +0100 (BST) (envelope-from n_hibma@calcaphon.com) Date: Tue, 9 May 2000 15:43:22 +0100 (BST) From: Nick Hibma X-Sender: n_hibma@localhost Reply-To: Nick Hibma To: Steve Ames Cc: FreeBSD Hackers Mailing List Subject: Re: in_cksum changes break IPSEC? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The patch below should fix it for you. -- n_hibma@webweaving.org n_hibma@freebsd.org USB project http://www.etla.net/~n_hibma/ ---------- Forwarded message ---------- Date: Tue, 9 May 2000 12:49:16 +0100 (BST) From: Nick Hibma To: Jonathan Lemon Cc: cvs-committers@freebsd.org Subject: Re: cvs commit: src/sys/alpha/alpha in_cksum.c src/sys/alpha/include in_cksum.h src/sys/i386/i386 in_cksum.c src/sys/i386/include in_cksum.h The following patch makes LINT compile again. Could you commit it if you agree? Thanks. su-2.03# cvs diff Index: fil.c =================================================================== RCS file: /home/ncvs/src/sys/netinet/fil.c,v retrieving revision 1.11 diff -w -u -r1.11 fil.c --- fil.c 2000/05/01 20:13:50 1.11 +++ fil.c 2000/05/09 11:49:10 @@ -87,6 +87,8 @@ #endif #include "netinet/ipl.h" +#include "machine/in_cksum.h" + #ifndef _KERNEL # include "ipf.h" # include "ipt.h" Index: ip_fil.c =================================================================== RCS file: /home/ncvs/src/sys/netinet/ip_fil.c,v retrieving revision 1.14 diff -w -u -r1.14 ip_fil.c --- ip_fil.c 2000/02/10 21:29:09 1.14 +++ ip_fil.c 2000/05/09 11:49:33 @@ -114,6 +114,8 @@ extern int ip_optcopy __P((struct ip *, struct ip *)); #endif +#include "machine/in_cksum.h" + extern struct protosw inetsw[]; On Sat, 6 May 2000, Jonathan Lemon wrote: > jlemon 2000/05/06 11:18:33 PDT > > Modified files: > sys/alpha/alpha in_cksum.c > sys/alpha/include in_cksum.h > sys/i386/i386 in_cksum.c > sys/i386/include in_cksum.h > Log: > Make in_cksum() a macro call to in_cksum_skip(), since it provides the > same functionality. Sharing code should help cache issues. > > Remove in_cksum_partial, since its not being used, and we now have > a way to compute partial checksums on mbuf chains. > > Revision Changes Path > 1.4 +1 -33 src/sys/alpha/alpha/in_cksum.c > 1.5 +3 -4 src/sys/alpha/include/in_cksum.h > 1.20 +1 -344 src/sys/i386/i386/in_cksum.c > 1.9 +3 -4 src/sys/i386/include/in_cksum.h > > -- n_hibma@webweaving.org n_hibma@freebsd.org USB project http://www.etla.net/~n_hibma/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message