Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/netinet6



Module Name:    src
Committed By:   dyoung
Date:           Mon Oct 29 16:54:44 UTC 2007

Modified Files:
        src/sys/netinet6: icmp6.c ip6_input.c ip6_var.h route6.c

Log Message:
The IPv6 stack labels incoming packets with an m_tag whose payload
is a struct ip6aux.  A struct ip6aux used to contain a pointer to
an in6_ifaddr, but that pointer could become a dangling reference
in the lifetime of the m_tag, because ip6_setdstifaddr() did not
increase the in6_ifaddr's reference count.  I have removed the
pointer from ip6aux.  I load it with the interesting fields from
the in6_ifaddr (an IPv6 address, a scope ID, and some flags),
instead.


To generate a diff of this commit:
cvs rdiff -r1.138 -r1.139 src/sys/netinet6/icmp6.c
cvs rdiff -r1.111 -r1.112 src/sys/netinet6/ip6_input.c
cvs rdiff -r1.45 -r1.46 src/sys/netinet6/ip6_var.h
cvs rdiff -r1.20 -r1.21 src/sys/netinet6/route6.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index