Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F116048410
D34086.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
392 B
Referenced Files
None
Subscribers
None
D34086.diff
View Options
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
@@ -1454,6 +1454,7 @@
return (EBUSY);
}
+ INP_WLOCK(inp);
SOCKBUF_LOCK(&so->so_snd);
so->so_snd.sb_tls_info = tls_new;
if (tls_new->mode != TCP_TLS_MODE_SW)
@@ -1475,7 +1476,6 @@
else
counter_u64_add(ktls_switch_to_sw, 1);
- INP_WLOCK(inp);
return (0);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 3, 1:46 AM (12 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17916722
Default Alt Text
D34086.diff (392 B)
Attached To
Mode
D34086: ktls: Write-lock the INP when changing a transmit TLS session.
Attached
Detach File
Event Timeline
Log In to Comment