Re: [PATCH] net: netsec: start using buffers if page_pool registration succeeded

2019-07-09 Thread David Miller
From: Ilias Apalodimas Date: Tue, 9 Jul 2019 15:35:53 +0300 > 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 >

[PATCH] net: netsec: start using buffers if page_pool registration succeeded

2019-07-09 Thread Ilias Apalodimas
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: Il