ipv4: Don't store a rule pointer in fib_result.
authorDavid S. Miller <davem@davemloft.net>
Fri, 13 Jul 2012 15:21:29 +0000 (08:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Jul 2012 15:21:29 +0000 (08:21 -0700)
commit85b91b0339e764f7e56ff5968fa10d85451378b4
tree539c368948900b35ee8d474829724a796b482d44
parentd01cb20711e3c2df41677ee270d6bdeff24e9902
ipv4: Don't store a rule pointer in fib_result.

We only use it to fetch the rule's tclassid, so just store the
tclassid there instead.

This also decreases the size of fib_result by a full 8 bytes on
64-bit.  On 32-bits it's a wash.

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