summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2007-06-15 22:23:33 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2007-06-15 22:23:33 +0000
commit0e41ce659bd87a83b65bedcd2a733a38e99db41b (patch)
tree3988c4a0731e8b80bf1b84f8ae44679b3b8c411f
parent76507741ab06b468ea2597570691523613602e15 (diff)
Notes
-rw-r--r--sys/netipsec/ipsec_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netipsec/ipsec_input.c b/sys/netipsec/ipsec_input.c
index 3cd7f11ecd32..b98e1c88d31d 100644
--- a/sys/netipsec/ipsec_input.c
+++ b/sys/netipsec/ipsec_input.c
@@ -445,7 +445,7 @@ ipsec4_common_input_cb(struct mbuf *m, struct secasvar *sav,
tdbi->spi = sav->spi;
m_tag_prepend(m, mtag);
- } else {
+ } else if (mt != NULL) {
mt->m_tag_id = PACKET_TAG_IPSEC_IN_DONE;
/* XXX do we need to mark m_flags??? */
}