From: David Laight <david.laight.linux@gmail.com>
To: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Cc: linux-sctp@vger.kernel.org
Subject: Re: sctp on RHEL9
Date: Fri, 28 Nov 2025 11:59:26 +0000 [thread overview]
Message-ID: <20251128115926.77d8b5a5@pumpkin> (raw)
In-Reply-To: <pzrmyhcns6wwyiouqashxwryeakcajvxaqwyr7vl2vxvcwkzi4@eltvekq6ok6n>
On Fri, 28 Nov 2025 08:45:52 -0300
Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> 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.
David
next prev parent reply other threads:[~2025-11-28 11:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-18 23:07 sctp on RHEL9 David Laight
2025-11-28 11:45 ` Marcelo Ricardo Leitner
2025-11-28 11:59 ` David Laight [this message]
2025-11-28 12:19 ` Marcelo Ricardo Leitner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251128115926.77d8b5a5@pumpkin \
--to=david.laight.linux@gmail.com \
--cc=linux-sctp@vger.kernel.org \
--cc=marcelo.leitner@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.