|
@@ -830,7 +830,7 @@ static void cdc_ncm_txpath_bh(unsigned long param)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-static struct sk_buff *
|
|
|
+struct sk_buff *
|
|
|
cdc_ncm_tx_fixup(struct usbnet *dev, struct sk_buff *skb, gfp_t flags)
|
|
|
{
|
|
|
struct sk_buff *skb_out;
|
|
@@ -857,6 +857,7 @@ error:
|
|
|
|
|
|
return NULL;
|
|
|
}
|
|
|
+EXPORT_SYMBOL_GPL(cdc_ncm_tx_fixup);
|
|
|
|
|
|
/* verify NTB header and return offset of first NDP, or negative error */
|
|
|
int cdc_ncm_rx_verify_nth16(struct cdc_ncm_ctx *ctx, struct sk_buff *skb_in)
|
|
@@ -943,7 +944,7 @@ error:
|
|
|
}
|
|
|
EXPORT_SYMBOL_GPL(cdc_ncm_rx_verify_ndp16);
|
|
|
|
|
|
-static int cdc_ncm_rx_fixup(struct usbnet *dev, struct sk_buff *skb_in)
|
|
|
+int cdc_ncm_rx_fixup(struct usbnet *dev, struct sk_buff *skb_in)
|
|
|
{
|
|
|
struct sk_buff *skb;
|
|
|
struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0];
|
|
@@ -1019,6 +1020,7 @@ err_ndp:
|
|
|
error:
|
|
|
return 0;
|
|
|
}
|
|
|
+EXPORT_SYMBOL_GPL(cdc_ncm_rx_fixup);
|
|
|
|
|
|
static void
|
|
|
cdc_ncm_speed_change(struct usbnet *dev,
|