]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: Add FIB nexthop exceptions.
authorDavid S. Miller <davem@davemloft.net>
Tue, 17 Jul 2012 11:19:00 +0000 (04:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jul 2012 15:48:50 +0000 (08:48 -0700)
commit6a83356234ec72c2e9daa13dec14971f3e8edb30
tree66b132799e33a215b88bf3945965fefa7a0cde24
parent46bc1ad77231c9c101472272aac8f7669369265e
ipv4: Add FIB nexthop exceptions.

In a regime where we have subnetted route entries, we need a way to
store persistent storage about destination specific learned values
such as redirects and PMTU values.

This is implemented here via nexthop exceptions.

The initial implementation is a 2048 entry hash table with relaiming
starting at chain length 5.  A more sophisticated scheme can be
devised if that proves necessary.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_fib.h
net/ipv4/fib_semantics.c
net/ipv4/route.c