]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: factor out stream->in allocation
authorMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Tue, 3 Oct 2017 22:20:10 +0000 (19:20 -0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Oct 2017 23:27:28 +0000 (16:27 -0700)
commit3b37de6bb67bd7f3bd233c4c74fe158f06017fdc
tree82617e594a45a358cb44242df5587c2e869fab77
parent3e6ea40dc8d9b3b2f04b5134e033ce3bc31dddef
sctp: factor out stream->in allocation

There is 1 place allocating it and another reallocating. Move such
procedures to a common function.

v2: updated changelog

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