diff options
author | 2022-02-25 11:15:16 +0100 | |
---|---|---|
committer | 2022-02-25 12:54:48 +0000 | |
commit | b3a34dc362c03215031b268fcc0b988e69490231 (patch) | |
tree | 39d8918e9fef64857e5f006c322a3c44c581bc6e /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | net: chelsio: cxgb3: check the return value of pci_find_capability() (diff) | |
download | linux-dev-b3a34dc362c03215031b268fcc0b988e69490231.tar.xz linux-dev-b3a34dc362c03215031b268fcc0b988e69490231.zip |
net: sparx5: Fix add vlan when invalid operation
Check if operation is valid before changing any
settings in hardware. Otherwise it results in
changes being made despite it not being a valid
operation.
Fixes: 78eab33bb68b ("net: sparx5: add vlan support")
Signed-off-by: Casper Andersson <casper.casan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions