diff options
author | Vlad Buslov <vladbu@mellanox.com> | 2019-08-19 10:33:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-19 18:16:23 -0700 |
commit | 1edfb8ed6cc12107c2ec61b5be7bc881cfc4460e (patch) | |
tree | eb3ec422bff4b3c0e68f8dd9aca1918ccc43b4f2 /net/smc/smc_tx.c | |
parent | cd9d4ff9b78fcd0fc4708900ba3e52e71e1a7690 (diff) | |
download | lwn-1edfb8ed6cc12107c2ec61b5be7bc881cfc4460e.tar.gz lwn-1edfb8ed6cc12107c2ec61b5be7bc881cfc4460e.zip |
nfp: flower: verify that block cb is not busy before binding
When processing FLOW_BLOCK_BIND command on indirect block, check that flow
block cb is not busy.
Fixes: 0d4fd02e7199 ("net: flow_offload: add flow_block_cb_is_busy() and use it")
Reported-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_tx.c')
0 files changed, 0 insertions, 0 deletions