linux-stable-rt/net/tipc
Allan Stephens a686e6859e tipc: Fix minor bugs in link session number handling
This patch introduces a new, out-of-range value to indicate that
a link endpoint does not have an existing session established
with its peer, eliminating the risk that the previously used
"invalid session number" value (i.e. zero) might eventually be
assigned as a valid session number and cause incorrect link
behavior.

The patch also introduces explicit bit masking when assigning a
new link session number to ensure it does not exceed 16 bits.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-06-04 17:29:39 -07:00
..
Kconfig
Makefile
addr.c
addr.h
bcast.c
bcast.h
bearer.c
bearer.h
cluster.c
cluster.h
config.c tipc: Fix initialization sequence problems when entering network mode 2008-05-21 14:55:04 -07:00
config.h
core.c tipc: Fix initialization sequence problems when entering network mode 2008-05-21 14:55:04 -07:00
core.h tipc: Fix initialization sequence problems when entering network mode 2008-05-21 14:55:04 -07:00
dbg.c tipc: Exclude debug-only print buffer code when not debugging 2008-05-05 01:24:06 -07:00
dbg.h tipc: Elimination of print buffer chaining 2008-05-05 01:22:30 -07:00
discover.c tipc: Optimize null pointer check during neighbor discovery 2008-05-21 14:53:34 -07:00
discover.h
eth_media.c
handler.c
link.c tipc: Fix minor bugs in link session number handling 2008-06-04 17:29:39 -07:00
link.h
msg.c tipc: Fix bugs in message error code display when debugging 2008-06-04 17:29:09 -07:00
msg.h tipc: endianness annotations 2008-04-27 14:26:49 -07:00
name_distr.c tipc: Fix null pointer dereference in debug code 2008-05-05 01:21:54 -07:00
name_distr.h
name_table.c tipc: Enhancements to name table initialization 2008-05-12 15:41:53 -07:00
name_table.h
net.c tipc: Fix initialization sequence problems when entering network mode 2008-05-21 14:55:04 -07:00
net.h tipc: Fix initialization sequence problems when entering network mode 2008-05-21 14:55:04 -07:00
netlink.c tipc: Fix skb_under_panic when configuring TIPC without privileges 2008-05-21 14:52:30 -07:00
node.c tipc: Prevent node object duplication due to simultaneous discovery 2008-05-21 14:53:00 -07:00
node.h
node_subscr.c
node_subscr.h
port.c tipc: Standardize error checking on incoming messages via native API 2008-06-04 17:28:45 -07:00
port.h
ref.c tipc: Fix race condition when creating socket or native port 2008-05-12 15:42:28 -07:00
ref.h
socket.c tipc: Fix race condition when creating socket or native port 2008-05-12 15:42:28 -07:00
subscr.c tipc: Cosmetic cleanup of topology service code 2008-05-19 13:30:13 -07:00
subscr.h tipc: Cosmetic cleanup of topology service code 2008-05-19 13:30:13 -07:00
user_reg.c
user_reg.h
zone.c
zone.h