diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2012-09-26 14:53:24 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2012-09-26 14:53:24 +0000 |
commit | 29406fae86e2db0ed2b65d941b4df825cac38a57 (patch) | |
tree | fd46af912302b522959ec366138651ea9680cb4a /sys/netinet6 | |
parent | 9f5c6dd85375c5bd1a39d6916b959a5b5db13957 (diff) |
add M_ZEROIZE as an mbuf flag, so copied PFKEY messages (with embedded keys)
are cleared as well; from hshoexer@, feedback and ok bluhm@, ok claudio@
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/nd6_rtr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/nd6_rtr.c b/sys/netinet6/nd6_rtr.c index d8ce6e06ed5..32e8246e366 100644 --- a/sys/netinet6/nd6_rtr.c +++ b/sys/netinet6/nd6_rtr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nd6_rtr.c,v 1.64 2012/09/07 09:55:18 stsp Exp $ */ +/* $OpenBSD: nd6_rtr.c,v 1.65 2012/09/26 14:53:23 markus Exp $ */ /* $KAME: nd6_rtr.c,v 1.97 2001/02/07 11:09:13 itojun Exp $ */ /* @@ -1055,7 +1055,7 @@ prelist_update(struct nd_prefix *new, struct nd_defrouter *dr, struct mbuf *m) * Authenticity for NA consists authentication for * both IP header and IP datagrams, doesn't it ? */ - auth = ((m->m_flags & M_AUTH_AH) && (m->m_flags & M_AUTH)); + auth = (m->m_flags & M_AUTH); } if ((pr = nd6_prefix_lookup(new)) != NULL) { |