Date: Sun, 11 Mar 2001 14:18:01 -0800 (PST) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet ip_output.c Message-ID: <200103112218.f2BMI1r77458@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2001/03/11 14:18:01 PST Modified files: (Branch: RELENG_4) sys/netinet ip_output.c Log: MFC: 1.122->1.223 Set up `ia' properly for dummynet packets to avoid dereferencing an unitialised pointer. This change includes some over-defensive checks not present in the patch applied to -current; we set `ia' to NULL at the start of ip_output(), check that the dummynet route is non-NULL, and that `ia' is non-NULL before it is dereferenced. This are just safety measures which can be removed when the per-ifaddr stats code has had a bit more testing time in -current. Approved by: jkh Revision Changes Path 1.99.2.13 +9 -5 src/sys/netinet/ip_output.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103112218.f2BMI1r77458>