Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154351212
D41100.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
532 B
Referenced Files
None
Subscribers
None
D41100.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
@@ -993,12 +993,12 @@
INP_RUNLOCK(inp);
if (inp->inp_vflag & INP_IPV6) {
- if ((if_getcapenable2(ifp) & IFCAP2_RXTLS6) == 0) {
+ if ((if_getcapenable2(ifp) & IFCAP2_BIT(IFCAP2_RXTLS6)) == 0) {
error = EOPNOTSUPP;
goto out;
}
} else {
- if ((if_getcapenable2(ifp) & IFCAP2_RXTLS4) == 0) {
+ if ((if_getcapenable2(ifp) & IFCAP2_BIT(IFCAP2_RXTLS4)) == 0) {
error = EOPNOTSUPP;
goto out;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 29, 12:56 AM (9 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32290332
Default Alt Text
D41100.diff (532 B)
Attached To
Mode
D41100: ktls_alloc_rcv_tag: Fix capability checks for RXTLS4/6.
Attached
Detach File
Event Timeline
Log In to Comment