Page MenuHomeFreeBSD

D41100.diff
No OneTemporary

D41100.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
@@ -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

Mime Type
text/plain
Expires
Tue, Jan 28, 1:12 AM (10 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16231957
Default Alt Text
D41100.diff (532 B)

Event Timeline