datapath:netdevice: Export rpl_skb_gso_segment.
authorAlex Wang <alexw@nicira.com>
Thu, 16 Apr 2015 18:23:47 +0000 (11:23 -0700)
committerAlex Wang <alexw@nicira.com>
Thu, 16 Apr 2015 20:27:08 +0000 (13:27 -0700)
With the latest change of separating vports into their own modules,
we also need to explicitly export rpl_skb_gso_segment to avoid linker
error.

VMware-BZ: #1432578
VMware-BZ: #1308175

Signed-off-by: Alex Wang <alexw@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/linux/compat/netdevice.c

index 2932f5c..1fb60f5 100644 (file)
@@ -106,4 +106,5 @@ struct sk_buff *rpl_skb_gso_segment(struct sk_buff *skb,
        skb->protocol = skb_proto;
        return skb_gso;
 }
+EXPORT_SYMBOL_GPL(rpl_skb_gso_segment);
 #endif /* kernel version < 3.16.0 */