diff options
author | James Chapman <jchapman@katalix.com> | 2012-05-10 01:43:09 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-11 05:27:34 +0200 |
commit | d301e3256866bfd3ae3093aeb43d3ca9570d758e (patch) | |
tree | 7395dbcfcefa7bbd1fc4ad68d8beed12190819be /net/netlabel | |
parent | l2tp: fix reorder timeout recovery (diff) | |
download | linux-d301e3256866bfd3ae3093aeb43d3ca9570d758e.tar.xz linux-d301e3256866bfd3ae3093aeb43d3ca9570d758e.zip |
l2tp: fix data packet sequence number handling
If enabled, L2TP data packets have sequence numbers which a receiver
can use to drop out of sequence frames or try to reorder them. The
first frame has sequence number 0, but the L2TP code currently expects
it to be 1. This results in the first data frame being handled as out
of sequence.
This one-line patch fixes the problem.
Signed-off-by: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlabel')
0 files changed, 0 insertions, 0 deletions