commit | 7715ff1647139bc87aa20bd456ac4f143411b377 | [log] [tgz] |
---|---|---|
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | Tue Jul 09 15:35:53 2019 +0300 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 09 13:00:01 2019 -0700 |
tree | 88f1ce3914a352dbc997af8b501190af2e06de56 | |
parent | de90573e30948459a37e32f432e65529573ff757 [diff] |
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>