]> err.no Git - linux-2.6/commit
[NETFILTER]: Do not copy skb in skb_make_writable
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 14 Oct 2007 07:39:18 +0000 (00:39 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 15 Oct 2007 19:26:27 +0000 (12:26 -0700)
commit37d41879224108d6c24578ba6a3eeafce106ce84
tree96eb40eb2be71feef1c675800662084be14b2e96
parent7b995651e373d6424f81db23f2ec503306dfd7f0
[NETFILTER]: Do not copy skb in skb_make_writable

Now that all callers of netfilter can guarantee that the skb is not shared,
we no longer have to copy the skb in skb_make_writable.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
18 files changed:
include/linux/netfilter.h
net/ipv4/netfilter/ip_queue.c
net/ipv4/netfilter/ipt_ECN.c
net/ipv4/netfilter/ipt_TOS.c
net/ipv4/netfilter/ipt_TTL.c
net/ipv4/netfilter/nf_nat_core.c
net/ipv4/netfilter/nf_nat_helper.c
net/ipv4/netfilter/nf_nat_proto_gre.c
net/ipv4/netfilter/nf_nat_proto_icmp.c
net/ipv4/netfilter/nf_nat_proto_tcp.c
net/ipv4/netfilter/nf_nat_proto_udp.c
net/ipv4/netfilter/nf_nat_snmp_basic.c
net/ipv6/netfilter/ip6_queue.c
net/ipv6/netfilter/ip6t_HL.c
net/netfilter/core.c
net/netfilter/nfnetlink_queue.c
net/netfilter/xt_DSCP.c
net/netfilter/xt_TCPMSS.c