From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=113.46.200.221 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796193344; b=osYNwRv1Qj92WBg9+O1m29NOWEhXGPORIFG031fInl7FeoWeZaq8Fs40eX84sEjauy+6 Vj0v2UjegAkDGmvzeo9IToOTRfmstTGbHJdW7phhRL1dP+Ba0a+16SdAb4zCHCVrZGfE0 to/G3R3sYX8UIVn76CwH93hCO0V8G+HhR4OskPmGcHDYjZIL52lY27+E/JlBQiiBqBLBU dEx2qx0gODCpg9GEEHvNSmCR9Iwq6AdL7eD+CHk1QqOs1Xr8KignH6oAPC0XW5zxN33yL gFsCrXQkJq4dk6CPWa4u36z5ftYpHuLn3smmWbUb2l0jyKQDoU2iFvoao43RzSNCafQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796193344; h=DMARC-Filter:dkim-signature:Received:Received:Received:Message-ID: Date:MIME-Version:User-Agent:Subject:To:References:From:In-Reply-To: Content-Type:Content-Transfer-Encoding:X-Originating-IP: X-ClientProxiedBy; bh=pUo4nKYLUFpyHvX40jKQPa3mcRTvC5E1hEPz03OGDW0=; b=M16ejRqU7zwugpeReP91C7HKVkNaM0z3LPkE+SIkwZ3jOjalunJKzTeqf83rWj+zJys7 X73cdmDjiw+vSs3ekP23Hf/o6Zkyp6eGCLxvDHfN0Rx3MLOu0UVgvZcggg9c/iDbDQmMN 1PUJ7regwh9YFT/Pndi3DDlXMcCSQ0RRKo7b+GT1itpFoQJZOw5X3hZT84uxIgk8NuHxd Id7GvlrvyyOhOHB6cagxbV39M/FbMK1OyhLQu4xU3FFQzVXJoR9nxSckzveNY4UxaWXFM ZmmrCtR2qAeG9C2iFX6LttdCtMxowsrORfpolHKtMsXSIhL0Fd4S6cdX46LCUl+8gTw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; dkim=pass header.d=huawei.com header.i=@huawei.com header.a=rsa-sha256 header.s=dkim header.b=rTrN3ZvM; arc=none smtp.remote-ip=113.46.200.221 Received: from canpmsgout06.his.huawei.com (canpmsgout06.his.huawei.com [113.46.200.221]) (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 E8B75606A329 for ; Wed, 2 Dec 2026 06:35:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E8B75606A329 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=huawei.com header.i=@huawei.com header.a=rsa-sha256 header.s=dkim header.b=rTrN3ZvM dkim-signature: v=1; a=rsa-sha256; d=huawei.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=pUo4nKYLUFpyHvX40jKQPa3mcRTvC5E1hEPz03OGDW0=; b=rTrN3ZvMv4gwvo9xVKgMq/f2tIVRzZSOk2PTmLzpLP3sJLi/eUSMXG0S3ygxrEB+3yNPh2SXJ wnC7615gVGjuVMO9MncY5LR3RFB5bfPHCcDiZsn/1625c4EMFJqHZy8d3l3PPzVB5PpMiGmadpF 17uAJJDSvJlYcutUx92yvRY= Received: from mail.maildlp.com (unknown [172.19.163.104]) by canpmsgout06.his.huawei.com (SkyGuard) with ESMTPS id 4jfSg543LmzRhS9; Wed, 2 Dec 2026 14:35:13 +0800 (CST) Received: from kwepemk200008.china.huawei.com (unknown [7.202.194.74]) by mail.maildlp.com (Postfix) with ESMTPS id 526BC4056E; Wed, 2 Dec 2026 14:35:36 +0800 (CST) Received: from [10.67.110.68] (10.67.110.68) by kwepemk200008.china.huawei.com (7.202.194.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.45; Wed, 2 Dec 2026 14:35:35 +0800 Message-ID: Date: Wed, 2 Dec 2026 14:35:35 +0800 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 net v2 2/2] net: hinic: Zero-initialise the VLAN filter request To: Paolo Abeni , , , , , , References: <20261124030946.1229396-1-ruanjinjie@huawei.com> <20261124030946.1229396-3-ruanjinjie@huawei.com> From: Jinjie Ruan In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-ClientProxiedBy: kwepems200001.china.huawei.com (7.221.188.67) To kwepemk200008.china.huawei.com (7.202.194.74) Hi Paolo, 在 2026/12/1 22:17, Paolo Abeni 写道: > On 11/24/26 04:09, Jinjie Ruan wrote: >> struct hinic_vlan_filter is filled in only in part: func_idx and enable >> are set, while status, version and both reserved arrays keep whatever the >> stack held.  The whole structure is passed to the device as buf_in, so >> those bytes are sent to firmware. >> >> Initialise it to zero.  Requesting a VLAN filter change is rare, so the >> cost is irrelevant, and it keeps reserved fields from carrying garbage >> across the management channel. >> >> Signed-off-by: Jinjie Ruan > > This one is really net-next material. Applying the same series half > to net and half to net-next foul our tools quite a bit. > > Please resubmit this one for net-next. Make sense for me Thanks, Jinjie > > /P