]> git.baikalelectronics.ru Git - kernel.git/commit
net/hyperv: Fix the page buffer when an RNDIS message goes beyond page boundary
authorHaiyang Zhang <haiyangz@microsoft.com>
Thu, 2 Feb 2012 07:18:00 +0000 (07:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Feb 2012 19:35:12 +0000 (14:35 -0500)
commitd7e0523b08a0820cd7b2fc7dbaaa2f9b51685ac9
treec61eb4b25fcac9f70cc381468b2365d85ca39ad6
parenta4a4e8d519c1af9bf24cf27bc338b11de8499c66
net/hyperv: Fix the page buffer when an RNDIS message goes beyond page boundary

There is a possible data corruption if an RNDIS message goes beyond page
boundary in the sending code path. This patch fixes the problem.

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