Hi there,
I want to modify an skb at this point:
with a kernel 2.2, in ip_output.c, ip_buil_xmit, after the FIREWALL
code, I want
to add (always) an extra header(similar to ipip). Something like this:
........
ret = modify_skb(&skb, rt);
return rt->u.dst.output(skb);
error_fault:
err = -EFAULT;
kfree_skb(skb);
error:
If I need a new skb(because there is enough space to an extra header),
what I have
to do create a new skb that works correctly?. What happen with the sock
entry?.
I ask you because after modify the skb, the packet is lost(no output
with tcpdump)....is there any final check?.
Thanks in advance.
Javier.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]