Re: [PATCH net] nfp: move indirect block cleanup to flower app stop callback

2020-12-17 Thread Jakub Kicinski
On Wed, 16 Dec 2020 15:57:01 +0100 Simon Horman wrote: > The indirect block cleanup may cause control messages to be sent > if offloaded flows are present. However, by the time the flower app > cleanup callback is called txbufs are no longer available and attempts > to send control messages result

[PATCH net] nfp: move indirect block cleanup to flower app stop callback

2020-12-16 Thread Simon Horman
The indirect block cleanup may cause control messages to be sent if offloaded flows are present. However, by the time the flower app cleanup callback is called txbufs are no longer available and attempts to send control messages result in a NULL-pointer dereference in nfp_ctrl_tx_one(). This probl