]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: add stream interleave support in stream scheduler
authorXin Long <lucien.xin@gmail.com>
Thu, 14 Dec 2017 16:41:30 +0000 (00:41 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Dec 2017 18:52:22 +0000 (13:52 -0500)
commit3090932bbdb4ce328e4bf2f6a8082c8bd793f00f
tree3ab5edd7dcf3749a9de87fa2bd169f6cf64c7e8b
parentf98b26f978ae7f3dcfdbffd4609fc40e7ff7ad3d
sctp: add stream interleave support in stream scheduler

As Marcelo said in the stream scheduler patch:

  Support for I-DATA chunks, also described in RFC8260, with user message
  interleaving is straightforward as it just requires the schedulers to
  probe for the feature and ignore datamsg boundaries when dequeueing.

All needs to do is just to ignore datamsg boundaries when dequeueing.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo R. Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/stream_sched.c