From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 13689 invoked from network); 24 Feb 1999 05:36:39 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 24 Feb 1999 05:36:39 -0000 Received: from mail.op.net (d-bm4-1f.ppp.op.net [209.152.194.127]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id AAA25005 for ; Wed, 24 Feb 1999 00:36:22 -0500 Received: (from rbowles@localhost) by mail.op.net (8.8.7/8.8.7) id AAA00814 for axp-list@redhat.com; Wed, 24 Feb 1999 00:51:25 -0500 Message-ID: <19990224005125.A777@op.net> Date: Wed, 24 Feb 1999 00:51:25 -0500 From: Robert Bowles To: axp-list@redhat.com Subject: Re: [patches] :) Reply-To: rbowles@infonautics.com References: <19990223211716.B18379@csee.wvu.edu> <19990224001055.D927@op.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 In-Reply-To: <19990224001055.D927@op.net>; from Robert Bowles on Wed, Feb 24, 1999 at 12:10:55AM -0500 X-host-platform: Linux noname 2.2.2 #41 Wed Feb 24 00:12:09 EST 1999 alpha unknown Running it with the patch right now... :) Thanks again to Daniel for isolating the "offending sections". As for the socket filtering, I stumbled across this message on the LKML. The theory here seems to hold water... (think I'll cram it in tomorrow, time permitting) Dr. Werner Fink (werner@suse.de) Tue, 23 Feb 1999 15:54:09 +0100 > [2.2.2] The difference between sk_filter and sock_filter? > > Hi, > > there is trouble with the option CONFIG_FILTER. The structure > sk_filter used with patch 2.2.2 isn't defined in any header. Only the > struct sock_filter is given in include/linux/filter.h. > It looks like sk_filter and sock_filter are different structures because > the sk_run_filter call in include/net/sock.h uses the entries insns and > len of that new structure. That means something like > > struct sk_filter { > unsigned short len; > atomic_t refcnt; > struct sock_filter *insns; > } > > Besides this the change of sk_run_filter() in net/core/filter.c > wasn't ported to include/linux/filter.h. > The (inlined) function sk_filter_len() is missed (calculate the > real length out of the numbers of blocks used??). > And some macros are missed: SKF_NET_OFF, SKF_LL_OFF, SKF_AD_OFF, > SKF_AD_PROTOCOL, SKF_AD_PKTTYPE, and SKF_AD_IFINDEX. > > Werner Looks like Alpha isn't the only arch with problems. --