kernel_optimize_test/net
Julian Anastasov 97a8041020 ipv4: some rt_iif -> rt_route_iif conversions
As rt_iif represents input device even for packets
coming from loopback with output route, it is not an unique
key specific to input routes. Now rt_route_iif has such role,
it was fl.iif in 2.6.38, so better to change the checks at
some places to save CPU cycles and to restore 2.6.38 semantics.

compare_keys:
	- input routes: only rt_route_iif matters, rt_iif is same
	- output routes: only rt_oif matters, rt_iif is not
		used for matching in __ip_route_output_key
	- now we are back to 2.6.38 state

ip_route_input_common:
	- matching rt_route_iif implies input route
	- compared to 2.6.38 we eliminated one rth->fl.oif check
	because it was not needed even for 2.6.38

compare_hash_inputs:
	Only the change here is not an optimization, it has
	effect only for output routes. I assume I'm restoring
	the original intention to ignore oif, it was using fl.iif
	- now we are back to 2.6.38 state

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-08-11 05:58:59 -07:00
..
9p
802
8021q
appletalk
atm
ax25
batman-adv
bluetooth
bridge net/bridge/netfilter/ebtables.c: use available error handling code 2011-08-11 05:52:57 -07:00
caif
can
ceph
core scm: Capture the full credentials of the scm sender 2011-08-11 05:52:57 -07:00
dcb
dccp net: Compute protocol sequence numbers and fragment IDs using MD5. 2011-08-06 18:33:19 -07:00
decnet
dns_resolver
dsa
econet
ethernet
ieee802154
ipv4 ipv4: some rt_iif -> rt_route_iif conversions 2011-08-11 05:58:59 -07:00
ipv6 tcp: initialize variable ecn_ok in syncookies path 2011-08-10 21:59:57 -07:00
ipx
irda
iucv
key
l2tp
lapb
llc
mac80211
netfilter netfilter: avoid double free in nf_reinject 2011-08-07 22:11:15 -07:00
netlabel net/netlabel/netlabel_kapi.c: add missing cleanup code 2011-08-11 05:52:57 -07:00
netlink
netrom
nfc
packet
phonet
rds
rfkill
rose
rxrpc
sched net_sched: prio: use qdisc_dequeue_peeked 2011-08-09 21:52:11 -07:00
sctp
sunrpc
tipc
unix
wanrouter
wimax
wireless
x25
xfrm
compat.c
Kconfig
Makefile
nonet.c
socket.c net: Fix security_socket_sendmsg() bypass problem. 2011-08-05 03:31:03 -07:00
sysctl_net.c