diff options
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2019-07-09 15:35:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-09 13:00:01 -0700 |
commit | 7715ff1647139bc87aa20bd456ac4f143411b377 (patch) | |
tree | 88f1ce3914a352dbc997af8b501190af2e06de56 /ipc | |
parent | de90573e30948459a37e32f432e65529573ff757 (diff) | |
download | linux-7715ff1647139bc87aa20bd456ac4f143411b377.tar.bz2 |
net: netsec: start using buffers if page_pool registration succeeded
The current driver starts using page_pool buffers before calling
xdp_rxq_info_reg_mem_model(). Start using the buffers after the
registration succeeded, so we won't have to call
page_pool_request_shutdown() in case of failure
Fixes: 5c67bf0ec4d0 ("net: netsec: Use page_pool API")
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions