[NETFILTER]: Avoid skb_copy/pskb_copy/skb_realloc_headroom
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 14 Oct 2007 07:39:55 +0000 (00:39 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 15 Oct 2007 19:26:28 +0000 (12:26 -0700)
commit2ca7b0ac022aa0158599178fe1056b1ba9ec8b97
tree6eece25447f0ec3b5d5f5533e49e10fde4d59f35
parentaf1e1cf073e3d038b7aac417a20585ecdcab7de6
[NETFILTER]: Avoid skb_copy/pskb_copy/skb_realloc_headroom

This patch replaces unnecessary uses of skb_copy, pskb_copy and
skb_realloc_headroom by functions such as skb_make_writable and
pskb_expand_head.

This allows us to remove the double pointers later.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/netfilter/ebt_dnat.c
net/bridge/netfilter/ebt_redirect.c
net/bridge/netfilter/ebt_snat.c
net/ipv4/netfilter.c
net/ipv4/netfilter/arpt_mangle.c
net/ipv4/netfilter/ip_queue.c
net/ipv4/netfilter/nf_nat_helper.c
net/ipv6/netfilter/ip6_queue.c
net/netfilter/nfnetlink_queue.c
net/netfilter/xt_TCPMSS.c