summaryrefslogtreecommitdiff
path: root/sys/net/if_pfsync.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2009-02-17 23:43:48 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2009-02-17 23:43:48 +0000
commit91e738129e3084738eff37a804bc1667fe7ba9b2 (patch)
tree3d76b44de8174a6a1fde6b4c68dccd0fa60fcfc2 /sys/net/if_pfsync.c
parent6fcf2a941bd040d45ce22df49a1cd7c08eb3ec71 (diff)
init the tdb tailq. hopefully this fixes sthens crash.
Diffstat (limited to 'sys/net/if_pfsync.c')
-rw-r--r--sys/net/if_pfsync.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if_pfsync.c b/sys/net/if_pfsync.c
index 9691708938a..84a099ea354 100644
--- a/sys/net/if_pfsync.c
+++ b/sys/net/if_pfsync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pfsync.c,v 1.104 2009/02/17 20:59:29 chl Exp $ */
+/* $OpenBSD: if_pfsync.c,v 1.105 2009/02/17 23:43:47 dlg Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff
@@ -271,6 +271,8 @@ pfsync_clone_create(struct if_clone *ifc, int unit)
TAILQ_INIT(&sc->sc_deferrals);
sc->sc_deferred = 0;
+ TAILQ_INIT(&sc->sc_tdb_q);
+
sc->sc_len = PFSYNC_MINPKT;
sc->sc_maxupdates = 128;