Date: Thu, 18 May 2006 19:51:08 +0000 (UTC) From: Bruce M Simpson <bms@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet ip_mroute.c Message-ID: <200605181951.k4IJp88f097877@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bms 2006-05-18 19:51:08 UTC FreeBSD src repository Modified files: sys/netinet ip_mroute.c Log: Initialize the new members of struct ip_moptions as a defensive programming measure. Note that whilst these members are not used by the ip_output() path, we are passing an instance of struct ip_moptions here which is declared on the stack (which could be considered a bad thing). ip_output() does not consume struct ip_moptions, but in case it does in future, declare an in_multi vector on the stack too to behave more like ip_findmoptions() does. Revision Changes Path 1.118 +4 -0 src/sys/netinet/ip_mroute.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605181951.k4IJp88f097877>