Commit ac6f7859 authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman
Browse files

Staging: hv: netvsc_drv: Directly invoke the function rndis_filter_receive()



Directly invoke the function rndis_filter_receive().

Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarAbhishek Kane <v-abkane@microsoft.com>
Signed-off-by: default avatarHank Janssen <hjanssen@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent a25e1dbe
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -820,8 +820,6 @@ static void netvsc_receive(struct hv_device *device,
	int i, j;
	int count = 0, bytes_remain = 0;
	unsigned long flags;
	struct netvsc_driver *netvsc_drv =
		 drv_to_netvscdrv(device->device.driver);

	LIST_HEAD(listHead);

@@ -983,7 +981,7 @@ static void netvsc_receive(struct hv_device *device,
		}

		/* Pass it to the upper layer */
		netvsc_drv->recv_cb(device, netvsc_packet);
		rndis_filter_receive(device, netvsc_packet);

		netvsc_receive_completion(netvsc_packet->
				completion.recv.recv_completion_ctx);