]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: use right in and out stream cnt
authorXin Long <lucien.xin@gmail.com>
Fri, 31 Mar 2017 09:57:28 +0000 (17:57 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Apr 2017 03:12:30 +0000 (20:12 -0700)
commitfc93600536c92a4b77faa538b6413ce190ff6d18
tree40217ec6b6362e58e17cf91e97d8481c2c6f462d
parent2cd05ecacd20b0fe546095a643cca465e536ec78
sctp: use right in and out stream cnt

Since sctp reconf was added in sctp, the real cnt of in/out stream
have not been c.sinit_max_instreams and c.sinit_num_ostreams any
more.

This patch is to replace them with stream->in/outcnt.

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