aboutsummaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2010-10-19 03:12:10 -0400
committerDavid S. Miller <davem@davemloft.net>2010-10-21 07:26:38 -0400
commitd0c2b0d265a0f1f92922a99a31def9da582197ac (patch)
tree5854f0e44bf594a2b123622a250619c97792e4f2 /net/core
parenta0e00369f1e1ff9142a20efe4785890e52b2e525 (diff)
napi: unexport napi_reuse_skb
The function napi_reuse_skb is only used inside core. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/dev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index 97fd6bc2004..b2269ac04cb 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -3301,7 +3301,7 @@ gro_result_t napi_gro_receive(struct napi_struct *napi, struct sk_buff *skb)
3301} 3301}
3302EXPORT_SYMBOL(napi_gro_receive); 3302EXPORT_SYMBOL(napi_gro_receive);
3303 3303
3304void napi_reuse_skb(struct napi_struct *napi, struct sk_buff *skb) 3304static void napi_reuse_skb(struct napi_struct *napi, struct sk_buff *skb)
3305{ 3305{
3306 __skb_pull(skb, skb_headlen(skb)); 3306 __skb_pull(skb, skb_headlen(skb));
3307 skb_reserve(skb, NET_IP_ALIGN - skb_headroom(skb)); 3307 skb_reserve(skb, NET_IP_ALIGN - skb_headroom(skb));
@@ -3309,7 +3309,6 @@ void napi_reuse_skb(struct napi_struct *napi, struct sk_buff *skb)
3309 3309
3310 napi->skb = skb; 3310 napi->skb = skb;
3311} 3311}
3312EXPORT_SYMBOL(napi_reuse_skb);
3313 3312
3314struct sk_buff *napi_get_frags(struct napi_struct *napi) 3313struct sk_buff *napi_get_frags(struct napi_struct *napi)
3315{ 3314{