cvs commit: src/sys/netinet ip_mroute.c
Bruce M Simpson
bms at FreeBSD.org
Thu May 18 12:51:34 PDT 2006
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
More information about the cvs-src
mailing list