Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id f7KG4P024023 for netdev-outgoing; Mon, 20 Aug 2001 09:04:25 -0700 Received: from localhost (pc3-oxfo3-0-cust1.oxf.cable.ntl.com [213.107.68.1]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id f7KG4Nj24019 for ; Mon, 20 Aug 2001 09:04:24 -0700 Received: from ian by localhost with local (Exim 3.22 #1 (Debian)) id 15YrXM-0000C4-00; Mon, 20 Aug 2001 17:04:24 +0100 Date: Mon, 20 Aug 2001 17:04:24 +0100 From: Ian Lynagh To: netdev@oss.sgi.com Subject: Re: Problems with corruption sending packets from a module Message-ID: <20010820170424.A713@stu163.keble.ox.ac.uk> References: <20010818174650.A21733@stu163.keble.ox.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <20010818174650.A21733@stu163.keble.ox.ac.uk>; from igloo@earth.li on Sat, Aug 18, 2001 at 05:46:50PM +0100 Sender: owner-netdev@oss.sgi.com Precedence: bulk Content-Length: 427 Lines: 14 On Sat, Aug 18, 2001 at 05:46:50PM +0100, Ian Lynagh wrote: > > skb->data = p->data; In case someone is reading the archives and has a similar problem, this appears to be the cause of the trouble. If I do skb->data += sizeof(struct ethhdr); then it's fine. I guess I ought to be using skb_reserve really and not have the ethhdr in my struct. It seems to work regardless if the destination is not in the arp cache. Ian