Skip to content
Commit 14956643 authored by Li RongQing's avatar Li RongQing Committed by David S. Miller
Browse files

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: default avatarLi RongQing <roy.qing.li@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9e641bdc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment