summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2011-07-05 22:28:44 +0000
committerbluhm <bluhm@openbsd.org>2011-07-05 22:28:44 +0000
commit818e894b06f116f5d6d98d8523360a5429d110bb (patch)
treef26fb0985f258320013047c840bd5c2cca3a2f27
parentInstead of passing the ip header and mbuf to pf_reassemble(), lookup (diff)
downloadwireguard-openbsd-818e894b06f116f5d6d98d8523360a5429d110bb.tar.xz
wireguard-openbsd-818e894b06f116f5d6d98d8523360a5429d110bb.zip
Explicitly reserve space for special ICMP6 headers in pf_hdrs, like
it was done for pf_headers in pf.c. ok mcbride@ henning@
-rw-r--r--sys/net/if_pflog.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if_pflog.c b/sys/net/if_pflog.c
index 392d2b10f56..bcc4790da4f 100644
--- a/sys/net/if_pflog.c
+++ b/sys/net/if_pflog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pflog.c,v 1.35 2011/06/20 19:03:41 claudio Exp $ */
+/* $OpenBSD: if_pflog.c,v 1.36 2011/07/05 22:28:44 bluhm Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -283,6 +283,8 @@ pflog_bpfcopy(const void *src_arg, void *dst_arg, size_t len)
struct icmp icmp;
#ifdef INET6
struct icmp6_hdr icmp6;
+ struct mld_hdr mld;
+ struct nd_neighbor_solicit nd_ns;
#endif /* INET6 */
} pf_hdrs;