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)
commit6857a02af5386e9f5d11734363741dbe6b0a6959
tree62071d5081591c410a678e65744c3f676e87651d
parent5cfe6d8adb57bd390bedc604be84cf8ff6808e1c
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