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 293086 Details for
Bug 429417
[RHEL5 U2] Kernel SKB BUG: Invalid truesize (1580) len=1514, sizeof(sk_buff)=172
[?]
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]
Fix audit_expand to increase truesize
p (text/plain), 720 bytes, created by
Herbert Xu
on 2008-01-27 21:17:55 UTC
(
hide
)
Description:
Fix audit_expand to increase truesize
Filename:
MIME Type:
Creator:
Herbert Xu
Created:
2008-01-27 21:17:55 UTC
Size:
720 bytes
patch
obsolete
>diff --git a/kernel/audit.c b/kernel/audit.c >index f93c271..801c946 100644 >--- a/kernel/audit.c >+++ b/kernel/audit.c >@@ -1200,13 +1200,17 @@ struct audit_buffer *audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, > static inline int audit_expand(struct audit_buffer *ab, int extra) > { > struct sk_buff *skb = ab->skb; >- int ret = pskb_expand_head(skb, skb_headroom(skb), extra, >- ab->gfp_mask); >+ int oldtail = skb_tailroom(skb); >+ int ret = pskb_expand_head(skb, 0, extra, ab->gfp_mask); >+ int newtail = skb_tailroom(skb); >+ > if (ret < 0) { > audit_log_lost("out of memory in audit_expand"); > return 0; > } >- return skb_tailroom(skb); >+ >+ skb->truesize += newtail - oldtail; >+ return newtail; > } > > /*
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 429417
:
292578
|
292579
|
292610
|
292869
|
293075
| 293086