diff options
| author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2000-08-14 16:07:54 +0000 |
|---|---|---|
| committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2000-08-14 16:07:54 +0000 |
| commit | bb12bae345028164387ebe3e2c6da39c5a9ddac9 (patch) | |
| tree | 772e07bde37b70a289b04f2c96429f8c587576f3 | |
| parent | 7375459a4813c85b54e7cf08d98af9b5e3d16ac4 (diff) | |
Notes
| -rw-r--r-- | sys/netinet6/ip6_fw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_fw.c b/sys/netinet6/ip6_fw.c index 1ec33a141ca3..53c0cc7e475e 100644 --- a/sys/netinet6/ip6_fw.c +++ b/sys/netinet6/ip6_fw.c @@ -871,7 +871,7 @@ zero_entry6(struct mbuf *m) struct ip6_fw_chain *fcp; int s; - if (m) { + if (m && m->m_len != 0) { if (m->m_len != sizeof(struct ip6_fw)) return(EINVAL); frwl = mtod(m, struct ip6_fw *); |
