diff options
author | 2019-06-27 08:34:41 +0300 | |
---|---|---|
committer | 2019-07-15 13:04:04 -0700 | |
commit | d71f895c31952cfd3277f82ebed60fc3f2350b52 (patch) | |
tree | fa9b5f66349dfee6fd9707de0a3d7b0a457410d3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ISDN: hfcsusb: checking idx of ep configuration (diff) | |
download | wireguard-linux-d71f895c31952cfd3277f82ebed60fc3f2350b52.tar.xz wireguard-linux-d71f895c31952cfd3277f82ebed60fc3f2350b52.zip |
net/mlx5e: Verify encapsulation is supported
When mlx5e_attach_encap() calls mlx5e_get_tc_tun() to get the tunnel
info data struct, check that returned value is not NULL, as would be in
the case of unsupported encapsulation.
Fixes: d386939a327d2 ("net/mlx5e: Rearrange tc tunnel code in a modular way")
Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions