]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commitafe89962ee0799955b606cc7637ac86a296923a6
tree40217ec6b6362e58e17cf91e97d8481c2c6f462d
parent612307c6bebc0651cf36b6bf76249898f595fd64
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