linux-stable-rt/net/tipc
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
..
Kconfig
Makefile
addr.c
addr.h
bcast.c
bcast.h
bearer.c
bearer.h
cluster.c
cluster.h
config.c
config.h
core.c
core.h
dbg.c
dbg.h
discover.c
discover.h
eth_media.c
handler.c
link.c [NET]: cleanup extra semicolons 2007-04-25 22:29:24 -07:00
link.h
msg.c
msg.h [TIPC]: Enhancements to msg_set_bits() routine 2007-04-25 22:29:49 -07:00
name_distr.c
name_distr.h
name_table.c
name_table.h
net.c
net.h
netlink.c
node.c
node.h
node_subscr.c
node_subscr.h
port.c [SK_BUFF]: Introduce skb_copy_to_linear_data{_offset} 2007-04-25 22:28:29 -07:00
port.h
ref.c
ref.h
socket.c
subscr.c
subscr.h
user_reg.c
user_reg.h
zone.c
zone.h