From: Matthieu Baerts <matttbe@kernel.org>
To: Eugene Syromiatnikov <esyr@redhat.com>, mptcp@lists.linux.dev
Cc: Mat Martineau <martineau@kernel.org>,
Geliang Tang <geliang@kernel.org>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Davide Caratti <dcaratti@redhat.com>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mptcp: correct MPTCP_SUBFLOW_ATTR_SSN_OFFSET reserved size
Date: Fri, 9 Aug 2024 12:42:19 +0200 [thread overview]
Message-ID: <c78f98ff-df44-475f-bb1c-5c33f816ee11@kernel.org> (raw)
In-Reply-To: <20240809094321.GA8122@asgard.redhat.com>
Hi Eugene,
On 09/08/2024 11:43, Eugene Syromiatnikov wrote:
> ssn_offset field is u32 and is placed into the netlink response with
> nla_put_u32(), but only 2 bytes are reserved for the attribute payload
> in subflow_get_info_size() (even though it makes no difference in the end,
> as it is aligned up to 4 bytes). Supply the correct argument to the relevant
> nla_total_size() call to make it less confusing.
Good catch, thank you for sharing this patch!
The modification in the code and the description look good to me!
Please note that when you submit a patch to the Netdev mailing list, the
subject should have the 'PATCH net' prefix (or net-next) as mentioned in
the Netdev doc:
https://docs.kernel.org/process/maintainer-netdev.html
> Fixes: 5147dfb5083204d6 ("mptcp: allow dumping subflow context to userspace")
Checkpatch is complaining about this line, because the commit ID should
have 12 chars:
https://docs.kernel.org/process/submitting-patches.html#describe-your-changes
Note that checkpatch.pl also points out the fact that the lines in the
commit description should have max 75 chars -- ideally 72 -- which is
not the case above with the line ending with 'relevant'.
Do you mind sending a v2 with these small fixes, so your patch can be
directly applied in the net tree, please?
(Do not forget to wait 24h between two versions as mentioned in the doc)
Cheers,
Matt
--
Sponsored by the NGI0 Core fund.
next prev parent reply other threads:[~2024-08-09 10:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-09 9:43 [PATCH] mptcp: correct MPTCP_SUBFLOW_ATTR_SSN_OFFSET reserved size Eugene Syromiatnikov
2024-08-09 10:42 ` Matthieu Baerts [this message]
2024-08-09 11:05 ` Eugene Syromiatnikov
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=c78f98ff-df44-475f-bb1c-5c33f816ee11@kernel.org \
--to=matttbe@kernel.org \
--cc=davem@davemloft.net \
--cc=dcaratti@redhat.com \
--cc=edumazet@google.com \
--cc=esyr@redhat.com \
--cc=geliang@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=martineau@kernel.org \
--cc=mptcp@lists.linux.dev \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox