Source-Changes archive

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

CVS commit: [netbsd-9] src/sys



Module Name:    src
Committed By:   martin
Date:           Thu Sep  5 08:28:06 UTC 2019

Modified Files:
        src/sys/net [netbsd-9]: rtsock.c
        src/sys/netinet6 [netbsd-9]: nd6.c nd6_nbr.c

Log Message:
Pull up following revision(s) (requested by roy in ticket #168):

        sys/net/rtsock.c: revision 1.252
        sys/netinet6/nd6_nbr.c: revision 1.168 - 1.172
        sys/netinet6/nd6.c: revision 1.262

inet6: Send RTM_MISS when we fail to resolve an address.

Takes the same approach as when adding a new address - we no longer
announce the new lladdr right away but we announce the result.

This will either be RTM_ADD or RTM_MISS.
RTM_DELETE is only sent if we have a lladdr assigned OR gc'ed.

This results in less messages via route(4) and tells us when a new
lladdr has been added (RTM_ADD), changed (RTM_CHANGE), deleted
(RTM_DELETED) or has failed to been resolved (RTM_MISS).

The latter case can be interpreted as unreachable.

inet6: change rt_announce and llchange to bool in nd6_na_input()
more bool


To generate a diff of this commit:
cvs rdiff -u -r1.250.2.1 -r1.250.2.2 src/sys/net/rtsock.c
cvs rdiff -u -r1.256.2.4 -r1.256.2.5 src/sys/netinet6/nd6.c
cvs rdiff -u -r1.166.2.1 -r1.166.2.2 src/sys/netinet6/nd6_nbr.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