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
..
2007-02-10 23:20:15 -08:00
2008-02-07 18:17:13 -08:00
2007-02-10 23:20:15 -08:00
2008-02-07 18:17:13 -08:00
2007-02-10 23:20:15 -08:00
2007-02-10 23:20:15 -08:00
2007-02-10 23:20:15 -08:00
2007-02-10 23:20:15 -08:00
2007-02-10 23:20:15 -08:00
2007-05-24 16:36:50 -07:00
2007-02-10 23:20:15 -08:00
2006-01-12 14:06:31 -08:00
2008-04-27 14:26:49 -07:00
2007-02-10 23:20:15 -08:00
2007-02-10 23:20:15 -08:00
2007-02-10 23:20:15 -08:00
2007-02-10 23:20:15 -08:00