#ifdef CONFIG_IP_ROUTE_MULTIPATH #define FIB_RES_NH(res) ((res).fi->fib_nh[(res).nh_sel]) #define FIB_TABLE_HASHSZ 2 #else /* CONFIG_IP_ROUTE_MULTIPATH */ #define FIB_RES_NH(res) ((res).fi->fib_nh[0]) #define FIB_TABLE_HASHSZ 256 #endif /* CONFIG_IP_ROUTE_MULTIPATH */ There is a confuse macro definition about the FIB_TABLE_HASHSZ. This mistake can generate an error, but will affect performance.
This has been fixed for nearly 2 months: commit 5b9e12dbf92b441b37136ea71dac59f05f2673a9 Author: Denis V. Lunev <den@openvz.org> Date: Wed Mar 13 00:24:15 2013 +0000 ipv4: fix definition of FIB_TABLE_HASHSZ