On Thu, Sep 06, 2018 at 11:56:08AM +0200, Harald Freudenberger wrote: > +out: > + if (m) > + kfree(m); > + return rc; > } Please call kfree(m) unconditionally. Otherwise we will receive a semi-automically generated patch within hours, as soon as this hits upstream.