Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/tls: swap sk_write_space on close
Now that we swap the original proto and clear the ULP pointer on close we have to make sure no callback will try to access the freed state. sk_write_space is not part of sk_prot, remember to swap it. Reported-by: [email protected] Fixes: 95fa145 ("bpf: sockmap/tls, close can race with map free") Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information