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
History
File Mode Size
apparmor
integrity
keys
loadpin
safesetid
selinux
smack
tomoyo
yama
Kconfig -rw-r--r-- 10.6 KB
Kconfig.hardening -rw-r--r-- 7.6 KB
Makefile -rw-r--r-- 1.1 KB
commoncap.c -rw-r--r-- 38.9 KB
device_cgroup.c -rw-r--r-- 20.5 KB
inode.c -rw-r--r-- 10.4 KB
lsm_audit.c -rw-r--r-- 10.6 KB
min_addr.c -rw-r--r-- 1.3 KB
security.c -rw-r--r-- 58.0 KB

back to top