]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: fix definition of FIB_TABLE_HASHSZ
authorDenis V. Lunev <den@openvz.org>
Wed, 13 Mar 2013 00:24:15 +0000 (00:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Mar 2013 14:47:09 +0000 (10:47 -0400)
commit54ad090396867d0be2204a21fb42ba7dd1b11563
tree5baf8daeb69c7b1fa82ff355bba038bbc1556990
parent817fd6528cb59a9b447a5c8e26a019ea95c02b1a
ipv4: fix definition of FIB_TABLE_HASHSZ

a long time ago by the commit

  commit b93aadbd0927f24455c0fbe3fbdbe28096967e01
  Author: Denis V. Lunev <den@openvz.org>
  Date:   Thu Jan 10 03:23:38 2008 -0800

    [IPV4]: Unify access to the routing tables.

the defenition of FIB_HASH_TABLE size has obtained wrong dependency:
it should depend upon CONFIG_IP_MULTIPLE_TABLES (as was in the original
code) but it was depended from CONFIG_IP_ROUTE_MULTIPATH

This patch returns the situation to the original state.

The problem was spotted by Tingwei Liu.

Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Tingwei Liu <tingw.liu@gmail.com>
CC: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_fib.h