net/sctp: Make wrappers for accessing in/out streams
authorKonstantin Khorenko <khorenko@virtuozzo.com>
Fri, 10 Aug 2018 17:11:42 +0000 (20:11 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Aug 2018 19:25:15 +0000 (12:25 -0700)
commit05364ca03cfd419caecb292fede20eb39667eaae
tree134bb5ed07d0dccfb47220d5b760c5e2be8a673f
parentb70f1f3af47f4a21a25678f9ee587ed7986d62f8
net/sctp: Make wrappers for accessing in/out streams

This patch introduces wrappers for accessing in/out streams indirectly.
This will enable to replace physically contiguous memory arrays
of streams with flexible arrays (or maybe any other appropriate
mechanism) which do memory allocation on a per-page basis.

Signed-off-by: Oleg Babin <obabin@virtuozzo.com>
Signed-off-by: Konstantin Khorenko <khorenko@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/structs.h
net/sctp/chunk.c
net/sctp/outqueue.c
net/sctp/socket.c
net/sctp/stream.c
net/sctp/stream_interleave.c
net/sctp/stream_sched.c
net/sctp/stream_sched_prio.c
net/sctp/stream_sched_rr.c