summaryrefslogtreecommitdiff
path: root/privs.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-09-08 09:37:27 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-09-08 09:37:27 +0200
commit0c564e103d8240a997ee43965fa749bf816ea486 (patch)
tree4e1e6969fdff3036f6fcef49b85e30a16e9b5d9a /privs.h
parente46767f61986d982501ec59233fabddc2876f63d (diff)
build: Change return type of main in configure compile test programs
When running the configure script with `CC=clang ./configure' clang fails all the compile test programs due to the main() function not having return type int. Change it, so we can use clang as a compiler in the configure script. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'privs.h')
0 files changed, 0 insertions, 0 deletions
routes handling Ido says: The kernel can store several FIB aliases that share the same prefix and length. These aliases can differ in other parameters such as TOS and metric, which are taken into account during lookup. Offloading devices might not have the same flexibility, allowing only a single route with the same prefix and length to be reflected. mlxsw is one such device. This patchset aims to correctly handle this situation in the mlxsw driver. The first four patches introduce small changes in the IPv4 FIB code, so that listeners of the FIB notification chain will be able to correctly handle identical routes. The last three patches build on top of previous work and introduce the necessary changes in the mlxsw driver. The biggest change is the introduction of a FIB node, where identical routes are chained, instead of a primitive reference counting. This is explained in detail in the fifth patch. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/fib_trie.c42
1 files changed, 22 insertions, 20 deletions
diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c