aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/eth_media.c
diff options
context:
space:
mode:
authorAllan Stephens <allan.stephens@windriver.com>2008-06-04 17:29:39 -0700
committerDavid S. Miller <davem@davemloft.net>2008-06-04 17:29:39 -0700
commita686e6859e976712e28f6af927cd52a6a3bb372a (patch)
tree2d1f1092416394e8dba4ffc38eec03c9aedd4ebf /net/tipc/eth_media.c
parenttipc: Fix bugs in message error code display when debugging (diff)
downloadlinux-dev-a686e6859e976712e28f6af927cd52a6a3bb372a.tar.xz
linux-dev-a686e6859e976712e28f6af927cd52a6a3bb372a.zip
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>
Diffstat (limited to 'net/tipc/eth_media.c')
0 files changed, 0 insertions, 0 deletions