diff options
author | Konstantin Khorenko <khorenko@virtuozzo.com> | 2018-08-10 19:11:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-11 21:25:15 +0200 |
commit | 0d493b4d0be352b5e361e4fa0bc3efe952d8b10e (patch) | |
tree | deb3bba890d034e4bbf323e99060f7c5fe934e6e /crypto/lz4hc.c | |
parent | net/sctp: Make wrappers for accessing in/out streams (diff) | |
download | linux-0d493b4d0be352b5e361e4fa0bc3efe952d8b10e.tar.xz linux-0d493b4d0be352b5e361e4fa0bc3efe952d8b10e.zip |
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>
Diffstat (limited to 'crypto/lz4hc.c')
0 files changed, 0 insertions, 0 deletions