summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2009-03-17 05:06:55 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2009-03-17 05:06:55 +0000
commit44fbe7a6daeeb5883ceb8abb993c448187ecedc2 (patch)
tree9b958ce71fb64ad78dc8758b2383860efa984418
parent66a01f5dc048013e7a931affbd8d7108fa96da5b (diff)
we do know how to handle iack. in the rx path at least.
-rw-r--r--sys/net/if_pfsync.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/net/if_pfsync.c b/sys/net/if_pfsync.c
index 2ffc7275205..4f592cb7665 100644
--- a/sys/net/if_pfsync.c
+++ b/sys/net/if_pfsync.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pfsync.c,v 1.116 2009/03/15 19:40:41 miod Exp $ */
+/* $OpenBSD: if_pfsync.c,v 1.117 2009/03/17 05:06:54 dlg Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff
@@ -842,12 +842,8 @@ pfsync_in_iack(struct pfsync_pkt *pkt, struct mbuf *m, int offset, int count)
pfsync_deferred(st, 0);
}
splx(s);
- /*
- * XXX this is not yet implemented, but we know the size of the
- * message so we can skip it.
- */
- return (count * sizeof(struct pfsync_ins_ack));
+ return (len);
}
int