Subject: Re: CVS commit: syssrc
To: None <bad@netbsd.org>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-net
Date: 05/29/1999 18:04:27
On Sat, 29 May 1999 17:39:08 -0700 (PDT) 
 Christoph Badura <bad@netbsd.org> wrote:

 > Modified Files:
 > 	syssrc/sys/net: if_token.h if_tokensubr.c
 > 	syssrc/sys/netinet: if_arp.c
 > 
 > Log Message:
 > Fix thinko of mine in previous.  The source route info is not at m->m_data
 > after various m_adj()s have been done.  Kludge around this with a cheesy
 > macro that knows where the drivers put the mac header in the first mbuf.
 > 
 > XXX There should be a better way to do this.

There is... make ETHERTYPE_ARP packets NOT m_adj() the header/routing
info.  Then let the ARP code adjust it as necessary.

I mean, why not use the *_input() changes I made to your advantage? :-)

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>