summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/net/if_ef.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_ef.c b/sys/net/if_ef.c
index f11fa70..d56e9c5 100644
--- a/sys/net/if_ef.c
+++ b/sys/net/if_ef.c
@@ -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;
OpenPOWER on IntegriCloud