Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 303597 Details for
Bug 442820
IPV6DOD: ESP with 3des-cbc for encrypt and authentication set to "null"
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
RHEL5 back-port
p (text/plain), 851 bytes, created by
Herbert Xu
on 2008-04-24 06:57:35 UTC
(
hide
)
Description:
RHEL5 back-port
Filename:
MIME Type:
Creator:
Herbert Xu
Created:
2008-04-24 06:57:35 UTC
Size:
851 bytes
patch
obsolete
>diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c >index be3b301..c03eb1b 100644 >--- a/net/xfrm/xfrm_policy.c >+++ b/net/xfrm/xfrm_policy.c >@@ -1107,13 +1107,16 @@ static inline int > xfrm_state_ok(struct xfrm_tmpl *tmpl, struct xfrm_state *x, > unsigned short family) > { >+ /* If all masks are ~0, then we allow all algorithms. */ >+ int allalgs = !~(tmpl->aalgos & tmpl->ealgos & tmpl->calgos); >+ > if (xfrm_state_kern(x)) > return tmpl->optional && !xfrm_state_addr_cmp(tmpl, x, family); > return x->id.proto == tmpl->id.proto && > (x->id.spi == tmpl->id.spi || !tmpl->id.spi) && > (x->props.reqid == tmpl->reqid || !tmpl->reqid) && > x->props.mode == tmpl->mode && >- (tmpl->aalgos & (1<<x->props.aalgo)) && >+ (allalgs || (tmpl->aalgos & (1<<x->props.aalgo))) && > !(x->props.mode && xfrm_state_addr_cmp(tmpl, x, family)); > } >
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 442820
:
302766
|
302767
|
302787
|
302788
|
303276
| 303597