commit | 31634bf5dcc418b5b2cacd954394c0c4620db6a2 | [log] [tgz] |
---|---|---|
author | Saeed Mahameed <saeedm@mellanox.com> | Tue Mar 19 22:09:05 2019 -0700 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Tue Apr 09 12:33:49 2019 -0700 |
tree | 120b30a5b675b1247551ca974529946d24ba76bd | |
parent | c03fd0171ba6c8807ff5ba7c797896c84e18f3bc [diff] |
net/mlx5: FPGA, tls, hold rcu read lock a bit longer To avoid use-after-free, hold the rcu read lock until we are done copying flow data into the command buffer. Fixes: ab412e1dd7db ("net/mlx5: Accel, add TLS rx offload routines") Reported-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>