Files
msm-5.15/drivers/net/ethernet
Jian Shen d4249d465d net: ionic: fix error check for vlan flags in ionic_set_nic_features()
[ Upstream commit a86e86db5e6d72c82724a63ca1c5293409a21518 ]

The prototype of input features of ionic_set_nic_features() is
netdev_features_t, but the vlan_flags is using the private
definition of ionic drivers. It should use the variable
ctx.cmd.lif_setattr.features, rather than features to check
the vlan flags. So fixes it.

Fixes: beead698b1 ("ionic: Add the basic NDO callbacks for netdev support")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Acked-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-17 14:23:37 +02:00
..
2022-03-08 19:12:41 +01:00
2022-03-08 19:12:41 +01:00
2022-07-21 21:24:26 +02:00
2022-03-08 19:12:41 +01:00
2022-08-03 12:03:54 +02:00
2022-07-07 17:53:28 +02:00
2021-11-18 19:16:32 +01:00