> Try poisoning the packet in __kfree_skb() (or skb_headerinit()):
> skb->head = skb->data = skb->tail = skb->end = NULL;
> This will catch almost anyone using a freed packet, and you'll get a
> OOPS in the right place.
I guess i have figured out what might be causing the problem. Actually i was
doing something like this in my NAT-PT module:
// get the packet at the pre-routing hook
// do the translation
ipv6_skb = alloc_skb(.....
When i removed the skb_unlink statement, everything started to work
fine....no longer do i get the memory overlap between ipv4_skb and
ipv6_skb.....So is it something like that when i unlink the skb it is
available for re-use??? If it is not something like that then the problem
might be because of something else....
btw, even when i removed my (faulty!) module, the kernel was behaving in a
nasty manner and i got corrupted ping packets (as i reported on the list
> Hope that helps,
> Premature optmztion is rt of all evl. --DK