Date: Fri, 31 Dec 2010 21:47:11 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet ip_output.c Message-ID: <201012312147.oBVLlbtg079741@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bz 2010-12-31 21:47:11 UTC
FreeBSD src repository
Modified files:
sys/netinet ip_output.c
Log:
SVN rev 216857 on 2010-12-31 21:47:11Z by bz
Try to catch a possible divide-by-zero as early as possible if "mtu" is 0
(also test for negative MTUs if checking it anyway).
An MTU of 0 is arguably a bug elsewhere, but this at least gives us some
more debugging hints.
Sponsored by: ISPsystem (Early 2010)
MFC after: 1 week
Revision Changes Path
1.328 +3 -0 src/sys/netinet/ip_output.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012312147.oBVLlbtg079741>
