]> git.baikalelectronics.ru Git - kernel.git/commit
SCTP: Discard OOTB packetes with bundled INIT early.
authorVlad Yasevich <vladislav.yasevich@hp.com>
Mon, 17 Sep 2007 19:14:28 +0000 (15:14 -0400)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 26 Sep 2007 05:55:48 +0000 (22:55 -0700)
commit97034345225a5e19eb7413fa15813e25b5c422d8
tree551b912a8d26049a22685401bef93cb553bb8671
parent277c99adf9f1d2cc755464e7c2b564ef5795828e
SCTP: Discard OOTB packetes with bundled INIT early.

RFC 4460 and future RFC 4960 (2960-bis) specify that packets
with bundled INIT chunks need to be dropped.  We currenlty do
that only after processing any leading chunks.  For OOTB chunks,
since we already walk the entire packet, we should discard packets
with bundled INITs.

There are other chunks chunks that MUST NOT be bundled, but the spec
is silent on theire treatment.  Thus, we'll leave their teatment
alone for the moment.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Acked-by: Wei Yongjun <yjwei@cn.fujitsu.com>
net/sctp/input.c