diff options
author | Jian Shen <shenjian15@huawei.com> | 2022-07-29 18:17:55 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-08-01 12:09:34 -0700 |
commit | a86e86db5e6d72c82724a63ca1c5293409a21518 (patch) | |
tree | 79d5ee128ba78a7473328afbd65c2b68fe8b1903 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 7dc839fe47611e6995f370cae37b9797cf7d2672 (diff) |
net: ionic: fix error check for vlan flags in ionic_set_nic_features()
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: beead698b173 ("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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions