linux-stable-rt/net
Allan Stephens 1f9eda7e2b [TIPC]: Enhancements to msg_set_bits() routine
This patch makes two enhancements to msg_set_bits():

1) It now ignores any bits of the new field value that are not
   covered by the mask being used.  (Previously, if the new value
   exceeded the size of the mask the extra bits could corrupt
   other fields in the message header word being updated.)

2) The code has been optimized to minimize the number of run-time
   endianness conversion operations by leveraging the fact that the
   mask (and, in some cases, the value as well) is constant and the
   necessary conversion can be performed by the compiler.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Jon Paul Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-04-25 22:29:49 -07:00
..
802 [NET]: cleanup extra semicolons 2007-04-25 22:29:24 -07:00
8021q [NET]: cleanup extra semicolons 2007-04-25 22:29:24 -07:00
appletalk
atm [SK_BUFF]: Introduce skb_copy_to_linear_data{_offset} 2007-04-25 22:28:29 -07:00
ax25 [NET]: cleanup extra semicolons 2007-04-25 22:29:24 -07:00
bluetooth [NET]: cleanup extra semicolons 2007-04-25 22:29:24 -07:00
bridge [BRIDGE]: Fix warning in net-2.6.22 2007-04-25 22:29:16 -07:00
core [NET]: Warn about GSO/checksum abuse 2007-04-25 22:29:47 -07:00
dccp [DCCP]: Debug statements for Elapsed Time option 2007-04-25 22:28:55 -07:00
decnet [RTNETLINK]: Remove unnecessary locking in dump callbacks 2007-04-25 22:29:05 -07:00
econet
ethernet
ieee80211 [WIRELESS]: Refactor wireless Kconfig. 2007-04-25 22:29:40 -07:00
ipv4 [TCP] TCP YEAH: Use vegas dont copy it. 2007-04-25 22:29:46 -07:00
ipv6 [IPV6] SNMP: Use put_unaligned() instead of memcpy(). 2007-04-25 22:29:37 -07:00
ipx
irda [IrDA]: Misc spelling corrections. 2007-04-25 22:29:32 -07:00
iucv [NET]: cleanup extra semicolons 2007-04-25 22:29:24 -07:00
key [NET]: cleanup extra semicolons 2007-04-25 22:29:24 -07:00
lapb
llc
netfilter [NETLINK]: Switch cb_lock spinlock to mutex and allow to override it 2007-04-25 22:29:03 -07:00
netlabel
netlink [NETLINK]: don't reinitialize callback mutex 2007-04-25 22:29:06 -07:00
netrom [AX25/NETROM/ROSE]: Convert to use modern wait queue API 2007-04-25 22:29:15 -07:00
packet [AF_PACKET]: Add option to return orig_dev to userspace. 2007-04-25 22:29:14 -07:00
rose [AX25/NETROM/ROSE]: Convert to use modern wait queue API 2007-04-25 22:29:15 -07:00
rxrpc
sched [NET]: cleanup extra semicolons 2007-04-25 22:29:24 -07:00
sctp [NET]: cleanup extra semicolons 2007-04-25 22:29:24 -07:00
sunrpc [NET]: Treat CHECKSUM_PARTIAL as CHECKSUM_UNNECESSARY 2007-04-25 22:28:43 -07:00
tipc [TIPC]: Enhancements to msg_set_bits() routine 2007-04-25 22:29:49 -07:00
unix
wanrouter [SK_BUFF]: Introduce skb_copy_to_linear_data{_offset} 2007-04-25 22:28:29 -07:00
wireless [WIRELESS]: Remove wext over netlink. 2007-04-25 22:29:42 -07:00
x25 [SK_BUFF]: Some more conversions to skb_copy_from_linear_data 2007-04-25 22:28:30 -07:00
xfrm [NET]: cleanup extra semicolons 2007-04-25 22:29:24 -07:00
Kconfig [WIRELESS]: Refactor wireless Kconfig. 2007-04-25 22:29:40 -07:00
Makefile [WIRELESS]: Refactor wireless Kconfig. 2007-04-25 22:29:40 -07:00
TUNABLE
compat.c
nonet.c
socket.c
sysctl_net.c