Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: kernel/2923: Ethernet drivers "always" calls if_attach() with ifp->if_addrlen == 0

From: Daniel Hartmeier <daniel(at)benzedrine.cx>
Date: Thu Nov 07 2002 - 18:39:38 EST


The following reply was made to PR kernel/2923; it has been noted by GNATS.

From: Daniel Hartmeier <daniel@benzedrine.cx> To: bigfoot@astrakan.hig.se
Cc: gnats@openbsd.org
Subject: Re: kernel/2923: Ethernet drivers "always" calls if_attach() with ifp->if_addrlen == 0 Date: Fri, 8 Nov 2002 00:08:40 +0100

 On Wed, Sep 18, 2002 at 10:27:14AM +0200, bigfoot@astrakan.hig.se wrote:  

> Ethernet drivers (the ones that I've looked at) calls if_attach()
 

 if_alloc() doesn't use if_addrlen, did you mean if_alloc_sadl()? That is  generally called after if_addrlen has been set, for instance from  ether_ifattach().  

 Can you show a possible code flow that uses if_addrlen before it's set?  

 Daniel Received on Thu Nov 7 19:01:40 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:29:37 EDT

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library