[PATCH bpf] bpf: Stop the psock parser before canceling its work

2019-03-07 Thread Jakub Sitnicki
We might have never enabled (started) the psock's parser, in which case it will not get stopped when destroying the psock. This leads to a warning when trying to cancel parser's work from psock's deferred destructor: [ 405.325769] WARNING: CPU: 1 PID: 3216 at net/strparser/strparser.c:526 strp_d

Re: [PATCH bpf] bpf: Stop the psock parser before canceling its work

2019-03-07 Thread Daniel Borkmann
On 03/07/2019 11:35 AM, Jakub Sitnicki wrote: > We might have never enabled (started) the psock's parser, in which case it > will not get stopped when destroying the psock. This leads to a warning > when trying to cancel parser's work from psock's deferred destructor: > > [ 405.325769] WARNING: C