IPoIB: Change CM skb memory allocation to be non-atomic during init
authorTal Alon <talal@mellanox.com>
Wed, 16 Oct 2013 14:37:48 +0000 (17:37 +0300)
committerRoland Dreier <roland@purestorage.com>
Fri, 8 Nov 2013 22:42:48 +0000 (14:42 -0800)
commit22252b4e09f19431f82dc26428e0edf697d19a04
treea6e68cfa1afbe4390e6e6b452d783019777a5bb3
parentc2bb5628db44735bc0095a8ef8efc0278ba245df
IPoIB: Change CM skb memory allocation to be non-atomic during init

Change CM skb memory allocation to use GFP_KERNEL when possible.

During device init there's no need to use GFP_ATOMIC when allocating
memory for the CM skbs -- use GFP_KERNEL instead.

Signed-off-by: Tal Alon <talal@mellanox.com>
Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/ipoib/ipoib_cm.c