]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
hyperv: Fix page buffer handling in rndis_filter_send_request()
authorHaiyang Zhang <haiyangz@microsoft.com>
Tue, 2 Oct 2012 05:30:21 +0000 (05:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Oct 2012 18:39:30 +0000 (14:39 -0400)
commit99e3fcfa34e7ea6dbb44fe5df51b79ccb6f73d3d
treee0e136763a441634457ca136522606ce53c8c271
parentea4963745f712a746ccb45871a22e0814141a891
hyperv: Fix page buffer handling in rndis_filter_send_request()

To prevent possible data corruption in RNDIS requests, add another
page buffer if the request message crossed page boundary.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/rndis_filter.c