Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
From: Pekka Enberg <hidden>
Date: 2008-07-24 12:41:11
Also in:
lkml
From: Pekka Enberg <hidden>
Date: 2008-07-24 12:41:11
Also in:
lkml
Hi Herbert, On Thu, Jul 24, 2008 at 02:03:50PM +0200, Patrick McHardy wrote:
quoted
Does reverting 31d8519c fix this?
On Thu, Jul 24, 2008 at 3:22 PM, Herbert Xu [off-list ref] wrote:
Regardless of whether this is the problem, banning ksize because it can be abused is like banning cars because they can kill people. For example, Ethernet skbs are 1500 bytes long, so using ksize we could potentially use the left-over memory for temporary storage.
Using ksize() for skbs will crash your kernel for some configurations
because calling that function for memory allocated with
kmem_cache_alloc() is not supported by all the allocators (well,
SLOB).
Pekka