diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-05-31 10:36:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-02 19:56:26 +0200 |
commit | ff356414dc006170153c79434eb81d130c03beec (patch) | |
tree | 55ec0eab1ade81782ef50358fb2ae2739c57251f /block | |
parent | sctp: define the member stream as an object instead of pointer in asoc (diff) | |
download | linux-ff356414dc006170153c79434eb81d130c03beec.tar.xz linux-ff356414dc006170153c79434eb81d130c03beec.zip |
sctp: merge sctp_stream_new and sctp_stream_init
Since last patch, sctp doesn't need to alloc memory for asoc->stream any
more. sctp_stream_new and sctp_stream_init both are used to alloc memory
for stream.in or stream.out, and their names are also confusing.
This patch is to merge them into sctp_stream_init, and only pass stream
and streamcnt parameters into it, instead of the whole asoc.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions