summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2008-01-28 20:47:09 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-31 19:27:08 -0800
commit406a1d868001423c85a3165288e566e65f424fe6 (patch)
tree2663aa7139f884ba5ef0425911fc9a579fcb1c6f /ipc
parent29ffe1a5c52dae13b6efead97aab9b058f38fce4 (diff)
[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> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions