Source-Changes archive

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

CVS commit: src/sys/net



Module Name:    src
Committed By:   dyoung
Date:           Mon Jan 21 09:11:24 UTC 2008

Modified Files:
        src/sys/net: route.c route.h

Log Message:
In rtflushall(), do not clear a route cache by removing its rtentry
reference, but mark the cache 'invalid'.  Let the next user of the
route cache check to whether or not the cache is valid, and update
the rtentry reference if necessary.  In this way, avoid hairy
splnet()/splx() protection of route caches, which I never did trust.


To generate a diff of this commit:
cvs rdiff -r1.104 -r1.105 src/sys/net/route.c
cvs rdiff -r1.64 -r1.65 src/sys/net/route.h

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