diff options
author | 2015-06-30 15:30:17 +0000 | |
---|---|---|
committer | 2015-06-30 15:30:17 +0000 | |
commit | 8990c937a609129c385a209e32d8f7097c194f7a (patch) | |
tree | e69a1b7812f76f61e4a444f8aebb0ddcbc2e42f2 /sys/netinet6/raw_ip6.c | |
parent | Rename if_output() into if_enqueue() to avoid confusion with comments (diff) | |
download | wireguard-openbsd-8990c937a609129c385a209e32d8f7097c194f7a.tar.xz wireguard-openbsd-8990c937a609129c385a209e32d8f7097c194f7a.zip |
Get rid of the undocumented & temporary* m_copy() macro added for
compatibility with 4.3BSD in September 1989.
*Pick your own definition for "temporary".
ok bluhm@, claudio@, dlg@
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 0003bd65627..d3d8bb33440 100644 --- a/sys/netinet6/raw_ip6.c +++ b/sys/netinet6/raw_ip6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: raw_ip6.c,v 1.75 2015/06/16 11:09:40 mpi Exp $ */ +/* $OpenBSD: raw_ip6.c,v 1.76 2015/06/30 15:30:17 mpi Exp $ */ /* $KAME: raw_ip6.c,v 1.69 2001/03/04 15:55:44 itojun Exp $ */ /* @@ -183,7 +183,7 @@ rip6_input(struct mbuf **mp, int *offp, int proto) } if (last) { struct mbuf *n; - if ((n = m_copy(m, 0, (int)M_COPYALL)) != NULL) { + if ((n = m_copym(m, 0, M_COPYALL, M_NOWAIT)) != NULL) { if (last->inp_flags & IN6P_CONTROLOPTS) ip6_savecontrol(last, n, &opts); /* strip intermediate headers */ |