]> xenbits.xensource.com Git - qemu-upstream-4.2-testing.git/commit
e1000: Discard packets that are too long if !SBP and !LPE
authorMichael Contreras <michael@inetric.com>
Wed, 16 Jan 2013 14:14:14 +0000 (14:14 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 16 Jan 2013 14:14:14 +0000 (14:14 +0000)
commit08f91b7dde7daeb3f62204678343f5b68be060d9
tree47a2874dc13cdb8448d38da655e55078169addde
parentcdf4d2bb4006805f209712fbb8ed1f83127e9984
e1000: Discard packets that are too long if !SBP and !LPE

The e1000_receive function for the e1000 needs to discard packets longer than
1522 bytes if the SBP and LPE flags are disabled. The linux driver assumes
this behavior and allocates memory based on this assumption.

upstream-commmit-id: b0d9ffcd0251161c7c92f94804dcf599dfa3edeb
security-tags: XSA-41, CVE-2012-6075

Signed-off-by: Michael Contreras <michael@inetric.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/e1000.c