lkml.org 
[lkml]   [2008]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [AUDIT]: Increase skb->truesize in audit_expand
From
From: James Morris <jmorris@namei.org>
Date: Tue, 29 Jan 2008 01:13:03 +1100 (EST)

> On Mon, 28 Jan 2008, Herbert Xu wrote:
>
> > Hi:
> >
> > [AUDIT]: Increase skb->truesize in audit_expand
> >
> > The recent UDP patch exposed this bug in the audit code. It
> > was calling pskb_expand_head without increasing skb->truesize.
> > The caller of pskb_expand_head needs to do so because that function
> > is designed to be called in places where truesize is already fixed
> > and therefore it doesn't update its value.
> >
> > Because the audit system is using it in a place where the truesize
> > has not yet been fixed, it needs to update its value manually.
> >
> > Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
>
> Acked-by: James Morris <jmorris@namei.org>
>
>
> (Candidate for stable ?)

Applied, and yes I'll queue this up for -stable.


\
 
 \ /
  Last update: 2008-01-29 05:49    [W:0.046 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site