xen-netback: Use GFP_ATOMIC to allocate hash
authorAnoob Soman <anoob.soman@citrix.com>
Thu, 2 Mar 2017 10:50:20 +0000 (10:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Mar 2017 22:44:22 +0000 (14:44 -0800)
commit9f674e48c13dcbc31ac903433727837795b81efe
tree620a1971628b5a86edfdf71009ef10f8c92e6dd5
parent31c05415f5b471fd333fe42629788364faea8e0d
xen-netback: Use GFP_ATOMIC to allocate hash

Allocation of new_hash, inside xenvif_new_hash(), always happen
in softirq context, so use GFP_ATOMIC instead of GFP_KERNEL for new
hash allocation.

Signed-off-by: Anoob Soman <anoob.soman@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/hash.c