]> git.baikalelectronics.ru Git - kernel.git/commit
SCTP: Clean up OOTB handling and fix infinite loop processing
authorVlad Yasevich <vladislav.yasevich@hp.com>
Fri, 7 Sep 2007 20:30:54 +0000 (16:30 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 26 Sep 2007 05:55:47 +0000 (22:55 -0700)
commit277c99adf9f1d2cc755464e7c2b564ef5795828e
treef81e7c15cb5d4a8126b1cb71f622ecec967fc973
parent7eafa514611b400b9ffcbb88ebadc408d9650a17
SCTP: Clean up OOTB handling and fix infinite loop processing

While processing OOTB chunks as well as chunks with an invalid
length of 0, it was possible to SCTP to get wedged inside an
infinite loop because we didn't catch the condition correctly,
or didn't mark the packet for discard correctly.
This work is based on original findings and work by
Wei Yongjun <yjwei@cn.fujitsu.com>

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
include/net/sctp/sm.h
net/sctp/sm_statefuns.c
net/sctp/sm_statetable.c