staging: hv: fix the page buffer when rndis data go across page boundary
authorHaiyang Zhang <haiyangz@microsoft.com>
Thu, 1 Sep 2011 19:19:47 +0000 (12:19 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Sep 2011 18:56:19 +0000 (11:56 -0700)
commit669c1fc61679f7e85f467c852bfe7b6c9dd75d25
tree700c582ec4a7e86e60d383e3b6e0e0fa7f653ed1
parentbf769375c9175b29fe72b10394888e0090c6b133
staging: hv: fix the page buffer when rndis data go across page boundary

In rndis_filter_receive_data(), we need to drop the 0th page and move the
rest of pages forward if the rndis data go across page boundary, otherwise
the page offset will overflow.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/rndis_filter.c