yes but the guy who answered came back empty (it was midnight though) 
their code is correct since i'm using the version they are shipping with the kernel.

so the error is in my part but how can the kernel crash in a kmalloc?
I dont get it

On Fri, Jun 22, 2012 at 2:55 PM, Jonathan Neuschäfer <j.neuschaefer@gmx.net> wrote:
On Fri, Jun 22, 2012 at 03:50:49AM +0300, NorthPole wrote:
> for(i=0;i<250;i++)
> registerTvlv(i,0x01,1,&batadv_ogm_packet->gw_flags,bat_priv,batadv_ogm_packet);

Have you asked the people at irc.freenode.org #batman?