[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220901061656.GR566407@gauss3.secunet.de>
Date: Thu, 1 Sep 2022 08:16:56 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Sabrina Dubroca <sd@...asysnail.net>
CC: <netdev@...r.kernel.org>
Subject: Re: [PATCH ipsec-next 0/6] xfrm: start adding netlink extack support
On Tue, Aug 30, 2022 at 04:23:06PM +0200, Sabrina Dubroca wrote:
> XFRM states and policies are complex objects, and there are many
> reasons why the kernel can reject userspace's request to create
> one. This series makes it a bit clearer by providing extended ack
> messages for policy creation.
>
> A few other operations that reuse the same helper functions are also
> getting partial extack support in this series. More patches will
> follow to complete extack support, in particular for state creation.
>
> Note: The policy->share attribute seems to be entirely ignored in the
> kernel outside of checking its value in verify_newpolicy_info(). There
> are some (very) old comments in copy_from_user_policy and
> copy_to_user_policy suggesting that it should at least be copied
> to/from userspace. I don't know what it was intended for.
>
> Sabrina Dubroca (6):
> xfrm: propagate extack to all netlink doit handlers
> xfrm: add extack support to verify_newpolicy_info
> xfrm: add extack to verify_policy_dir
> xfrm: add extack to verify_policy_type
> xfrm: add extack to validate_tmpl
> xfrm: add extack to verify_sec_ctx_len
Series applied, thanks a lot Sabrina!
Powered by blists - more mailing lists