From: K. Y. Srinivasan Date: Fri, 13 May 2011 02:34:57 +0000 (-0700) Subject: Staging: hv: netvsc_drv: Directly invoke the function netvsc_recv_callback() X-Git-Tag: firefly_0821_release~7613^2~1326^2~191 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a25e1dbe9ede75b7601c477eee0b9e3c2e6b9870;p=firefly-linux-kernel-4.4.55.git Staging: hv: netvsc_drv: Directly invoke the function netvsc_recv_callback() Directly invoke the function netvsc_recv_callback(). 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/rndis_filter.c b/drivers/staging/hv/rndis_filter.c index d422ac86f65e..9a6c0647d5b3 100644 --- a/drivers/staging/hv/rndis_filter.c +++ b/drivers/staging/hv/rndis_filter.c @@ -352,8 +352,7 @@ static void rndis_filter_receive_data(struct rndis_device *dev, pkt->is_data_pkt = true; - rndis_filter.inner_drv.recv_cb(dev->net_dev->dev, - pkt); + netvsc_recv_callback(dev->net_dev->dev, pkt); } int rndis_filter_receive(struct hv_device *dev,