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 |
---|---|---|
Kconfig | -rw-r--r-- | 680 bytes |
Makefile | -rw-r--r-- | 247 bytes |
alloc.c | -rw-r--r-- | 14.4 KB |
anode.c | -rw-r--r-- | 15.4 KB |
buffer.c | -rw-r--r-- | 5.3 KB |
dentry.c | -rw-r--r-- | 1.4 KB |
dir.c | -rw-r--r-- | 8.6 KB |
dnode.c | -rw-r--r-- | 30.4 KB |
ea.c | -rw-r--r-- | 11.4 KB |
file.c | -rw-r--r-- | 5.7 KB |
hpfs.h | -rw-r--r-- | 17.9 KB |
hpfs_fn.h | -rw-r--r-- | 13.1 KB |
inode.c | -rw-r--r-- | 8.8 KB |
map.c | -rw-r--r-- | 9.8 KB |
name.c | -rw-r--r-- | 3.2 KB |
namei.c | -rw-r--r-- | 15.7 KB |
super.c | -rw-r--r-- | 19.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...