From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796227581; b=JzBlBOZme3kA4jU6G2pMji0raWBFxwn/6wTMCBYCzT2B1pMbY4/sCV1xJRR3kVonnK87 YMxlgIUF7DRNtR/c3XSWoPJ/MLEwEyhhIX8dIz5cCv/8LDi0ptRIjzsKQi9Aiq9IEWX3I mE2GqoRtWDpde1ANlZMU4+ZaktIAgcApgxBlNTLknvd4i8G/Fo7V7b8FSkaYAIhUzrqat DdZkj6KSUr4N4Cfhf7Ijr7uRFiHLVNvuylyDANCuDrBTBTtmPSEeTd7jLPblanIZr0PIR LtmeBQdBd/ioEJj/qyZCbQIHEe5Ejdl3FXlIJzCW2KmZIX/y0HFtHhQZEqL7AQk6AEw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796227581; h=DMARC-Filter:DKIM-Signature:Received:X-MC-Unique: X-Mimecast-MFC-AGG-ID:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received: X-Received:Received:Message-ID:Date:MIME-Version:User-Agent:Subject: To:Cc:References:Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; bh=TbsGFiAut4JcuTR9ewmSM7jhPgZNl21B18TQYxUqYQc=; b=WFYANIv9aOuFaWMmEC9I4WHhLr8GKy11kA/K+0Lzmho0X+FOJTwnhKYADIygoPfKOAoi lgph0GRRW+Kks3wDZ5jMYmrTuTM1jn4tHkyo1eZhnJhuYEoKm2Hu4y52tqprAe5h7RhBx hY91NC1kXNrj0N95KTmeraQYHsN4esiAnMIH6TVgz8BprBI6TutIM/IttLvlF7fzzjV9b kQks+20kyLxP5Jt7gx98v9QuxehLNX/s2OCQl5Xg7D1MtoYL6ZDYPYlc2kiANUaUv+IbE mu15DDPzGLTn+2+/fJQR3MR8siiBMHJeXTImzb5En0JjuuNOrpRpnItsuC9Tuh7tnzw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=dMOEsW4m; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=google header.b="B8/xhSRe"; arc=none smtp.remote-ip=170.10.129.124 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 554E6606A31A for ; Wed, 2 Dec 2026 16:06:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 554E6606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=dMOEsW4m; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=google header.b=B8/xhSRe DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1796227580; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TbsGFiAut4JcuTR9ewmSM7jhPgZNl21B18TQYxUqYQc=; b=dMOEsW4m6jjHR/Cy/P9gU9Yqxr1oPlozP2VwBd0W/7coHXJf/Er9hwbZ9jtykTOylyQerp 9nKDDyCqoDvcXny7Zv18j8ZT/S1/do4wP3kBEv9O0ltO6xfJZVEF7XG4DNs3cNx+NqwDIv SU/fgt9ougwBXMfVbUjUQ9XY7WG3jhw= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-609-j4U5LprbNaG5kXUWnSBceg-1; Wed, 2 Dec 2026 16:06:18 +0000 X-MC-Unique: j4U5LprbNaG5kXUWnSBceg-1 X-Mimecast-MFC-AGG-ID: j4U5LprbNaG5kXUWnSBceg_1796227577 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-4b764ffc014so111258235e9.0 for ; Wed, 02 Dec 2026 08:06:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1796227577; x=1796832377; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=TbsGFiAut4JcuTR9ewmSM7jhPgZNl21B18TQYxUqYQc=; b=B8/xhSRe5rOkUWDhjKUDO0dR+GbPqJaTbAuqIDVbs4VPp640TMi2+GMbR0RuNFbmva HD4m49uulde0uXiILkcqoi5XOSvLGcqBsAE2aLNDoqCQimuJulzqQ3Qg8P/zUBeusVXe xIVTMc42VRuF8EFxzr/LKW9dEERRoTbrC1jKPCKg43OG8Te6D2HZLncIHyEMn0SPI7OD RrY1qyEkYzoBgd9Tq1GygbxjMfpT3SIb0RB/jP+BM6W4s3qvcsqvZsspB5sfXgUq4fz9 irsFNz45t09PhApf/65Q7rGaECvw04EjxAvNI+Ct/5qW2ZYgzv75FgTU470jRl4iF3ib j3hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796227577; x=1796832377; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=TbsGFiAut4JcuTR9ewmSM7jhPgZNl21B18TQYxUqYQc=; b=gvLHDdCHn3sG5FJ2hYqjWEh+MizRKCsCCMBJqhN2Me5X1YSY7GNjFAntdX/lLEhTQg guFGgM+F9m0PC3U44lgS56KvDilN2bX41jNPeObzo/wjWp2tfVyRcZ8nN41jjq/YOXXW f7AKDmXhY0Cqsy3093kZatiFYK1jo8whTh37pB1BKJBytxaavMIpf1shX8Lrt0MxHt/9 5WtseH7z+ltNvDenuQcdUyaNMHNZuW9ZPAsrQaX8na3rOFqw2NkdSqIIOlU78N+MGSZh Zw2fjTd77JsFVgA1qNQMPMhtpKLsniEChV9Bu3Y4R4q5iXsHvSyYSWozTQppOZ4kjvKp 49Xw== X-Forwarded-Encrypted: i=1; AL+hErHAMdLpr7piV2EQdUUA4B90pvOIR7ZR2aDcdYe3IXGZQBvz6z0DJ4npLTS63052V3RcYCa+0w0=@vger.kernel.org X-Gm-Message-State: APuU4Z9FRlmIia6fskxV4bkrYbB69LQRy5g85R5hSeOt41wqPjkwjjJx GpcHUnHJPYDozFzJ43eMt+H5e92QVQ6f9njYy0m+fuFJkCQ+lk4m4Bkbq5/j2BctkTHXSUWRLZ3 D6SUIv9bDKkHNnzqL34Fi7P6/X9RE4tAzepDUqoUGfLFg35Pk8ozHsAc+2aDOxXyVVA== X-Gm-Gg: AZFdTZfQEajhlNXhIW3WpFQbVR1DxDKvDInLZVXLftH5ZhSGTLmBipIz/GzNAd5Gu9P xLKfmf/AejP8YeWGcpPDOJ09YpWiFQBisVsmnFlHyi/LWI1ZnUOpt3j8Kmo9G2vebcK+fXx8ltE 3x/ToeOqJpRpL+y6uyc6pZyO6R139v6poeLQbTbwymp1FH+NB51HEgkbBR7kM1UAFE9yqBRKm5E fzZJNQi3MR66ABbmUWHJZfEqFOWDwKx9xRx3B3/zQ1hMksghZrbE30Oj6g0QSJFR+1XgbgTwm3O 6+W0fdXcybU0TPDR5B4VsgzHgJ4mVvvj1Owi9F3I8kycx7nRr4JaPKFIJUGUdJLLDQ276PY3yD3 VcBlCGxGYOjRhZ2CsWgJRPfAUUoRD2XZAAGDqhYYZNl9WM6KJ7BIAS/rmmOpDQ6y7EeR2RsHea5 b28HETYj4gZVkpnXJJjtngAe844KtvnCAWhPcgjrApyps= X-Received: by 2002:a05:600c:3ba9:b0:4a2:1050:aff with SMTP id 5b1f17b1804b1-4bb8881c741mr955929025e9.6.1796227577041; Wed, 02 Dec 2026 08:06:17 -0800 (PST) X-Received: by 2002:a05:600c:3ba9:b0:4a2:1050:aff with SMTP id 5b1f17b1804b1-4bb8881c741mr955928325e9.6.1796227576542; Wed, 02 Dec 2026 08:06:16 -0800 (PST) Received: from [192.168.88.30] (ip231-128-192-82.pool-bba.aruba.it. [82.192.128.231]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb884b39b6sm1036869175e9.12.2026.12.02.08.06.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Dec 2026 08:06:16 -0800 (PST) Message-ID: Date: Wed, 2 Dec 2026 17:06:15 +0100 X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/22] pull request (net): ipsec 2026-12-01 To: Steffen Klassert , David Miller , Jakub Kicinski Cc: Herbert Xu , netdev@vger.kernel.org References: <20261201124252.1163254-1-steffen.klassert@secunet.com> Content-Language: en-US From: Paolo Abeni In-Reply-To: <20261201124252.1163254-1-steffen.klassert@secunet.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 12/1/26 13:41, Steffen Klassert wrote: > 1) xfrm: ipcomp: account full fragment pages in truesize > Charge the decompressed IPComp skb a page-rounded truesize, so > the socket memory accounting matches the pages actually attached. > > 2) xfrm: esp: reset outer TCP GSO metadata on espintcp input > Reset the GSO state inherited from the outer TCP stream on > ESP-in-TCP input, so a decrypted packet isn't segmented with > stale metadata and multi-segment records no longer crash. > > 3) xfrm: keep the mode module pinned until destroy_state returns > Hold an extra module reference across the state destroy callback, > so an rmmod racing the state GC can't free the module text while > the callback is still running. > > 4) xfrm: serialize SA activation with state deletion > Take the state lock for the final VOID-to-VALID transition, so a > hard expiry can't delete the state in between and leave it in > the per-CPU cache. > > 5) xfrm: keep old state references until migration deletion completes > Delete the old states before dropping their lookup references, so > a concurrent expiry can't free a state the migration still uses. > > 6) xfrm: hold migrated states through rollback > Keep a caller reference on the successor states and delete them > before releasing it, so a failed migration can't touch a state > that has already been reclaimed. > > 7) xfrm: check inner family via skb_dst for small_ipv6 DF clearing > Take the inner address family from the dst instead of skb->protocol, > so the outer DF bit is cleared for small IPv6 packets and the > tunnel doesn't drop them. > > 8) xfrm: account XFRMA_MARK in xfrm_sa_len() > Count the mark attribute in the SA message length, so the netlink > SA notifications are sized correctly. > > 9) xfrm: replay: Fix late packet handling with ESN crypto offload > Drop packets far ahead of the replay window when the ICV check > runs in hardware, so a late packet can't corrupt the offloaded > ESN state. > > 10) xfrm: fix IPv6 first-fragment protocol decode > Let the flow dissector walk past an IPv6 fragment header, so the > inbound policy lookup sees the real upper-layer protocol. > > 11) xfrm: fix selector matching for IPv6 atomic fragments > Restore the port and protocol selector fields for atomic IPv6 > fragments, so such packets can match a policy. > > 12) xfrm: espintcp: read the socket error queue for MSG_ERRQUEUE > Read the error queue through the socket error path, so a queued > timestamp is reported instead of being consumed as an IKE message. > > 13) xfrm: iptfs: force a dst reference before queueing an skb > Take a dst reference while the packet is still under RCU, so the > deferred IPTFS output doesn't use a dst that may already be gone. > > 14) xfrm: espintcp: select receive path by skb protocol > Pick the receive path from the packet protocol instead of the > socket family, so an IPv4 packet on a v4-mapped socket isn't > parsed by the IPv6 path. > > 15) net: xfrm: interface: restore dst_orig on every xfrm interface > Restore the original route in both arms of the interface xmit > path, so a steered packet finds a policy and the metadata dst is > left untouched. > > 16) xfrm: iptfs: make room before copying a continuation in reassembly > Grow the skb head before copying a reassembly continuation, so a > larger continuation doesn't overrun the buffer and panic. > > 17) xfrm/compat: pass on the translated length of a socket policy > Pass the translated policy length to the 32-bit compat layer, so > the last template isn't dropped and an ESP-required policy doesn't > fall back to clear text. > > 18) xfrm: Give GC list nodes their own storage > Give the GC and hash list nodes separate storage, so adding a > state to the GC list can't corrupt the hash linkage that RCU > readers still follow. > > 19) xfrm: Serialize device state teardown > Let only one caller free the device state and hold a reference in > the flush, so the state GC and a device flush can't free the same > state. > > 20) xfrm: Wait for an RCU grace period before freeing device state > Wait for an RCU grace period after collecting the device states, > so the driver state isn't freed while readers are still using it. > > 21) Revert "xfrm: serialize state GC with device state flush" > Revert the GC and flush mutex, since the reference handling and > the single-free rule make it unnecessary and it can't cover the > lookup path. > > 22) xfrm: Serialize offload stats updates with x->lock > Serialize the offload stats refresh with the state lock, so the > counters aren't updated twice and a dump doesn't copy them while > they change. Sashiko had some feedback with high and mid priority, could you please double check if valid or if could be deferred to later work? Thanks! Paolo