From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-fw-80007.amazon.com (smtp-fw-80007.amazon.com [99.78.197.218]) (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 5C51C8BE5; Wed, 16 Apr 2025 01:01:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=99.78.197.218 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744765261; cv=none; b=lkVpzGvNYmED++4+KDI5k0ri6xlH6XZnr2V9n6G8aHIAiJ0YlLtZiwhxO3txDIn2ywxsSv6jYcxLqzSD2xntHvD+4q9k0fa3JABQWxZTScnjAurqHT8D6Gaw3xN0jpNqE5KIO0WXfN6EoJbG2rD95QaS1nagoMjO5+jTd807m4w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744765261; c=relaxed/simple; bh=hdDMC3t4z6iQ3U9D+DxOWeLvYWCrPGUBbYQep7YFNRA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=qChF003xWRbvKXIwZWMn99LEPUSiIbid+X5xb0kn+jpz7SFI5PtbCNoy5jqmvddUPBgFduBDPws0zGZIRgvpDdY6iicqzv5HIOJ5b7ZRmhK3edLKyQPmqtxrFSMdUgEziNmHt8FTL3fX8cnvI6SjOY4zjC62kYGuYQ7gz2hit0w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.com; spf=pass smtp.mailfrom=amazon.co.jp; dkim=pass (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b=ic2JqSDZ; arc=none smtp.client-ip=99.78.197.218 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amazon.co.jp Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="ic2JqSDZ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1744765261; x=1776301261; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=LNC2NUQZoQKRcriMrmjGn2B1GzRVxPIEFN7hK/2izxA=; b=ic2JqSDZFaE0he3/rBh99sajl+ZYp0SIxfOzBXp5fPPdwQM+V31HXfpH jCsHS7ImWbg1wy6qAynXBuq0jbjmiuQLZDDyqF7xvczozsIQKe9Q7kEQo xSxZk2agSZu8oLklo6QuinkUq+ni5YhJPDhedRBPTQYFsa21c//25NZl9 g=; X-IronPort-AV: E=Sophos;i="6.15,214,1739836800"; d="scan'208";a="396201453" Received: from pdx4-co-svc-p1-lb2-vlan2.amazon.com (HELO smtpout.prod.us-west-2.prod.farcaster.email.amazon.dev) ([10.25.36.210]) by smtp-border-fw-80007.pdx80.corp.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2025 01:00:59 +0000 Received: from EX19MTAUWC002.ant.amazon.com [10.0.38.20:53041] by smtpin.naws.us-west-2.prod.farcaster.email.amazon.dev [10.0.14.132:2525] with esmtp (Farcaster) id b519ef6e-3b62-4e0d-a481-f37b717d2bd7; Wed, 16 Apr 2025 01:00:58 +0000 (UTC) X-Farcaster-Flow-ID: b519ef6e-3b62-4e0d-a481-f37b717d2bd7 Received: from EX19D004ANA001.ant.amazon.com (10.37.240.138) by EX19MTAUWC002.ant.amazon.com (10.250.64.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.1544.14; Wed, 16 Apr 2025 01:00:57 +0000 Received: from 6c7e67bfbae3.amazon.com (10.88.149.87) by EX19D004ANA001.ant.amazon.com (10.37.240.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.1544.14; Wed, 16 Apr 2025 01:00:54 +0000 From: Kuniyuki Iwashima To: CC: , , , , , , , , , , Subject: Re: [PATCH net-next 4/8] ipv4: Use nlmsg_payload in devinet file Date: Tue, 15 Apr 2025 18:00:45 -0700 Message-ID: <20250416010046.23273-1-kuniyu@amazon.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250415-nlmsg_v2-v1-4-a1c75d493fd7@debian.org> References: <20250415-nlmsg_v2-v1-4-a1c75d493fd7@debian.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: EX19D043UWA002.ant.amazon.com (10.13.139.53) To EX19D004ANA001.ant.amazon.com (10.37.240.138) From: Breno Leitao Date: Tue, 15 Apr 2025 12:28:55 -0700 > Leverage the new nlmsg_payload() helper to avoid checking for message > size and then reading the nlmsg data. > > Signed-off-by: Breno Leitao Reviewed-by: Kuniyuki Iwashima