]> git.baikalelectronics.ru Git - kernel.git/commit
SCTP: Send ABORT chunk with correct tag in response to INIT ACK
authorWei Yongjun <yjwei@cn.fujitsu.com>
Fri, 31 Aug 2007 02:03:58 +0000 (10:03 +0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 26 Sep 2007 05:55:46 +0000 (22:55 -0700)
commitaa9b78e59c2e5394bbeaab3439ddd2f3707c07c8
tree4ccc1cb91ea5be4c2b1b299cff4a5914b9e92eb9
parent8f64e31360403cd59f883218faddd9e3a0b1f866
SCTP: Send ABORT chunk with correct tag in response to INIT ACK

When SCTP client received an INIT ACK chunk with missing mandatory
parameter such as "cookie parameter", it will send back a ABORT
with T-bit not set and verification tag is set to 0.
This is because before we accept this INIT ACK chunk, we do not know
the peer's tag.  This patch change to reflect vtag when responding to
INIT ACK with missing mandatory parameter.

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