kernel_optimize_test/net
Allan Stephens 7dd1bf28cc tipc: Optimizations & corrections to message rejection
Optimizes the creation of a returned payload message by duplicating
the original message and then updating the small number of fields
that need to be adjusted, rather than building the new message header
from scratch. In addition, certain operations that are not always
required are relocated so that they are only done if needed.

These optimizations also have the effect of addressing other issues
that were present previously:

1) Fixes a bug that caused the socket send routines to return the
size of the returned message, rather than the size of the sent
message, when a returnable payload message was sent to a non-existent
destination port.

2) The message header of the returned message now matches that of
the original message more closely. The header is now always the same
size as the original header, and some message header fields that
weren't being initialized in the returned message header are now
populated correctly -- namely the "d" and "s" bits, and the upper
bound of a multicast name instance (where present).

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2011-06-24 16:18:15 -04:00
..
9p
802
8021q
appletalk
atm
ax25
batman-adv
bluetooth
bridge
caif
can
ceph
core ip: introduce ip_is_fragment helper inline function 2011-06-21 20:33:34 -07:00
dcb dcb: use nlmsg_free() instead of kfree() 2011-06-23 03:14:42 -07:00
dccp
decnet
dns_resolver
dsa
econet
ethernet
ieee802154
ipv4 ip: introduce ip_is_fragment helper inline function 2011-06-21 20:33:34 -07:00
ipv6
ipx
irda
iucv
key
l2tp
lapb
llc
mac80211
netfilter ip: introduce ip_is_fragment helper inline function 2011-06-21 20:33:34 -07:00
netlabel
netlink
netrom
packet
phonet
rds
rfkill
rose
rxrpc
sched ip: introduce ip_is_fragment helper inline function 2011-06-21 20:33:34 -07:00
sctp
sunrpc
tipc tipc: Optimizations & corrections to message rejection 2011-06-24 16:18:15 -04:00
unix
wanrouter
wimax
wireless
x25
xfrm
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE