Re: Patch "net/ulp: prevent ULP without clone op from entering the LISTEN status" has been added to the 5.4-stable tree

From: Jakub Kicinski
Date: Thu Jan 12 2023 - 14:12:12 EST


On Thu, 12 Jan 2023 14:49:28 +0100 Greg KH wrote:
> On Thu, Jan 12, 2023 at 02:44:09PM +0100, gregkh@xxxxxxxxxxxxxxxxxxx wrote:
> >
> > This is a note to let you know that I've just added the patch titled
> >
> > net/ulp: prevent ULP without clone op from entering the LISTEN status
> >
> > to the 5.4-stable tree which can be found at:
> > http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
>
> Oops, nope, this broke the build for 5.4 and older kernels, now
> dropping.

There's no clone op, right? If you're willing to futz with it I think
you just need to remove the "and the ops don't have ->clone" part of
the conditions. Any presence of ops on older kernels should make us
bail.