skb_ip_make_writable and skbs not owned by a socket

Patrick McHardy kaber at trash.net
Sun Jan 2 22:19:45 CET 2005


Hi,

skb_ip_make_writable copies the packet as soon as the data area needs
to be touched. This is of course necessary for packets generated locally,
but can't we mangle the data area of skbs with skb->sk == NULL without
copying them ?

Regards
Patrick




More information about the netfilter-devel mailing list