diff options
author | luigi <luigi@FreeBSD.org> | 1999-02-19 18:32:55 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 1999-02-19 18:32:55 +0000 |
commit | fd3fec48014ad97346e4c5f1f527574d04ab0496 (patch) | |
tree | e8453e2d015542e136a47f922fef69125ed1418b /sys/netinet | |
parent | 6843e9e8a73e73f80d800cd910d6331b94b1cc1c (diff) | |
download | FreeBSD-src-fd3fec48014ad97346e4c5f1f527574d04ab0496.zip FreeBSD-src-fd3fec48014ad97346e4c5f1f527574d04ab0496.tar.gz |
avoid panic with pkts larger than MTU and DF set coming out of a pipe.
Diffstat (limited to 'sys/netinet')
-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 a180e40..0a05ee9 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ip_output.c 8.3 (Berkeley) 1/21/94 - * $Id: ip_output.c,v 1.84 1998/12/14 18:09:13 luigi Exp $ + * $Id: ip_output.c,v 1.85 1998/12/21 21:36:40 luigi Exp $ */ #define _IP_VHL @@ -158,7 +158,7 @@ ip_output(m0, opt, ro, flags, imo) * they are used to hold ifp and hlen and NULL, respectively. */ rule = (struct ip_fw_chain *)(m->m_data) ; - m = m->m_next ; + m0 = m = m->m_next ; free(tmp_m, M_IPFW); ip = mtod(m, struct ip *); dst = (struct sockaddr_in *)&ro->ro_dst; |