]> git.proxmox.com Git - mirror_qemu.git/commit
e1000: Discard packets that are too long if !SBP and !LPE
authorMichael Contreras <michael@inetric.com>
Mon, 3 Dec 2012 04:11:22 +0000 (20:11 -0800)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 3 Dec 2012 14:14:10 +0000 (08:14 -0600)
commitb0d9ffcd0251161c7c92f94804dcf599dfa3edeb
tree6081c6f2c86125234555973f643fce06a932f127
parent01bbd8bf2caced5cb07939669f58d3a7bcc78092
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.

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