Page MenuHomeFreeBSD

D37352.diff
No OneTemporary

D37352.diff

diff --git a/sys/kern/uipc_ktls.c b/sys/kern/uipc_ktls.c
--- a/sys/kern/uipc_ktls.c
+++ b/sys/kern/uipc_ktls.c
@@ -744,7 +744,7 @@
return (0);
out:
- ktls_cleanup(tls);
+ ktls_free(tls);
return (error);
}
@@ -1309,7 +1309,7 @@
error = ktls_ocf_try(so, tls, KTLS_RX);
if (error) {
- ktls_cleanup(tls);
+ ktls_free(tls);
return (error);
}
@@ -1387,13 +1387,13 @@
error = ktls_try_sw(so, tls, KTLS_TX);
if (error) {
- ktls_cleanup(tls);
+ ktls_free(tls);
return (error);
}
error = SOCK_IO_SEND_LOCK(so, SBL_WAIT);
if (error) {
- ktls_cleanup(tls);
+ ktls_free(tls);
return (error);
}

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 22, 10:16 AM (6 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30093691
Default Alt Text
D37352.diff (636 B)

Event Timeline