[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] df83ea: qga: replace GetIfEntry with GetIfEnt
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] df83ea: qga: replace GetIfEntry with GetIfEntry2 for inter... |
Date: |
Tue, 21 Nov 2017 04:08:27 -0800 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: df83eabd5245828cbca32060aa191d8b03bc5d50
https://github.com/qemu/qemu/commit/df83eabd5245828cbca32060aa191d8b03bc5d50
Author: ZhiPeng Lu <address@hidden>
Date: 2017-11-20 (Mon, 20 Nov 2017)
Changed paths:
M qga/commands-win32.c
Log Message:
-----------
qga: replace GetIfEntry with GetIfEntry2 for interface stats
The data obtained by GetIfEntry is 32 bits, and it may overflow. Thus
using GetIfEntry2 instead of GetIfEntry.
Signed-off-by: ZhiPeng Lu <address@hidden>
*avoid CamelCase variable names
*update field names for MIB_IFROW -> MIB_IF_ROW2
*dynamically probe for GetIfIndex2 to deal with older OSs
*check return value from get_interface_index
Signed-off-by: Michael Roth <address@hidden>
Commit: a61d343986c13d9ea607f42e5dadea3261c14ba5
https://github.com/qemu/qemu/commit/a61d343986c13d9ea607f42e5dadea3261c14ba5
Author: Peter Maydell <address@hidden>
Date: 2017-11-21 (Tue, 21 Nov 2017)
Changed paths:
M qga/commands-win32.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/mdroth/tags/qga-pull-2017-11-20-tag'
into staging
qemu-ga patch queue for 2.11
* fix potential overflow in network interface stats reporting
# gpg: Signature made Mon 20 Nov 2017 20:56:05 GMT
# gpg: using RSA key 0x3353C9CEF108B584
# gpg: Good signature from "Michael Roth <address@hidden>"
# gpg: aka "Michael Roth <address@hidden>"
# gpg: aka "Michael Roth <address@hidden>"
# Primary key fingerprint: CEAC C9E1 5534 EBAB B82D 3FA0 3353 C9CE F108 B584
* remotes/mdroth/tags/qga-pull-2017-11-20-tag:
qga: replace GetIfEntry with GetIfEntry2 for interface stats
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/1b4e6e8cf8d8...a61d343986c1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] df83ea: qga: replace GetIfEntry with GetIfEntry2 for inter...,
GitHub <=