Bug 715141 - Wrong Ethertype for RARP
Summary: Wrong Ethertype for RARP
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Amos Kong
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-22 01:00 UTC by Hiroaki Tomozawa
Modified: 2015-05-25 00:06 UTC (History)
7 users (show)

Fixed In Version: qemu-kvm-0.12.1.2-2.167.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 15:52:46 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1531 0 normal SHIPPED_LIVE Moderate: qemu-kvm security, bug fix, and enhancement update 2011-12-06 01:23:30 UTC

Description Hiroaki Tomozawa 2011-06-22 01:00:38 UTC
Description of problem:

qemu-kvm defines a wrong ethertype value for RAPR frames
in savevm.c:

 #define ETH_P_RARP 0x0835

The value must be a typo and should have been 0x8035,
as an upstream commit already has a fix:

https://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=commit;h=f8778a7785d530515b0db395606f327fd5f94a92


Version-Release number of selected component (if applicable):

 qemu-kvm-0.12.1.2-2.160.el6.x86_64

Comment 9 FuXiangChun 2011-09-27 04:02:18 UTC
reproduce on qemu-kvm-0.12.1.2-2.160.el6.x86_64

steps to reproduce:

1. boot guest and do local migrate
2. tcpdump  -e -i breth0  -vv   in host
23:13:39.730023 52:56:00:94:a3:20 (oui Unknown) > Broadcast, ethertype Unknown (0x0835), length 60:
        0x0000:  0001 0800 0604 0003 5256 0094 a320 0000  ........RV......
        0x0010:  0000 5256 0094 a320 0000 0000 0000 0000  ..RV............
        0x0020:  0000 0000 0000 0000 0000 0000 0000       ..............
23:13:39.880390 52:56:00:94:a3:20 (oui Unknown) > Broadcast, ethertype Unknown (0x0835), length 60:
        0x0000:  0001 0800 0604 0003 5256 0094 a320 0000  ........RV......
        0x0010:  0000 5256 0094 a320 0000 0000 0000 0000  ..RV............
        0x0020:  0000 0000 0000 0000 0000 0000 0000       ..............

verify on qemu-kvm-0.12.1.2-2.192.el6.x86_64

steps to reproduce:
1. boot guest and do local migrate
2. tcpdump  -e -i breth0  -vv   in host
22:58:28.784766 52:56:00:94:a3:20 (oui Unknown) > Broadcast, ethertype Reverse ARP (0x8035), length 60: Ethernet (len 6), IPv4 (len 4), Reverse Request who-is 52:56:00:94:a3:20 (oui Unknown) tell 52:56:00:94:a3:20 (oui Unknown), length 46

testing result summary
1) entertype of RARP is 0x0835 in qemu-kvm-0.12.1.2-2.160.el6.x86_64, and cann't get RARP protocol 
2) entertype of RARP is 0x8035 in qemu-kvm-0.12.1.2-2.192.el6.x86_64, and can get RARP protocol

base on above testing result, this bug has been fixed.

Comment 11 errata-xmlrpc 2011-12-06 15:52:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2011-1531.html


Note You need to log in before you can comment on or make changes to this bug.