diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-27 05:29:11 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-06-27 05:29:11 +0000 |
commit | 516aef15d9b9351cea549e706cbfc3ebdb1ff755 (patch) | |
tree | cafdf47e85c8353b55cbb5dca74c52909e231151 /sys/net/pfkeyv2.c | |
parent | e13e0cc15f99577acddb2317a916f349405ee961 (diff) |
Don't bzero() after doing a TAILQ_INIT()...
Diffstat (limited to 'sys/net/pfkeyv2.c')
-rw-r--r-- | sys/net/pfkeyv2.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/net/pfkeyv2.c b/sys/net/pfkeyv2.c index 283165e4239..fa97d3c529a 100644 --- a/sys/net/pfkeyv2.c +++ b/sys/net/pfkeyv2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfkeyv2.c,v 1.72 2001/06/27 04:39:30 angelos Exp $ */ +/* $OpenBSD: pfkeyv2.c,v 1.73 2001/06/27 05:29:10 angelos Exp $ */ /* * @(#)COPYRIGHT 1.1 (NRL) 17 January 1995 @@ -1517,9 +1517,8 @@ pfkeyv2_send(struct socket *socket, void *message, int len) goto ret; } - TAILQ_INIT(&ipo->ipo_acquires); - bzero(ipo, sizeof(struct ipsec_policy)); + TAILQ_INIT(&ipo->ipo_acquires); /* Finish initialization of SPD entry */ encapgw.sen_len = SENT_LEN; |