diff options
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2019-04-23 09:01:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-02 11:02:55 +0300 |
commit | 19f6d3f49b28db54afa89d32b50523805d5ff454 (patch) | |
tree | d3abb9ee66b6a596f74e50905acbb332991790fe /lib/test_overflow.c | |
parent | af31849700e4a1d8c65689cd9b23e6621bc387f2 (diff) | |
download | linux-19f6d3f49b28db54afa89d32b50523805d5ff454.tar.xz |
net: socionext: replace napi_alloc_frag with the netdev variant on init
[ Upstream commit ffbf9870dcf1342592a1a26f4cf70bda39046134 ]
The netdev variant is usable on any context since it disables interrupts.
The napi variant of the call should only be used within softirq context.
Replace napi_alloc_frag on driver init with the correct netdev_alloc_frag
call
Changes since v1:
- Adjusted commit message
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Jassi Brar <jaswinder.singh@linaro.org>
Fixes: 4acb20b46214 ("net: socionext: different approach on DMA")
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions