]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: slight optimization in ip6_dst_gc
authorLi RongQing <roy.qing.li@gmail.com>
Mon, 19 May 2014 09:30:28 +0000 (17:30 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 May 2014 19:52:23 +0000 (15:52 -0400)
commit671d60c6c19ab00a50544666d1a1854ccc026c48
treef6b0f68e05a15105ba15931e122fc6395e05e76e
parent362175c56988cbf92655d90cc92b4efa11e89a9a
ipv6: slight optimization in ip6_dst_gc

entries is always greater than rt_max_size here, since if entries is less
than rt_max_size, the fib6_run_gc function will be skipped

Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c