Commit cfc5c86
DO-NOT-MERGE: mptcp: improve code coverage for CI
mptcp: use kmalloc on kasan build
Helps detection UaF, which apparently kasan misses with kmem_cache
allocator.
We also need to always set the SOCK_RCU_FREE flag, to preserved the
current code leveraging SLAB_TYPESAFE_BY_RCU. This latter change will
make unreachable some existing errors path, but I don't see other
options.
tcp: warn if tcp_done() is called on a closed socket
This is an extra check mainly for the CIs: to make sure we don't call
tcp_done() on an already closed socket as it happened in the past. If
we do such call, better to catch the error earlier.
Co-developed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>1 parent 7efea04 commit cfc5c86
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4524 | 4524 | | |
4525 | 4525 | | |
4526 | 4526 | | |
| 4527 | + | |
| 4528 | + | |
4527 | 4529 | | |
4528 | 4530 | | |
4529 | 4531 | | |
| |||
0 commit comments