Source-Changes archive

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

CVS commit: src/sys



Module Name:    src
Committed By:   itojun
Date:           Wed Dec 10 11:46:33 UTC 2003

Modified Files:
        src/sys/net: if.c if.h
        src/sys/netinet: ip_output.c
        src/sys/netinet6: in6.c in6_src.c ip6_mroute.c ip6_output.c nd6_rtr.c

Log Message:
use if_indexlim (instead of if_index) and ifindex2ifnet[x] != NULL
to check if interface exists, as (1) if_index has different meaning
(2) ifindex2ifnet could become NULL when interface gets destroyed,
since when we have introduced dynamically-created interfaces.  from kame


To generate a diff of this commit:
cvs rdiff -r1.136 -r1.137 src/sys/net/if.c
cvs rdiff -r1.94 -r1.95 src/sys/net/if.h
cvs rdiff -r1.128 -r1.129 src/sys/netinet/ip_output.c
cvs rdiff -r1.83 -r1.84 src/sys/netinet6/in6.c
cvs rdiff -r1.17 -r1.18 src/sys/netinet6/in6_src.c
cvs rdiff -r1.59 -r1.60 src/sys/netinet6/ip6_mroute.c
cvs rdiff -r1.73 -r1.74 src/sys/netinet6/ip6_output.c
cvs rdiff -r1.46 -r1.47 src/sys/netinet6/nd6_rtr.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