]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sctp: fix to send FORWARD-TSN chunk only if peer has such capable
authorWei Yongjun <yjwei@cn.fujitsu.com>
Thu, 12 Mar 2009 09:49:19 +0000 (09:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Mar 2009 18:37:58 +0000 (11:37 -0700)
commit76595024ffab3599bd28ea014f6c23c1a8c8dd2c
treec7beb060526957cf24e215d0d676219b5482ac29
parent5ffad5acebec735b7a368851bf22394b734cae8a
sctp: fix to send FORWARD-TSN chunk only if peer has such capable

RFC3758 Section 3.3.1.  Sending Forward-TSN-Supported param in INIT

   Note that if the endpoint chooses NOT to include the parameter, then
   at no time during the life of the association can it send or process
   a FORWARD TSN.

If peer does not support PR-SCTP capable, don't send FORWARD-TSN chunk
to peer.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/outqueue.c