Re: sctp on RHEL9

Marcelo Ricardo Leitner <[email protected]>
Newsgroups org.kernel.vger.linux-sctp
Message-ID <[email protected]>
On Fri, Nov 28, 2025 at 11:59:26AM +0000, David Laight wrote:
> On Fri, 28 Nov 2025 08:45:52 -0300
> Marcelo Ricardo Leitner <[email protected]> wrote:
> 
> > On Tue, Nov 18, 2025 at 11:07:43PM +0000, David Laight wrote:
> > > A bit of a gamble...
> > > 
> > > Anyone any idea why RHEL9 should reject sctp setsockopt() calls like SCTP_INITMSG?  
> > 
> > More likely an invalid buffer as argument. It has to have the exact
> > size of struct sctp_initmsg, and not more than that.
> 
> It was resolved.
> Basically the code is an out of tree driver and they were using an old version
> that calls kernel_setsockopt().
> That was removed from the kernel well before the one RHEL9 is based on, so we'd
> expected they get a build error (the driver usually runs if it builds).
> But it seems RHEL9 has a wrapper for kernel_setsockopt() that doesn't actually work.
> The later driver has its own correct wrapper and worked fine.

Ah ok. kABI can play some tricks, but yeah, this one seems off.

  Marcelo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.