From: Vlad Buslov <vla...@mellanox.com> Date: Mon, 25 Feb 2019 17:28:27 +0200
> Metadata pointer is only initialized for action TCA_TUNNEL_KEY_ACT_SET, but > it is unconditionally dereferenced in tunnel_key_init() error handler. > Verify that metadata pointer is not NULL before dereferencing it in > tunnel_key_init error handling code. > > Fixes: ee28bb56ac5b ("net/sched: fix memory leak in act_tunnel_key_init()") > Signed-off-by: Vlad Buslov <vla...@mellanox.com> Applied and queued up for -stable.