summaryrefslogtreecommitdiffstats
path: root/sys/net/if_ef.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_ef.c')
-rw-r--r--sys/net/if_ef.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/if_ef.c b/sys/net/if_ef.c
index 616be9f..c8ae300 100644
--- a/sys/net/if_ef.c
+++ b/sys/net/if_ef.c
@@ -325,6 +325,7 @@ ef_input(struct ifnet *ifp, struct ether_header *eh, struct mbuf *m)
int isr;
ether_type = ntohs(eh->ether_type);
+ l = NULL;
if (ether_type < ETHERMTU) {
l = mtod(m, struct llc*);
if (l->llc_dsap == 0xff && l->llc_ssap == 0xff) {
OpenPOWER on IntegriCloud