kernel_optimize_test/net
David S. Miller 35ebf65e85 ipv4: Create and use fib_compute_spec_dst() helper.
The specific destination is the host we direct unicast replies to.
Usually this is the original packet source address, but if we are
responding to a multicast or broadcast packet we have to use something
different.

Specifically we must use the source address we would use if we were to
send a packet to the unicast source of the original packet.

The routing cache precomputes this value, but we want to remove that
precomputation because it creates a hard dependency on the expensive
rpfilter source address validation which we'd like to make cheaper.

There are only three places where this matters:

1) ICMP replies.

2) pktinfo CMSG

3) IP options

Now there will be no real users of rt->rt_spec_dst and we can simply
remove it altogether.

Signed-off-by: David S. Miller <davem@davemloft.net>
2012-06-28 03:59:11 -07:00
..
9p
802
8021q
appletalk
atm
ax25
batman-adv batman-adv: fix global TT entry deletion 2012-06-25 23:54:32 -07:00
bluetooth
bridge netfilter: ebt_ulog: Move away from NLMSG_PUT(). 2012-06-26 21:23:42 -07:00
caif
can
ceph
core net: skb_free_datagram_locked() doesnt drop all packets 2012-06-27 15:40:57 -07:00
dcb
dccp
decnet netlink: Get rid of obsolete rtnetlink macros 2012-06-27 15:36:44 -07:00
dns_resolver
dsa
ethernet
ieee802154 6lowpan: double unlock on an error path 2012-06-27 01:16:45 -07:00
ipv4 ipv4: Create and use fib_compute_spec_dst() helper. 2012-06-28 03:59:11 -07:00
ipv6 net: skb_free_datagram_locked() doesnt drop all packets 2012-06-27 15:40:57 -07:00
ipx
irda
iucv
key
l2tp
lapb
llc
mac80211
mac802154 mac802154: add monitor listener to TX datapath 2012-06-26 21:06:33 -07:00
netfilter netfilter: nfnetlink_queue_core: Move away from NLMSG_PUT(). 2012-06-26 21:35:27 -07:00
netlabel
netlink
netrom
nfc
openvswitch
packet net: added support for 40GbE link. 2012-06-27 15:42:24 -07:00
phonet
rds
rfkill
rose
rxrpc
sched pkt_sched: sch_api: Move away from NLMSG_NEW(). 2012-06-26 21:54:15 -07:00
sctp
sunrpc net: skb_free_datagram_locked() doesnt drop all packets 2012-06-27 15:40:57 -07:00
tipc
unix unix_diag: Do not use RTA_PUT() macros 2012-06-27 15:36:43 -07:00
wanrouter
wimax
wireless
x25
xfrm xfrm_user: Propagate netlink error codes properly. 2012-06-27 21:57:03 -07:00
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c