Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 1999 15:23:26 -0500 (EST)
From:      Larry Lile <lile@stdio.com>
To:        Julian Elischer <julian@whistle.com>
Cc:        hackers@FreeBSD.ORG
Subject:   NFS Alignment? was (Re: Why did this panic?)
Message-ID:  <Pine.BSF.4.05.9902091519290.14147-100000@heathers.stdio.com>
In-Reply-To: <Pine.BSF.3.95.990209113256.5802E-100000@current1.whistle.com>

next in thread | previous in thread | raw e-mail | index | archive | help

By the way, is the "m->m_data += 2;" still a neccesary evil to
apease NFS?  I have always seen it in drivers but I never understood
why it was there or if I really needed to follow it.  

from if_ed.c: 2727-2732

        /*
         * The +2 is to longword align the start of the real packet.
         * This is important for NFS.
         */
        m->m_data += 2;
        eh = mtod(m, struct ether_header *);

Larry Lile
lile@stdio.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9902091519290.14147-100000>