diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2019-02-16 04:48:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-18 02:51:46 +0300 |
commit | 3edaded89649d042ef4060cecc42f5599f3054b6 (patch) | |
tree | 182b39e81213c016cabdd03e913de1dbd8cfe220 /include/linux/ptr_ring.h | |
parent | aaeb1dea514a47e25b4dc05deb54fc4dc538d1d5 (diff) | |
download | linux-3edaded89649d042ef4060cecc42f5599f3054b6.tar.xz |
net: sgi: use GFP_ATOMIC under spin lock
The function meth_init_tx_ring() is called from meth_tx_timeout(),
in which spin_lock is held, so we should use GFP_ATOMIC instead.
Fixes: 8d4c28fbc284 ("meth: pass struct device to DMA API functions")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ptr_ring.h')
0 files changed, 0 insertions, 0 deletions