[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/48606: ether_input() incorrectly called from several drivers
>Synopsis: ether_input() incorrectly called from several drivers
>Arrival-Date: Fri Feb 21 01:45:00 +0000 2014
>Originator: Lloyd Parkes
Must Have Coffee
Several network interface drivers call ether_input() to pass a packet that has
been received up the network stack. This is not the right way to do it, they
should be calling ifp->if_input(ifp, m) instead. ifp->if_input is normally a
pointer to ether_input(), but it doesn't have to be.
Either change the code to call ifp->if_input() or add a call to ifp->if_input()
that is protected by #if.
Main Index |
Thread Index |