]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: use GFP_KERNEL in sctp_init()
authorEric Dumazet <edumazet@google.com>
Tue, 15 Dec 2015 23:33:39 +0000 (15:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Dec 2015 04:27:45 +0000 (23:27 -0500)
commit8ff1877dafe8dc6a87470dfe6bcaf793e1b2cab2
tree62071d5081591c410a678e65744c3f676e87651d
parent9169f86eec7bb555f3ab6b37ad5d362f8939cff0
sctp: use GFP_KERNEL in sctp_init()

modules init functions being called from process context, we better
use GFP_KERNEL allocations to increase our chances to get these
high-order pages we want for SCTP hash tables.

This mostly matters if SCTP module is loaded once memory got fragmented.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/protocol.c