Received: by oss.sgi.com id ; Thu, 8 Feb 2001 00:09:23 -0800 Received: from asbestos.linuxcare.com.au ([203.17.0.30]:3326 "EHLO halfway") by oss.sgi.com with ESMTP id ; Thu, 8 Feb 2001 00:09:06 -0800 Received: from halfway ([127.0.0.1] helo=linuxcare.com.au ident=rusty) by halfway with esmtp (Exim 3.22 #1 (Debian)) id 14QTTs-0005Yn-00; Wed, 07 Feb 2001 23:13:52 +1100 From: Rusty Russell To: "David S. Miller" , netdev@oss.sgi.com Subject: Is mac address reference safe w/ zero copy? Date: Wed, 07 Feb 2001 23:13:51 +1100 Message-Id: Sender: owner-netdev@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;netdev-outgoing Hi Dave, et al, The following code in route.c:ip_route_input_slow() if (dev->hard_header_len) { int i; unsigned char *p = skb->mac.raw; printk(KERN_WARNING "ll header: "); for (i=0; ihard_header_len; i++, p++) { printk("%02x", *p); Is this safe w/ paged skbs? Can I assume this in the ipt_mac mac-address-matching netfilter module (which can only be called on incoming or forwarded packets)? Rusty. -- Premature optmztion is rt of all evl. --DK