]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit11e51b83795032875d9c96a80fd97874f1c9d151
tree134bb5ed07d0dccfb47220d5b760c5e2be8a673f
parent7bb60eaa62d35cce7b78721c19a13b2f982eaaaa
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