diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-12-18 19:57:08 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-12-18 19:57:08 +0000 |
commit | b92d2a9c5bf893779637dacc74d199c45d9f4902 (patch) | |
tree | c1a36cc1917c41fccb8997af63a33ac4dec8ac2c /sys | |
parent | 998660b643e5a8c2e473112481ac00fad0fcc89b (diff) |
Fix kernel panic involving multicast packet (patch different from the
one provided by pavlin@catarina.usc.edu)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ip_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index b4fd49f41ec..5554630d20d 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_output.c,v 1.57 1999/12/10 08:55:23 angelos Exp $ */ +/* $OpenBSD: ip_output.c,v 1.58 1999/12/18 19:57:07 angelos Exp $ */ /* $NetBSD: ip_output.c,v 1.28 1996/02/13 23:43:07 christos Exp $ */ /* @@ -1701,7 +1701,7 @@ ip_mloopback(ifp, m, dst) register struct ip *ip; struct mbuf *copym; - copym = m_copy(m, 0, M_COPYALL); + copym = m_copym2(m, 0, M_COPYALL, M_DONTWAIT); if (copym != NULL) { /* * We don't bother to fragment if the IP length is greater |