From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-fw-52002.amazon.com (smtp-fw-52002.amazon.com [52.119.213.150]) (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 90E461FDA9E; Wed, 16 Apr 2025 01:04:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=52.119.213.150 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744765475; cv=none; b=Z4b4apmJH9y3MIfwgg5b3etFQkOICg/EtYkl3+//v+6XewhhLr4yqnSOvyt4Fy8Aa49J6WfmLE0dtEISrV2Uxw9hINnNhGnKNb+EqpJ4ZFpEzQ9uSCvcFiWf7POaZNQukdESXtwjA2PoDObs5Il7I4HwHi0mZumzn10CNeZKPfY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744765475; c=relaxed/simple; bh=/GN5//0khApZDeV3/QU1cv4jwzx2DHoR7L2Et4w6nmk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=QtXkmMRrv2YASjiOav026Uch274ybvdHkfTcNEnl0NyJSOevXUHtesKy33GUEpL4Kgpuqp684IwZJYDYI1DuGmP0G8Ta0PTG2BKIud3ltzxi+7CBx5Fa9dCN2SPgzNA2RI8zOVUiTxXad4eJXXADXZG72vojTP0Bv411Wb/GYCA= 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=nArdiCt/; arc=none smtp.client-ip=52.119.213.150 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="nArdiCt/" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1744765474; x=1776301474; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Wo8CbfOG5thLx5oYsZc118rz0h7ZghtQr/VOpd+yWgY=; b=nArdiCt/Lq5Wr/FIcC2t6f6hbfZ5yfZuyWPRsTHUX16EZEuZliZehLHN SCRs4Rp4T5CcofqO45wFOWzBeki/FdwCFuBpR6SpQr/oXREZmHZLEj9Sn SDwNJWAInYc00/l77a00Pu3MBu5v+F5rokTPycOGfnE1AcyZbRa2cvu1g 4=; X-IronPort-AV: E=Sophos;i="6.15,214,1739836800"; d="scan'208";a="714144774" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO smtpout.prod.us-west-2.prod.farcaster.email.amazon.dev) ([10.43.8.6]) by smtp-border-fw-52002.iad7.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2025 01:04:32 +0000 Received: from EX19MTAUWC002.ant.amazon.com [10.0.38.20:4308] by smtpin.naws.us-west-2.prod.farcaster.email.amazon.dev [10.0.21.195:2525] with esmtp (Farcaster) id 21201563-830a-4377-8d65-013676a97cc4; Wed, 16 Apr 2025 01:04:31 +0000 (UTC) X-Farcaster-Flow-ID: 21201563-830a-4377-8d65-013676a97cc4 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:04:30 +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:04:27 +0000 From: Kuniyuki Iwashima To: CC: , , , , , , , , , , Subject: Re: [PATCH net-next 6/8] ipv4: Use nlmsg_payload in route file Date: Tue, 15 Apr 2025 18:04:17 -0700 Message-ID: <20250416010418.23666-1-kuniyu@amazon.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250415-nlmsg_v2-v1-6-a1c75d493fd7@debian.org> References: <20250415-nlmsg_v2-v1-6-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: EX19D046UWB003.ant.amazon.com (10.13.139.174) To EX19D004ANA001.ant.amazon.com (10.37.240.138) From: Breno Leitao Date: Tue, 15 Apr 2025 12:28:57 -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