e1000: Pad short frames to minimum size (60 bytes)
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Sat, 18 Sep 2010 20:43:45 +0000 (21:43 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 20 Sep 2010 18:03:39 +0000 (20:03 +0200)
commit78aeb23eded2d0b765bf9145c71f80025b568acd
tree1d31734cd3afa2cef5fc7b7f0aeb31f0f44546b3
parent6b37c87c96a5b148685e8e6bf09d0aca953cb1a8
e1000: Pad short frames to minimum size (60 bytes)

The OpenIndiana (Solaris) e1000g driver drops frames that are too long
or too short.  It expects to receive frames of at least the Ethernet
minimum size.  ARP requests in particular are small and will be dropped
if they are not padded appropriately, preventing a Solaris VM from
becoming visible on the network.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/e1000.c