summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2014-01-20 12:59:20 +0100
committerDavid S. Miller <davem@davemloft.net>2014-01-22 03:05:04 +0100
commite27a2f839598e48bb345f9fc86d4d54c3944db50 (patch)
treef62522af8a15d6e01b0dd213149bf197670884b5
parentnet: Add GRO support for UDP encapsulating protocols (diff)
downloadlinux-e27a2f839598e48bb345f9fc86d4d54c3944db50.tar.xz
linux-e27a2f839598e48bb345f9fc86d4d54c3944db50.zip
net: Export gro_find_by_type helpers
Export the gro_find_receive/complete_by_type helpers to they can be invoked by the gro callbacks of encapsulation protocols such as vxlan. Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/core/dev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index da92305c344f..d89931bae25b 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -3984,6 +3984,7 @@ struct packet_offload *gro_find_receive_by_type(__be16 type)
}
return NULL;
}
+EXPORT_SYMBOL(gro_find_receive_by_type);
struct packet_offload *gro_find_complete_by_type(__be16 type)
{
@@ -3997,6 +3998,7 @@ struct packet_offload *gro_find_complete_by_type(__be16 type)
}
return NULL;
}
+EXPORT_SYMBOL(gro_find_complete_by_type);
static gro_result_t napi_skb_finish(gro_result_t ret, struct sk_buff *skb)
{