mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-19 15:33:56 +00:00
Fix breakage caused by incomplete transition to IF_HANDOFF().
Remove unused variable.
This commit is contained in:
parent
05f6ee66ea
commit
8f35015c77
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71891
@ -234,7 +234,7 @@ ef_start(struct ifnet *ifp)
|
||||
break;
|
||||
if (ifp->if_bpf)
|
||||
bpf_mtap(ifp, m);
|
||||
if (! IF_HANDOFF(&p->if_snd, m, NULL)) {
|
||||
if (! IF_HANDOFF(&p->if_snd, m, p)) {
|
||||
ifp->if_oerrors++;
|
||||
continue;
|
||||
}
|
||||
@ -320,7 +320,7 @@ static int
|
||||
ef_input(struct ifnet *ifp, struct ether_header *eh, struct mbuf *m)
|
||||
{
|
||||
u_short ether_type;
|
||||
int s, ft = -1;
|
||||
int ft = -1;
|
||||
struct ifqueue *inq;
|
||||
struct efnet *efp;
|
||||
struct ifnet *eifp;
|
||||
|
Loading…
Reference in New Issue
Block a user