Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/netinet/raw_ip.c,v retrieving revision 1.97 retrieving revision 1.97.2.1 diff -u -p -r1.97 -r1.97.2.1 --- src/sys/netinet/raw_ip.c 2007/05/12 02:10:25 1.97 +++ src/sys/netinet/raw_ip.c 2007/09/03 10:23:46 1.97.2.1 @@ -1,4 +1,4 @@ -/* $NetBSD: raw_ip.c,v 1.97 2007/05/12 02:10:25 dyoung Exp $ */ +/* $NetBSD: raw_ip.c,v 1.97.2.1 2007/09/03 10:23:46 skrll Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -61,7 +61,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: raw_ip.c,v 1.97 2007/05/12 02:10:25 dyoung Exp $"); +__KERNEL_RCSID(0, "$NetBSD: raw_ip.c,v 1.97.2.1 2007/09/03 10:23:46 skrll Exp $"); #include "opt_inet.h" #include "opt_ipsec.h" @@ -184,7 +184,7 @@ rip_input(struct mbuf *m, ...) /* do not inject data to pcb */ } #endif /*IPSEC*/ - else if ((n = m_copy(m, 0, M_COPYALL)) != NULL) { + else if ((n = m_copypacket(m, M_DONTWAIT)) != NULL) { if (last->inp_flags & INP_CONTROLOPTS || last->inp_socket->so_options & SO_TIMESTAMP) ip_savecontrol(last, &opts, ip, n);