diff options
author | Haiyang Zhang <haiyangz@microsoft.com> | 2012-02-02 07:18:00 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-02 14:35:12 -0500 |
commit | c31c151b1c4a29da4dc92212aa8648fb4f8557b9 (patch) | |
tree | c61eb4b25fcac9f70cc381468b2365d85ca39ad6 /include/linux/hyperv.h | |
parent | 0a282538cc1977655004cdb2eb25dd2b63f20637 (diff) | |
download | linux-stable-c31c151b1c4a29da4dc92212aa8648fb4f8557b9.tar.gz linux-stable-c31c151b1c4a29da4dc92212aa8648fb4f8557b9.tar.bz2 linux-stable-c31c151b1c4a29da4dc92212aa8648fb4f8557b9.zip |
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>
Diffstat (limited to 'include/linux/hyperv.h')
-rw-r--r-- | include/linux/hyperv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index 62b908e0e591..0ae065a5fcb2 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h @@ -35,7 +35,7 @@ #include <linux/mod_devicetable.h> -#define MAX_PAGE_BUFFER_COUNT 18 +#define MAX_PAGE_BUFFER_COUNT 19 #define MAX_MULTIPAGE_BUFFER_COUNT 32 /* 128K */ #pragma pack(push, 1) |