diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2009-09-04 18:21:03 -0400 |
---|---|---|
committer | Vlad Yasevich <vladislav.yasevich@hp.com> | 2009-09-04 18:21:03 -0400 |
commit | f1751c57f7bb816c9b6b4cb5d79c703aaa7199da (patch) | |
tree | 68e75889f4fd4b576f50bd52088c79f7c837323d /net/netlink/genetlink.c | |
parent | be2971438dec2e2d041af4701472a93a7dd03642 (diff) | |
download | op-kernel-dev-f1751c57f7bb816c9b6b4cb5d79c703aaa7199da.zip op-kernel-dev-f1751c57f7bb816c9b6b4cb5d79c703aaa7199da.tar.gz |
sctp: Catch bogus stream sequence numbers
Since our TSN map is capable of holding at most a 4K chunk gap,
there is no way that during this gap, a stream sequence number
(unsigned short) can wrap such that the new number is smaller
then the next expected one. If such a case is encountered,
this is a protocol violation.
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Diffstat (limited to 'net/netlink/genetlink.c')
0 files changed, 0 insertions, 0 deletions