From patchwork Mon Jul 31 11:38:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Romanovsky X-Patchwork-Id: 13334462 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40393182A0 for ; Mon, 31 Jul 2023 11:38:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 075F5C433C7; Mon, 31 Jul 2023 11:38:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690803516; bh=Ud+g0fFvXQbb6PMgns2B8bYis70PDAJeRhBx4+CZSiU=; h=From:To:Cc:Subject:Date:From; b=G1kBlFN2xjE8658uHbIL41pmXa9EWuz/USFSfdAApeoCuprWellimYbT5JY+EITwg 35WoR3aQgIknXiWmQNKjeYacTuPzDyLV+bIJy9NtxtzXS5vmHH/gpWvRyl4fdjWOLR mZ0v627K+C0cb9IRMmNbsRMJef0r//VVkTaZpc85OrEyt9qMxRo1O6LkiG40LbwaRL PB2HTyRDM4R8cURVxZqBZQ4aJB8H6JHtxznW1KBtK5fyq2bT50Xx5h3LZZGt2WtAjF 3e8woC05/UqLJYeJBsQ9qbT4KLuI9BOREb7ey2fxWWr0I9gboY4vhnVwEsY3x45dpO NltLvJh51hrMw== From: Leon Romanovsky To: Steffen Klassert Cc: Leon Romanovsky , "David S. Miller" , Eric Dumazet , Herbert Xu , Jakub Kicinski , netdev@vger.kernel.org, Paolo Abeni , Raed Salem Subject: [PATCH ipsec-rc 0/2] Two fixes in policy/state offload area Date: Mon, 31 Jul 2023 14:38:25 +0300 Message-ID: X-Mailer: git-send-email 2.41.0 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Leon Romanovsky Hi, These two patches fixes leaks of HW objects in IPsec packet offload mode. Thanks Leon Romanovsky (2): xfrm: delete offloaded policy xfrm: don't skip free of empty state in acquire policy include/net/xfrm.h | 1 + net/xfrm/xfrm_state.c | 8 ++------ net/xfrm/xfrm_user.c | 1 + 3 files changed, 4 insertions(+), 6 deletions(-)