diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2014-01-20 06:59:20 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-21 21:05:04 -0500 |
commit | e27a2f839598e48bb345f9fc86d4d54c3944db50 (patch) | |
tree | f62522af8a15d6e01b0dd213149bf197670884b5 /net | |
parent | b582ef0990d457f7ce8ccf827af51a575ca0b4a6 (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.c | 2 |
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 | } |
3987 | EXPORT_SYMBOL(gro_find_receive_by_type); | ||
3987 | 3988 | ||
3988 | struct packet_offload *gro_find_complete_by_type(__be16 type) | 3989 | struct 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 | } |
4001 | EXPORT_SYMBOL(gro_find_complete_by_type); | ||
4000 | 4002 | ||
4001 | static gro_result_t napi_skb_finish(gro_result_t ret, struct sk_buff *skb) | 4003 | static gro_result_t napi_skb_finish(gro_result_t ret, struct sk_buff *skb) |
4002 | { | 4004 | { |