Subject: Re: Calling ipf->if_input
To: None <tech-net@netbsd.org>
From: Matthias Scheler <tron@zhadum.de>
List: tech-net
Date: 11/29/1999 23:58:40
In article <81v3do$l55$1@colwyn.zhadum.de>,
	tron@zhadum.de (Matthias Scheler) writes:
> "src/sys/arch/arm32/podulebus/if_ie.c" calls "ipf->if_input" like this:
> 
>     (*ifp->if_input)(ifp, m);
>     ifp->if_ipackets++;
> 
> But "src/sys/arch/arm32/podulebus/if_ie.c" calls it like this:
> 
> 	(*ifp->if_input)(ifp, m);

Sorry, this is from "src/sys/arch/arm32/podulebus/if_eb.c" of course.

> From looking at other drivers I suppose "if_ie.c" behaves wrong here.

From another look on "src/sys/dev/pci/if_rl.c" I came to the oposite
conclusion: "if_eb.c" missbehaves.

	Kind regards

-- 
Matthias Scheler                            http://www.sighardstrasse.de/~tron/