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
..
addr.c
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
addr.h
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
bcast.c
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
bcast.h
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
bearer.c
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
bearer.h
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
cluster.c
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
cluster.h
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
config.c
[SK_BUFF]: Convert skb->tail to sk_buff_data_t
2007-04-25 22:26:28 -07:00
config.h
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
core.c
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
core.h
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
dbg.c
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
dbg.h
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
discover.c
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
discover.h
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
eth_media.c
[SK_BUFF]: Introduce skb_reset_network_header(skb)
2007-04-25 22:24:46 -07:00
handler.c
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
Kconfig
[TIPC] Add help text for TIPC configuration option
2006-01-18 00:45:15 +01:00
link.c
[NET]: cleanup extra semicolons
2007-04-25 22:29:24 -07:00
link.h
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
Makefile
[TIPC] Initial merge
2006-01-12 14:06:31 -08:00
msg.c
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
msg.h
[TIPC]: Enhancements to msg_set_bits() routine
2007-04-25 22:29:49 -07:00
name_distr.c
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
name_distr.h
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
name_table.c
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
name_table.h
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
net.c
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
net.h
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
netlink.c
[NETLINK]: Introduce nlmsg_hdr() helper
2007-04-25 22:26:34 -07:00
node.c
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
node.h
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
node_subscr.c
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
node_subscr.h
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
port.c
[SK_BUFF]: Introduce skb_copy_to_linear_data{_offset}
2007-04-25 22:28:29 -07:00
port.h
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
ref.c
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
ref.h
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
socket.c
[SK_BUFF]: Convert skb->tail to sk_buff_data_t
2007-04-25 22:26:28 -07:00
subscr.c
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
subscr.h
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
user_reg.c
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
user_reg.h
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
zone.c
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00
zone.h
[NET] TIPC: Fix whitespace errors.
2007-02-10 23:20:15 -08:00