]> xenbits.xensource.com Git - people/andrewcoop/qemu-traditional.git/commit
e1000: Discard oversized packets based on SBP|LPE
authorMichael Contreras <michael@inetric.com>
Wed, 5 Dec 2012 18:31:30 +0000 (13:31 -0500)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 17 Jan 2013 11:46:44 +0000 (11:46 +0000)
commite33f918c19e393900b95a2bb6b10668dfe96a8f2
tree349f9c74347bf18860f03e284ae64b81d3233022
parent4c2cae2a882db4d2a231b27b3b31a5bbec6dacbf
e1000: Discard oversized packets based on SBP|LPE

Discard packets longer than 16384 when !SBP to match the hardware behavior.

Signed-off-by: Michael Contreras <michael@inetric.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
(cherry picked from commit 2c0331f4f7d241995452b99afaf0aab00493334a)
[ This is a security vulnerablity, XSA-41 / CVE-2012-6075 (2nd patch). ]
hw/e1000.c