FreeBSD Bugzilla – Attachment 167113 Details for
Bug 207087
kernel: r295285 in 10.2-STABLE breaks OpenVPN functionality
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Only use tryfoward() when pfilter hooks are not present
tryforward-pfil-bypass.diff (text/plain), 688 bytes, created by
George V. Neville-Neil
on 2016-02-17 16:42:32 UTC
(
hide
)
Description:
Only use tryfoward() when pfilter hooks are not present
Filename:
MIME Type:
Creator:
George V. Neville-Neil
Created:
2016-02-17 16:42:32 UTC
Size:
688 bytes
patch
obsolete
>Index: ip_input.c >=================================================================== >--- ip_input.c (revision 294529) >+++ ip_input.c (working copy) >@@ -530,7 +530,7 @@ > #ifdef IPSEC > /* For now we do not handle IPSEC in tryforward. */ > if (!key_havesp(IPSEC_DIR_INBOUND) && !key_havesp(IPSEC_DIR_OUTBOUND) && >- (V_ipforwarding == 1)) >+ (V_ipforwarding == 1) && !PFIL_HOOKED(&V_inet_pfil_hook)) > if (ip_tryforward(m) == NULL) > return; > /* >@@ -539,7 +539,7 @@ > if (ip_ipsec_filtertunnel(m)) > goto passin; > #else >- if (V_ipforwarding == 1) >+ if ((V_ipforwarding == 1) && (!PFIL_HOOKED(&V_inet_pfil_hook))) > if (ip_tryforward(m) == NULL) > return; > #endif /* IPSEC */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 207087
:
166844
|
166845
|
166885
|
166886
|
166901
|
166908
|
166909
|
167003
|
167004
| 167113 |
167150