From patchwork Thu Nov 24 14:43:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sabrina Dubroca X-Patchwork-Id: 13055059 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C62D5C43217 for ; Thu, 24 Nov 2022 14:44:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229693AbiKXOon (ORCPT ); Thu, 24 Nov 2022 09:44:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbiKXOom (ORCPT ); Thu, 24 Nov 2022 09:44:42 -0500 Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F6F1E0B77 for ; Thu, 24 Nov 2022 06:44:41 -0800 (PST) Received: (Authenticated sender: sd@queasysnail.net) by mail.gandi.net (Postfix) with ESMTPSA id A4E08C0016; Thu, 24 Nov 2022 14:44:39 +0000 (UTC) From: Sabrina Dubroca To: netdev@vger.kernel.org Cc: steffen.klassert@secunet.com, Sabrina Dubroca Subject: [PATCH ipsec-next 0/7] xfrm: add extack support to some more message types Date: Thu, 24 Nov 2022 15:43:37 +0100 Message-Id: X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This is the last part of my extack work for xfrm, adding extack messages to the last remaining operations: NEWSPDINFO, ALLOCSPI, MIGRATE, NEWAE, DELSA, EXPIRE. The first patch does a few clean ups on code that will be changed later on it the series. Sabrina Dubroca (7): xfrm: a few coding style clean ups xfrm: add extack to xfrm_add_sa_expire xfrm: add extack to xfrm_del_sa xfrm: add extack to xfrm_new_ae and xfrm_replay_verify_len xfrm: add extack to xfrm_do_migrate xfrm: add extack to xfrm_alloc_userspi xfrm: add extack to xfrm_set_spdinfo include/net/xfrm.h | 8 ++-- net/key/af_key.c | 6 +-- net/xfrm/xfrm_policy.c | 33 ++++++++++++----- net/xfrm/xfrm_state.c | 21 ++++++++--- net/xfrm/xfrm_user.c | 84 ++++++++++++++++++++++++++++++------------ 5 files changed, 109 insertions(+), 43 deletions(-)