Messages in this thread | | | Date | Mon, 02 Feb 2004 13:51:20 +0200 | From | Emmanuel Guiton <> | Subject | Handling sk_buff correctly. |
| |
Hi!
I'm writing a module where I need to build and send a packet by hand. For this I properly (at least I hope so) fill a sk_buff structure and send it using NF_HOOK (seem to work fine, NF_HOOK returns 0). Sending one packet goes fine, sending several leads to kernel crashes. I think I don't handle correctly the release of the memory, but how should I do? I have no destructor function in my sk_buff, do I have to have one? (here, my attempts also lead to kernel crashes).
Bye,
Emmanuel
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |