aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/netdevice.h2
-rw-r--r--net/core/dev.c3
2 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index ed7db7eebbf3..fcd3dda86322 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1748,8 +1748,6 @@ extern gro_result_t napi_skb_finish(gro_result_t ret, struct sk_buff *skb);
1748extern gro_result_t napi_gro_receive(struct napi_struct *napi, 1748extern gro_result_t napi_gro_receive(struct napi_struct *napi,
1749 struct sk_buff *skb); 1749 struct sk_buff *skb);
1750extern void napi_gro_flush(struct napi_struct *napi); 1750extern void napi_gro_flush(struct napi_struct *napi);
1751extern void napi_reuse_skb(struct napi_struct *napi,
1752 struct sk_buff *skb);
1753extern struct sk_buff * napi_get_frags(struct napi_struct *napi); 1751extern struct sk_buff * napi_get_frags(struct napi_struct *napi);
1754extern gro_result_t napi_frags_finish(struct napi_struct *napi, 1752extern gro_result_t napi_frags_finish(struct napi_struct *napi,
1755 struct sk_buff *skb, 1753 struct sk_buff *skb,
diff --git a/net/core/dev.c b/net/core/dev.c
index 97fd6bc2004c..b2269ac04cb8 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{