From: Herbert Xu Date: Tue, 29 Jan 2008 04:47:09 +0000 (-0800) Subject: [AUDIT]: Increase skb->truesize in audit_expand X-Git-Tag: v2.6.25-rc1~1089^2~127 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=406a1d868001423c85a3165288e566e65f424fe6;p=pandora-kernel.git [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 Acked-by: James Morris Signed-off-by: David S. Miller --- Reading git-diff-tree failed