Browse Source

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>
Or Gerlitz 11 years ago
parent
commit
e27a2f8395
1 changed files with 2 additions and 0 deletions
  1. 2 0
      net/core/dev.c

+ 2 - 0
net/core/dev.c

@@ -3984,6 +3984,7 @@ struct packet_offload *gro_find_receive_by_type(__be16 type)
 	}
 	}
 	return NULL;
 	return NULL;
 }
 }
+EXPORT_SYMBOL(gro_find_receive_by_type);
 
 
 struct packet_offload *gro_find_complete_by_type(__be16 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;
 	return NULL;
 }
 }
+EXPORT_SYMBOL(gro_find_complete_by_type);
 
 
 static gro_result_t napi_skb_finish(gro_result_t ret, struct sk_buff *skb)
 static gro_result_t napi_skb_finish(gro_result_t ret, struct sk_buff *skb)
 {
 {