diff options
author | 2014-07-12 18:44:22 +0000 | |
---|---|---|
committer | 2014-07-12 18:44:22 +0000 | |
commit | dd168dc2dbd0498445c205acd3a92d235cbcb6af (patch) | |
tree | 7468232c146a34628a98058ec363c774cbe975e5 /sys/netinet6/raw_ip6.c | |
parent | add a size argument to free. will be used soon, but for now default to 0. (diff) | |
download | wireguard-openbsd-dd168dc2dbd0498445c205acd3a92d235cbcb6af.tar.xz wireguard-openbsd-dd168dc2dbd0498445c205acd3a92d235cbcb6af.zip |
add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.
Diffstat (limited to 'sys/netinet6/raw_ip6.c')
-rw-r--r-- | sys/netinet6/raw_ip6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/raw_ip6.c b/sys/netinet6/raw_ip6.c index 281ddc77ba9..a8198f7e451 100644 --- a/sys/netinet6/raw_ip6.c +++ b/sys/netinet6/raw_ip6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: raw_ip6.c,v 1.66 2014/04/18 10:48:30 jca Exp $ */ +/* $OpenBSD: raw_ip6.c,v 1.67 2014/07/12 18:44:23 tedu Exp $ */ /* $KAME: raw_ip6.c,v 1.69 2001/03/04 15:55:44 itojun Exp $ */ /* @@ -651,7 +651,7 @@ rip6_usrreq(struct socket *so, int req, struct mbuf *m, struct mbuf *nam, ip6_mrouter_done(); #endif if (in6p->inp_icmp6filt) { - free(in6p->inp_icmp6filt, M_PCB); + free(in6p->inp_icmp6filt, M_PCB, 0); in6p->inp_icmp6filt = NULL; } in_pcbdetach(in6p); |