K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-09T12:15:40.939399Z K 7 svn:log V 554 MFC r219562: Make sure the locally cached value of rt->rt_gateway stays stable, even after dropping the reference and unlocking. Previously we have dereferenced a NULL pointer (after r121765). Simply unlocking after the block does not work either because of lock ordering (see r121765) and in addition we would still hold a pointer to something that might be gone by the time we access it. Thus take a copy of the value rather than just caching the pointer. Submitted by: chenyl (netstar2008 126.com) (initial version) PR: kern/151908 END