summaryrefslogtreecommitdiffstats
path: root/net/sctp/output.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-02-19 01:52:45 +0800
committerDavid S. Miller <davem@davemloft.net>2017-02-20 10:26:09 -0500
commitb7018d0b63003c0474451991797113605f26ee81 (patch)
tree66cbac5e4e78360a968c6f505f484be0a5c9024d /net/sctp/output.c
parent93a66e93c7d8775f33c0d65e3fdeb209c1d4a8c9 (diff)
downloadlinux-b7018d0b63003c0474451991797113605f26ee81.tar.bz2
sctp: flush out queue once assoc state falls into SHUTDOWN_PENDING
This patch is to flush out queue when assoc state falls into SHUTDOWN_PENDING if there are still chunks in it, so that the data can be sent out as soon as possible before sending SHUTDOWN chunk. When sctp supports MSG_MORE flag in next patch, this improvement can also solve the problem that the chunks with MSG_MORE flag may be stuck in queue when closing an assoc. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/output.c')
0 files changed, 0 insertions, 0 deletions