From owner-cvs-src@FreeBSD.ORG Sat Apr 24 15:24:48 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C593F16A4CE; Sat, 24 Apr 2004 15:24:48 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7FE543D48; Sat, 24 Apr 2004 15:24:48 -0700 (PDT) (envelope-from luigi@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i3OMOmGe033236; Sat, 24 Apr 2004 15:24:48 -0700 (PDT) (envelope-from luigi@repoman.freebsd.org) Received: (from luigi@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i3OMOmpK033235; Sat, 24 Apr 2004 15:24:48 -0700 (PDT) (envelope-from luigi) Message-Id: <200404242224.i3OMOmpK033235@repoman.freebsd.org> From: Luigi Rizzo Date: Sat, 24 Apr 2004 15:24:48 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/net if.c if_vlan.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Apr 2004 22:24:48 -0000 luigi 2004/04/24 15:24:48 PDT FreeBSD src repository Modified files: sys/net if.c if_vlan.c Log: arpcom untangling: consistently with the rest of the code, use IFP2AC(ifp) to access the arpcom structure given the ifp. In this case also fix a difference in assumptions WRT the rest of the net/ sources: it is not the 'struct *softc' that starts with a 'struct arpcom', but a 'struct arpcom' that starts with a 'struct ifnet' Revision Changes Path 1.191 +2 -2 src/sys/net/if.c 1.58 +1 -1 src/sys/net/if_vlan.c