lkml.org 
[lkml]   [2008]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [AUDIT]: Increase skb->truesize in audit_expand
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 ?)


- James
--
James Morris <jmorris@namei.org>


\
 
 \ /
  Last update: 2008-01-28 15:17    [W:0.027 / U:0.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site