aboutsummaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2005-08-09 22:37:23 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 18:34:40 -0400
commit089af26c706d1473f641c909fee7c878d29c1f1a (patch)
tree6dd04c64ad16c998eaf8850ee8e520da2c5cb7d4 /net/core
parent373ac73595491b7c1f2f10cb37e9b7bae6901227 (diff)
[NETFILTER]: Rename skb_ip_make_writable() to skb_make_writable()
There is nothing IPv4-specific in it. In fact, it was already used by IPv6, too... Upcoming nfnetlink_queue code will use it for any kind of packet. Signed-off-by: Harald Welte <laforge@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/netfilter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/core/netfilter.c b/net/core/netfilter.c
index 076c156d5eda..bbf9081a6804 100644
--- a/net/core/netfilter.c
+++ b/net/core/netfilter.c
@@ -512,8 +512,9 @@ int ip_route_me_harder(struct sk_buff **pskb)
512 return 0; 512 return 0;
513} 513}
514EXPORT_SYMBOL(ip_route_me_harder); 514EXPORT_SYMBOL(ip_route_me_harder);
515#endif /*CONFIG_INET*/
515 516
516int skb_ip_make_writable(struct sk_buff **pskb, unsigned int writable_len) 517int skb_make_writable(struct sk_buff **pskb, unsigned int writable_len)
517{ 518{
518 struct sk_buff *nskb; 519 struct sk_buff *nskb;
519 520
@@ -540,8 +541,7 @@ copy_skb:
540 *pskb = nskb; 541 *pskb = nskb;
541 return 1; 542 return 1;
542} 543}
543EXPORT_SYMBOL(skb_ip_make_writable); 544EXPORT_SYMBOL(skb_make_writable);
544#endif /*CONFIG_INET*/
545 545
546/* Internal logging interface, which relies on the real 546/* Internal logging interface, which relies on the real
547 LOG target modules */ 547 LOG target modules */