diff options
author | Alaa Hleihel <[email protected]> | 2018-09-05 11:43:23 +0300 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2018-10-01 10:58:00 -0700 |
commit | 4d8fcf216c90bc25e34ae2200aa8985ee3158898 (patch) | |
tree | 78b1569cdc943657507b28ddac738466b1281297 /include/linux/fpga/fpga-mgr.h | |
parent | 43955a45dc0b4f3be7f0c3afc0e080ed59bb5280 (diff) |
net/mlx5e: Avoid unbounded peer devices when unpairing TC hairpin rules
If the peer device was already unbound, then do not attempt to modify
it's resources, otherwise we will crash on dereferencing non-existing
device.
Fixes: 5c65c564c962 ("net/mlx5e: Support offloading TC NIC hairpin flows")
Signed-off-by: Alaa Hleihel <[email protected]>
Reviewed-by: Or Gerlitz <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions