angler-fishThe Vulnerability History Project

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>
    
commit 4895c771c7f006b4b90f9d6b1d2210939ba57b38
-18
-23
+31 -225
expand_less