]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/sctp/sm_statefuns.c
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)
commitece25dfa0991f65c4e1d26beb1c3c45bda4239b8
treef81e7c15cb5d4a8126b1cb71f622ecec967fc973
parentd3f259687fd248aa4de477149481478c122ba48b
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