Vlad Buslov
a3df633a3c
net: sched: act_tunnel_key: fix NULL pointer dereference during init
...
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 <vladbu@mellanox.com>
Reviewed-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-02-25 10:13:38 -08:00
..
2018-12-10 15:54:34 -08:00
2018-08-31 22:50:15 -07:00
2018-08-31 22:57:43 -07:00
2018-08-31 22:50:15 -07:00
2018-10-22 19:40:55 -07:00
2018-09-04 21:33:03 -07:00
2019-02-24 17:28:55 -08:00
2017-12-13 13:18:46 -05:00
2017-10-12 22:13:20 -07:00
2017-12-13 13:18:46 -05:00
2018-11-11 10:21:31 -08:00
2018-09-08 10:18:25 -07:00
2018-11-16 19:53:45 -08:00
2018-11-30 17:14:06 -08:00
2018-09-18 09:33:27 -07:00
2018-08-31 22:50:15 -07:00
2019-02-24 17:31:43 -08:00
2018-08-31 22:50:15 -07:00
2019-02-25 10:13:38 -08:00
2018-11-08 20:45:04 -08:00
2019-01-16 13:25:11 -08:00
2018-07-24 14:10:42 -07:00
2018-12-14 15:32:19 -08:00
2018-05-24 22:56:15 -04:00
2018-05-24 22:56:15 -04:00
2019-02-04 09:19:14 -08:00
2018-05-24 22:56:15 -04:00
2018-12-14 15:32:19 -08:00
2018-05-24 22:56:15 -04:00
2007-07-10 22:16:41 -07:00
2007-07-10 22:16:41 -07:00
2018-05-24 22:56:15 -04:00
2019-02-12 14:10:56 -05:00
2018-12-14 15:32:19 -08:00
2014-10-06 18:02:32 -04:00
2011-01-19 23:31:12 -08:00
2016-11-03 10:56:21 +01:00
2018-02-21 13:15:33 -05:00
2017-07-01 07:39:08 -07:00
2018-01-24 14:52:40 -05:00
2015-02-22 15:59:54 -05:00
2011-01-19 23:31:12 -08:00
2017-10-16 21:00:40 +01:00
2018-10-04 13:52:23 -07:00
2018-10-04 13:52:23 -07:00
2018-12-27 13:04:52 -08:00
2018-09-25 20:17:35 -07:00
2018-06-17 08:42:33 +09:00
2019-01-15 20:12:01 -08:00
2018-09-25 20:17:35 -07:00
2019-01-15 20:12:00 -08:00
2017-12-21 12:32:50 -05:00
2017-12-21 12:32:50 -05:00
2019-01-15 20:12:00 -08:00
2019-01-15 20:12:00 -08:00
2018-11-16 20:39:34 -08:00
2018-09-25 20:17:35 -07:00
2018-09-10 10:06:54 -07:00
2018-11-20 09:51:32 -08:00
2019-02-11 12:38:51 -08:00
2018-11-19 18:53:46 -08:00
2019-01-15 20:12:00 -08:00
2018-09-10 10:06:54 -07:00
2019-01-15 20:12:00 -08:00
2018-01-17 14:53:57 -05:00
2018-11-14 08:51:28 -08:00
2018-09-25 20:17:35 -07:00
2018-09-25 20:17:35 -07:00
2018-12-09 21:43:31 -08:00
2018-10-07 20:39:01 -07:00
2017-12-21 12:32:50 -05:00
2019-01-15 20:12:00 -08:00
2019-01-15 20:12:00 -08:00
2018-11-14 08:51:28 -08:00
2018-09-25 20:17:35 -07:00
2017-12-21 12:32:51 -05:00
2018-07-24 14:44:00 -07:00
2018-10-04 13:52:23 -07:00
2019-01-15 20:12:00 -08:00
2017-12-21 12:32:50 -05:00