Eli Cohen
d71f895c31
net/mlx5e: Verify encapsulation is supported
...
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>
2019-07-15 13:04:04 -07:00
..
2019-05-21 10:50:46 +02:00
2019-05-30 11:26:32 -07:00
2019-07-08 19:48:57 -07:00
2019-05-30 11:29:22 -07:00
2019-07-05 15:24:41 -07:00
2019-07-12 15:38:07 -07:00
2019-07-15 13:04:04 -07:00
2019-06-26 13:05:42 -07:00
2019-06-22 16:43:08 -07:00
2019-06-05 17:37:13 +02:00
2019-07-15 11:06:27 -07:00
2019-06-14 19:47:05 -07:00
2019-06-05 17:37:10 +02:00
2019-06-07 09:29:14 -07:00
2019-07-09 14:38:50 -07:00
2019-07-12 15:26:29 -07:00
2019-06-07 11:00:14 -07:00
2019-07-12 22:58:49 -07:00
2019-05-21 10:50:46 +02:00
2019-06-27 21:06:39 -07:00
2019-07-05 15:37:32 -07:00
2019-07-15 11:06:27 -07:00
2019-06-17 20:20:36 -07:00
2019-06-05 17:30:29 +02:00
2019-07-12 11:05:41 -07:00
2019-05-31 14:36:48 -07:00
2019-05-21 10:50:45 +02:00
2019-06-21 09:58:42 -07:00
2019-07-07 18:42:48 -07:00
2019-05-30 11:26:32 -07:00
2019-05-21 10:50:46 +02:00
2019-07-03 11:24:38 -07:00
2019-07-02 14:12:29 -07:00
2019-06-07 11:00:14 -07:00
2019-05-21 10:50:45 +02:00
2019-05-14 15:20:11 -07:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-05-21 10:50:45 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-21 10:50:45 +02:00
2019-07-08 19:25:19 -07:00
2019-07-08 19:25:19 -07:00
2019-06-25 14:26:54 +02:00
2019-06-14 19:34:27 -07:00
2019-06-27 21:06:39 -07:00
2019-05-21 10:50:45 +02:00
2019-07-08 19:48:57 -07:00