[NETFILTER]: nf_conntrack: add nf_copy() to safely copy members in skb
authorYasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Wed, 14 Mar 2007 23:44:01 +0000 (16:44 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:25:55 +0000 (22:25 -0700)
commite7ac05f3407a3fb5a1b2ff5d5554899eaa0a10a3
treed8360ce670e1a60110ef6ddff20399129c51eefc
parentedda553c324bdc5bb5c2d553b524cab37058a855
[NETFILTER]: nf_conntrack: add nf_copy() to safely copy members in skb

This unifies the codes to copy netfilter related datas. Before copying,
nf_copy() puts original members in destination skb.

Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/ipv4/ip_output.c
net/ipv6/ip6_output.c