]> git.baikalelectronics.ru Git - kernel.git/commit
net: macb: change GFP_ATOMIC to GFP_KERNEL
authorJulia Cartwright <julia@ni.com>
Wed, 6 Dec 2017 00:02:50 +0000 (18:02 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Dec 2017 01:08:03 +0000 (20:08 -0500)
commit9f3f1c0dbb1d02b89af634520b30116e0aa8cbe7
tree91f74e51339a36da5305ac9d82bc04061a1495e0
parente3f90cb4f724fa39f404f9e0386207eb6594533e
net: macb: change GFP_ATOMIC to GFP_KERNEL

Now that the rx_fs_lock is no longer held across allocation, it's safe
to use GFP_KERNEL for allocating new entries.

This reverts commit b239d1d751d72 ("net: macb: change GFP_KERNEL to
GFP_ATOMIC").

Cc: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Julia Cartwright <julia@ni.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb_main.c