Re: [PATCH v2] Fixed integer overflow in e1000e

2020-03-16 Thread Jason Wang
On 2020/3/4 下午11:41, Philippe Mathieu-Daudé wrote: On 3/4/20 3:20 PM, and...@daynix.com wrote: From: Andrew Melnychenko Fixes: 6f3fbe4ed06 Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1737400 Fixed setting max_queue_num if there are no peers in NICConf. qemu_new_nic() creates NICSta

Re: [PATCH v2] Fixed integer overflow in e1000e

2020-03-16 Thread Jason Wang
On 2020/3/5 下午5:17, Dmitry Fleytman wrote: On 4 Mar 2020, at 16:20, and...@daynix.com wrote: From: Andrew Melnychenko Fixes: 6f3fbe4ed06 Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1737400 Fixed setting max_queue_num if there are no peers in NICConf. qemu_new_nic() creates NICSta

Re: [PATCH v2] Fixed integer overflow in e1000e

2020-03-05 Thread Dmitry Fleytman
> On 4 Mar 2020, at 16:20, and...@daynix.com wrote: > > From: Andrew Melnychenko > > Fixes: 6f3fbe4ed06 > Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1737400 > Fixed setting max_queue_num if there are no peers in NICConf. qemu_new_nic() > creates NICState with 1 NetClientState(index

Re: [PATCH v2] Fixed integer overflow in e1000e

2020-03-05 Thread Dmitry Fleytman
> On 4 Mar 2020, at 16:20, and...@daynix.com wrote: > > From: Andrew Melnychenko > > Fixes: 6f3fbe4ed06 > Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1737400 > Fixed setting max_queue_num if there are no peers in NICConf. qemu_new_nic() > creates NICState with 1 NetClientState(index 0)

Re: [PATCH v2] Fixed integer overflow in e1000e

2020-03-04 Thread Philippe Mathieu-Daudé
On 3/4/20 3:20 PM, and...@daynix.com wrote: From: Andrew Melnychenko Fixes: 6f3fbe4ed06 Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1737400 Fixed setting max_queue_num if there are no peers in NICConf. qemu_new_nic() creates NICState with 1 NetClientState(index 0) without peers, set

[PATCH v2] Fixed integer overflow in e1000e

2020-03-04 Thread andrew
From: Andrew Melnychenko Fixes: 6f3fbe4ed06 Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1737400 Fixed setting max_queue_num if there are no peers in NICConf. qemu_new_nic() creates NICState with 1 NetClientState(index 0) without peers, set max_queue_num to 0 - It prevents undefined beh