Revision d71f895c31952cfd3277f82ebed60fc3f2350b52 authored by Eli Cohen on 27 June 2019, 05:34:41 UTC, committed by Saeed Mahameed on 15 July 2019, 20:04:04 UTC
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>
1 parent f384e62
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 206 bytes |
hostfs.h | -rw-r--r-- | 3.4 KB |
hostfs_kern.c | -rw-r--r-- | 20.5 KB |
hostfs_user.c | -rw-r--r-- | 7.3 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...