]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 201131
authorqingli <qingli@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 2 Apr 2010 04:58:17 +0000 (04:58 +0000)
committerqingli <qingli@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 2 Apr 2010 04:58:17 +0000 (04:58 +0000)
commit2a5217fbc1e84a98afbff2a2cd99ccfe3b16a5e7
tree4a16b9de115c99d5d5e26e6ec9b0910e6aa41930
parent25cd6a7930b3b99aba50d90f93195001c869199d
MFC 201131

introduce a local variable rte acting as a cache of ro->ro_rt
within ip_output, achieving (in random order of importance):
- a reduction of the number of 'r's in the source code;
- improved legibility;
- a reduction of 64 bytes in the .text

git-svn-id: svn://svn.freebsd.org/base/stable/8@206066 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/netinet/ip_output.c