diff options
-rw-r--r-- | include/linux/netdevice.h | 1 | ||||
-rw-r--r-- | net/core/dev.c | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index a3fccc85b1a0..468a11dea58c 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -1527,7 +1527,6 @@ extern int netif_rx(struct sk_buff *skb); | |||
1527 | extern int netif_rx_ni(struct sk_buff *skb); | 1527 | extern int netif_rx_ni(struct sk_buff *skb); |
1528 | #define HAVE_NETIF_RECEIVE_SKB 1 | 1528 | #define HAVE_NETIF_RECEIVE_SKB 1 |
1529 | extern int netif_receive_skb(struct sk_buff *skb); | 1529 | extern int netif_receive_skb(struct sk_buff *skb); |
1530 | extern void napi_gro_flush(struct napi_struct *napi); | ||
1531 | extern gro_result_t dev_gro_receive(struct napi_struct *napi, | 1530 | extern gro_result_t dev_gro_receive(struct napi_struct *napi, |
1532 | struct sk_buff *skb); | 1531 | struct sk_buff *skb); |
1533 | extern gro_result_t napi_skb_finish(gro_result_t ret, struct sk_buff *skb); | 1532 | extern gro_result_t napi_skb_finish(gro_result_t ret, struct sk_buff *skb); |
diff --git a/net/core/dev.c b/net/core/dev.c index a008f6987a95..5747b9edc1bb 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -2582,7 +2582,7 @@ out: | |||
2582 | return netif_receive_skb(skb); | 2582 | return netif_receive_skb(skb); |
2583 | } | 2583 | } |
2584 | 2584 | ||
2585 | void napi_gro_flush(struct napi_struct *napi) | 2585 | static void napi_gro_flush(struct napi_struct *napi) |
2586 | { | 2586 | { |
2587 | struct sk_buff *skb, *next; | 2587 | struct sk_buff *skb, *next; |
2588 | 2588 | ||
@@ -2595,7 +2595,6 @@ void napi_gro_flush(struct napi_struct *napi) | |||
2595 | napi->gro_count = 0; | 2595 | napi->gro_count = 0; |
2596 | napi->gro_list = NULL; | 2596 | napi->gro_list = NULL; |
2597 | } | 2597 | } |
2598 | EXPORT_SYMBOL(napi_gro_flush); | ||
2599 | 2598 | ||
2600 | enum gro_result dev_gro_receive(struct napi_struct *napi, struct sk_buff *skb) | 2599 | enum gro_result dev_gro_receive(struct napi_struct *napi, struct sk_buff *skb) |
2601 | { | 2600 | { |