summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2007-05-19 05:29:05 +0000
committerRobert Watson <rwatson@FreeBSD.org>2007-05-19 05:29:05 +0000
commit4ce71ef71861c9878ba10f245202183fa984ee8b (patch)
tree335b1727971ddd969bc5b03f5b9a19b3c27a2d92
parenta7e2f06359becceb1681eb800c9cbba4b023b017 (diff)
Notes
-rw-r--r--sys/net/if_fwsubr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_fwsubr.c b/sys/net/if_fwsubr.c
index a39f194f8253..c5008eede15f 100644
--- a/sys/net/if_fwsubr.c
+++ b/sys/net/if_fwsubr.c
@@ -517,6 +517,8 @@ firewire_input(struct ifnet *ifp, struct mbuf *m, uint16_t src)
}
m = m_pullup(m, sizeof(uint32_t));
+ if (m == NULL)
+ return;
enc = mtod(m, union fw_encap *);
/*