aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2014-01-20 06:59:20 -0500
committerDavid S. Miller <davem@davemloft.net>2014-01-21 21:05:04 -0500
commite27a2f839598e48bb345f9fc86d4d54c3944db50 (patch)
treef62522af8a15d6e01b0dd213149bf197670884b5 /net
parentb582ef0990d457f7ce8ccf827af51a575ca0b4a6 (diff)
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')
-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)
3984 } 3984 }
3985 return NULL; 3985 return NULL;
3986} 3986}
3987EXPORT_SYMBOL(gro_find_receive_by_type);
3987 3988
3988struct packet_offload *gro_find_complete_by_type(__be16 type) 3989struct packet_offload *gro_find_complete_by_type(__be16 type)
3989{ 3990{
@@ -3997,6 +3998,7 @@ struct packet_offload *gro_find_complete_by_type(__be16 type)
3997 } 3998 }
3998 return NULL; 3999 return NULL;
3999} 4000}
4001EXPORT_SYMBOL(gro_find_complete_by_type);
4000 4002
4001static gro_result_t napi_skb_finish(gro_result_t ret, struct sk_buff *skb) 4003static gro_result_t napi_skb_finish(gro_result_t ret, struct sk_buff *skb)
4002{ 4004{