Messages in this thread | | | Date | Thu, 24 Jul 2008 15:40:40 +0300 | From | "Pekka Enberg" <> | Subject | Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference |
| |
Hi Herbert,
On Thu, Jul 24, 2008 at 02:03:50PM +0200, Patrick McHardy wrote: >> Does reverting 31d8519c fix this?
On Thu, Jul 24, 2008 at 3:22 PM, Herbert Xu <herbert@gondor.apana.org.au> 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
| |