commit | 0d493b4d0be352b5e361e4fa0bc3efe952d8b10e | [log] [tgz] |
---|---|---|
author | Konstantin Khorenko <khorenko@virtuozzo.com> | Fri Aug 10 20:11:43 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sat Aug 11 12:25:15 2018 -0700 |
tree | deb3bba890d034e4bbf323e99060f7c5fe934e6e | |
parent | 05364ca03cfd419caecb292fede20eb39667eaae [diff] |
net/sctp: Replace in/out stream arrays with flex_array This path replaces physically contiguous memory arrays allocated using kmalloc_array() with flexible arrays. This enables to avoid memory allocation failures on the systems under a memory stress. 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>