From: K. Y. Srinivasan Date: Fri, 13 May 2011 02:34:54 +0000 (-0700) Subject: Staging: hv: netvsc_drv: Invoke rndis_filter_send() directly X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=55acb696a8d43ff37cc5e30837bd8e635aff2ba9;p=linux-beck.git Staging: hv: netvsc_drv: Invoke rndis_filter_send() directly In preparation to getting rid of struct netvsc_driver, make the function rndis_filter_send() non-static. Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/netvsc_drv.c b/drivers/staging/hv/netvsc_drv.c index a55538a5a32a..01812bd8ea6c 100644 --- a/drivers/staging/hv/netvsc_drv.c +++ b/drivers/staging/hv/netvsc_drv.c @@ -184,7 +184,7 @@ static int netvsc_start_xmit(struct sk_buff *skb, struct net_device *net) packet->completion.send.send_completion_ctx = packet; packet->completion.send.send_completion_tid = (unsigned long)skb; - ret = net_drv_obj->send(net_device_ctx->device_ctx, + ret = rndis_filter_send(net_device_ctx->device_ctx, packet); if (ret == 0) { net->stats.tx_bytes += skb->len;