summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2014-01-20 13:59:20 +0200
committerDavid S. Miller <davem@davemloft.net>2014-01-21 18:05:04 -0800
commite27a2f839598e48bb345f9fc86d4d54c3944db50 (patch)
treef62522af8a15d6e01b0dd213149bf197670884b5 /net/core
parentb582ef0990d457f7ce8ccf827af51a575ca0b4a6 (diff)
downloadlinux-e27a2f839598e48bb345f9fc86d4d54c3944db50.tar.bz2
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>
Diffstat (limited to 'net/core')
-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)
{