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/ip_input.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/netinet/ip_input.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.130.2.8 retrieving revision 1.130.2.9 diff -u -p -r1.130.2.8 -r1.130.2.9 --- src/sys/netinet/ip_input.c 2002/04/01 07:48:36 1.130.2.8 +++ src/sys/netinet/ip_input.c 2002/05/04 19:51:50 1.130.2.9 @@ -1,4 +1,4 @@ -/* $NetBSD: ip_input.c,v 1.130.2.8 2002/04/01 07:48:36 nathanw Exp $ */ +/* $NetBSD: ip_input.c,v 1.130.2.9 2002/05/04 19:51:50 thorpej Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -102,7 +102,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.130.2.8 2002/04/01 07:48:36 nathanw Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.130.2.9 2002/05/04 19:51:50 thorpej Exp $"); #include "opt_gateway.h" #include "opt_pfil_hooks.h" @@ -616,7 +616,7 @@ ip_input(struct mbuf *m) #ifdef MROUTING extern struct socket *ip_mrouter; - if (m->m_flags & M_EXT) { + if (M_READONLY(m)) { if ((m = m_pullup(m, hlen)) == 0) { ipstat.ips_toosmall++; return;