commit | 5c1d260ed10cf08dd7a0299c103ad0a3f9a9f7a1 | [log] [tgz] |
---|---|---|
author | Roi Dayan <roid@mellanox.com> | Thu Mar 21 15:51:35 2019 -0700 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Fri Mar 29 12:24:42 2019 -0700 |
tree | 88063203851f403b0fbb7ae8bedd7672a5eb2518 | |
parent | 84be899f6fd233ff2aeaf14cc43e6457425122b2 [diff] |
net/mlx5: E-Switch, Protect from invalid memory access in offload fdb table The esw offloads structures share a union with the legacy mode structs. Reset the offloads struct to zero in init to protect from null assumptions made by the legacy mode code. Signed-off-by: Roi Dayan <roid@mellanox.com> Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>