kernel_optimize_test/net
David S. Miller 1fc050a134 ipv4: Cache source address in nexthop entries.
When doing output route lookups, we have to select the source address
if the user has not specified an explicit one.

First, if the route has an explicit preferred source address
specified, then we use that.

Otherwise we search the route's outgoing interface for a suitable
address.

This search can be precomputed and cached at route insertion time.

The only missing part is that we have to refresh this precomputed
value any time addresses are added or removed from the interface, and
this is accomplished by fib_update_nh_saddrs().

Signed-off-by: David S. Miller <davem@davemloft.net>
2011-03-07 20:54:48 -08:00
..
9p
802
8021q
appletalk
atm
ax25
batman-adv
bluetooth
bridge
caif
can
ceph
core net: allow handlers to be processed for orig_dev 2011-03-07 15:37:16 -08:00
dcb
dccp
decnet
dns_resolver
dsa
econet
ethernet
ieee802154
ipv4 ipv4: Cache source address in nexthop entries. 2011-03-07 20:54:48 -08:00
ipv6 mcast: net_device dev not used 2011-03-07 15:51:13 -08:00
ipx
irda
iucv
key
l2tp
lapb
llc
mac80211
netfilter
netlabel
netlink
netrom
packet af_packet: struct socket declared/assigned but unused 2011-03-07 15:51:13 -08:00
phonet
rds
rfkill
rose
rxrpc
sched
sctp sctp: several declared/set but unused fixes 2011-03-07 15:51:14 -08:00
sunrpc
tipc
unix af_unix: remove unused struct sockaddr_un cruft 2011-03-07 15:51:14 -08:00
wanrouter
wimax
wireless
x25
xfrm
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE