[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZBSd7bnCz+caQDiH@corigine.com>
Date: Fri, 17 Mar 2023 18:05:49 +0100
From: Simon Horman <simon.horman@...igine.com>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org,
David Ahern <dsahern@...nel.org>,
Willem de Bruijn <willemb@...gle.com>,
Matthieu Baerts <matthieu.baerts@...sares.net>,
eric.dumazet@...il.com
Subject: Re: [PATCH net-next 09/10] mptcp: preserve const qualifier in
mptcp_sk()
On Fri, Mar 17, 2023 at 03:55:38PM +0000, Eric Dumazet wrote:
> We can change mptcp_sk() to propagate its argument const qualifier,
> thanks to container_of_const().
>
> We need to change few things to avoid build errors:
>
> mptcp_set_datafin_timeout() and mptcp_rtx_head() have to accept
> non-const sk pointers.
>
> @msk local variable in mptcp_pending_tail() must be const.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Cc: Matthieu Baerts <matthieu.baerts@...sares.net>
Reviewed-by: Simon Horman <simon.horman@...igine.com>
Powered by blists - more mailing lists