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 retrieving revision 1.9 retrieving revision 1.10 diff -u -p -r1.9 -r1.10 --- src/sys/netinet/ip_input.c 1994/01/10 20:14:19 1.9 +++ src/sys/netinet/ip_input.c 1994/01/29 11:58:01 1.10 @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)ip_input.c 7.19 (Berkeley) 5/25/91 - * $Id: ip_input.c,v 1.9 1994/01/10 20:14:19 mycroft Exp $ + * $Id: ip_input.c,v 1.10 1994/01/29 11:58:01 brezak Exp $ */ #include @@ -279,6 +279,14 @@ next: #ifdef MROUTING extern struct socket *ip_mrouter; + if (m->m_flags & M_EXT) { + if ((m = m_pullup(m, hlen)) == 0) { + ipstat.ips_toosmall++; + goto next; + } + ip = mtod(m, struct ip *); + } + if (ip_mrouter) { /* * If we are acting as a multicast router, all