sctp: implement the sender side for SACK-IMMEDIATELY extension
authorWei Yongjun <yjwei@cn.fujitsu.com>
Mon, 23 Nov 2009 20:53:56 +0000 (15:53 -0500)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Mon, 23 Nov 2009 20:53:56 +0000 (15:53 -0500)
commitb93d6471748de2ce02cc24774b774deb306a57a8
tree98c69d791297d3805d00f9d8ce2fa04dfbd63c9a
parent6dc7694f9df20f148076d82d00cb3663afb0b000
sctp: implement the sender side for SACK-IMMEDIATELY extension

This patch implement the sender side for SACK-IMMEDIATELY
extension.

  Section 4.1.  Sender Side Considerations

  Whenever the sender of a DATA chunk can benefit from the
  corresponding SACK chunk being sent back without delay, the sender
  MAY set the I-bit in the DATA chunk header.

  Reasons for setting the I-bit include

  o  The sender is in the SHUTDOWN-PENDING state.

  o  The application requests to set the I-bit of the last DATA chunk
     of a user message when providing the user message to the SCTP
     implementation.

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