Re: [PATCH 6.12 094/169] vsock/test: fix seqpacket message bounds test

Stefano Garzarella
2026-02-11T12:15:48Z

On Wed, Feb 11, 2026 at 12:37:20PM +0100, Greg Kroah-Hartman wrote:
>On Wed, Feb 11, 2026 at 09:58:08AM +0100, Johan Korsnes wrote:
>> On 11/02/2026 09:30, Stefano Garzarella wrote:
>> > On Wed, Feb 11, 2026 at 08:50:11AM +0100, Johan Korsnes wrote:

[...]

>> >> Hi Greg,
>> >>
>> >> This patch causes build failure as the setsockopt_ull_check() function
>> >> does not seem to be defined in the 6.12 tree.
>> >
>> > I guess just when you build vsock_test, right?
>> >
>>
>> Correct. I should have specified that.
>>
>> > BTW to fix that we should backport commit 86814d8ffd55 ("vsock/test:
>> > verify socket options after setting them").
>> >
>> > I tried to cherry-pick it on current linux-6.12.y and apply clean.
>> >
>>
>> I can confirm it builds fine after cherry-picking that commit.
>>
>> Kind regards,
>> Johan
>>
>> > Greg, let me know if I should send a proper patch for 6.12.
>
>Great! Can you send a proper patch for 6.12.y for this?

Done, I discovered that a similar issue is also in 6.6.y so I sent a fix
also for that tree:
- 6.12.y:
https://lore.kernel.org/stable/20260211115948.108140-1-sgarzare@redhat.com/
- 6.6.y:
https://lore.kernel.org/stable/20260211121135.116071-1-sgarzare@redhat.com/

Thanks,
Stefano