Re: [PATCH net] nfp: do not send control messages during cleanup

2020-12-15 Thread Simon Horman
On Mon, Dec 14, 2020 at 06:26:50PM -0800, Jakub Kicinski wrote: > On Fri, 11 Dec 2020 10:27:38 +0100 Simon Horman wrote: > > On cleanup the txbufs are freed before app cleanup. But app clean-up may > > result in control messages due to use of common control paths. There is no > > need to clean-up t

Re: [PATCH net] nfp: do not send control messages during cleanup

2020-12-14 Thread Jakub Kicinski
On Fri, 11 Dec 2020 10:27:38 +0100 Simon Horman wrote: > On cleanup the txbufs are freed before app cleanup. But app clean-up may > result in control messages due to use of common control paths. There is no > need to clean-up the NIC in such cases so simply discard requests. Without > such a check

[PATCH net] nfp: do not send control messages during cleanup

2020-12-11 Thread Simon Horman
On cleanup the txbufs are freed before app cleanup. But app clean-up may result in control messages due to use of common control paths. There is no need to clean-up the NIC in such cases so simply discard requests. Without such a check a NULL pointer dereference occurs. Fixes: a1db217861f3 ("net: