sctp: add asoc intl_enable negotiation during 4 shakehands
authorXin Long <lucien.xin@gmail.com>
Fri, 8 Dec 2017 13:03:59 +0000 (21:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Dec 2017 16:23:04 +0000 (11:23 -0500)
commit96b120b3c1397c90b64d1f4b2300fb7ce4aa8a68
tree8adff0f3c66c683e739a519a1b5d7cdc05cd65a7
parent772a58693fc3116d05b7969223a80a6376e639eb
sctp: add asoc intl_enable negotiation during 4 shakehands

asoc intl_enable will be set when local sp strm_interleave is set
and there's I-DATA chunk in init and init_ack extensions, as said
in section 2.2.1 of RFC8260.

asoc intl_enable indicates all data will be sent as I-DATA chunks.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/sctp.h
net/sctp/sm_make_chunk.c