]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2d09dbde92c80233e811ecbde88c9ba525151abe
tree620a1971628b5a86edfdf71009ef10f8c92e6dd5
parent19742bf9a71de6bb743640712045e0b94a663c85
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