summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2017-09-18 17:51:37 -0700
committerSasha Levin <alexander.levin@verizon.com>2017-10-05 20:43:20 -0400
commit99902f230d7a9b60849ec6f7817f3767d093897b (patch)
treeb997e5fb38d363d0dbcd20bd0b9da916cfeb7244
parent6a4a1817e990e0a2d63edd88aae17b625533ae89 (diff)
ipv6: Remove sit_gro_receive()
This was backported as part of 066b300e5be4 ("tunnels: Don't apply GRO to multiple layers of encapsulation.") but nothing uses this function, thus resulting in this build warning: net/ipv6/ip6_offload.c:264:25: warning: 'sit_gro_receive' defined but not used [-Wunused-function] static struct sk_buff **sit_gro_receive(struct sk_buff **head, ^ Just drop it for now. Fixes: 066b300e5be4 ("tunnels: Don't apply GRO to multiple layers of encapsulation.") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
-rw-r--r--net/ipv6/ip6_offload.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/net/ipv6/ip6_offload.c b/net/ipv6/ip6_offload.c
index 606a07890c68..1cb68e01c301 100644
--- a/net/ipv6/ip6_offload.c
+++ b/net/ipv6/ip6_offload.c
@@ -261,19 +261,6 @@ out:
return pp;
}
-static struct sk_buff **sit_gro_receive(struct sk_buff **head,
- struct sk_buff *skb)
-{
- if (NAPI_GRO_CB(skb)->encap_mark) {
- NAPI_GRO_CB(skb)->flush = 1;
- return NULL;
- }
-
- NAPI_GRO_CB(skb)->encap_mark = 1;
-
- return ipv6_gro_receive(head, skb);
-}
-
static int ipv6_gro_complete(struct sk_buff *skb, int nhoff)
{
const struct net_offload *ops;