Hi!
> Here's a patch (hand pulled out of a larger patch of mine) which should
> fix things.
>
> - data = (char *)&th[1];
> + data = (char *)th + sizeof(struct tcphdr);
May be I'm missing something, but I think this should be like this:
data = (char *)(((__u32 *) tcp) + tcp->doff);
-- ciao, Emanuele
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/