Bug 643348

Summary: transmission stops when tap does not consume [rhel-5.5.z]
Product: Red Hat Enterprise Linux 5 Reporter: RHEL Program Management <pm-rhel>
Component: kernelAssignee: Jiri Pirko <jpirko>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: high    
Version: 5.5.zCC: bcao, dhoward, eguan, jpirko, jplans, lihuang, mjenner, mlessard, mst, pm-eus, rkhan, tburke, wquan, yvugenfi
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel-2.6.18-194.28.1.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-22 15:51:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 584412, 665293, 665295, 666367, 672619    
Bug Blocks:    

Description RHEL Program Management 2010-10-15 11:13:34 UTC
This bug has been copied from bug #584412 and has been proposed
to be backported to 5.5 z-stream (EUS).

Comment 2 Jiri Pirko 2010-11-16 09:44:02 UTC
in kernel-2.6.18-194.28.1.el5

linux-2.6-net-tun-orphan-an-skb-on-tx.patch

Comment 4 Mike Cao 2010-12-10 07:29:53 UTC
Retest on  ,this issue still exists.
# uname -r 
2.6.18-194.30.1.el5
# rpm -q kvm
kvm-83-164.el5_5.29

steps:
1.start guest A:
/usr/libexec/qemu-kvm -m 4G -smp 4 -name RHEL5.5.z-32 -uuid 3a362be4-61c3-9780-7169-be9599b7e93b -no-kvm-pit-reinjection -boot dc -drive file=/home/mike,if=virtio,boot=on,format=qcow2,cache=none,werror=stop -net nic,macaddr=14:52:30:1a:8b:c1,vlan=0,model=virtio -net tap,script=/etc/qemu-ifup,vlan=0 -usb -vnc :10 -k en-us -vga cirrus -balloon none -monitor stdio -cpu qemu64,+sse2 -notify all
2.start guest B:
/usr/libexec/qemu-kvm -m 4G -smp 4 -name np1 -uuid 3a362be4-61c3-9780-7169-be9599b7e93b -no-kvm-pit-reinjection -boot dc -drive file=/home/mike1,if=virtio,boot=on,format=qcow2,cache=none,werror=stop -net nic,macaddr=14:52:30:1a:8b:c2,vlan=0,model=virtio -net tap,script=/etc/qemu-ifup,vlan=0 -usb -vnc :11 -k en-us -vga cirrus -balloon none -monitor stdio -cpu qemu64,+sse2 -notify all

3.in guest B ,#arp -i eth0 -s <ip of guest A> <macaddr of guest A>
4,in guest B ,ping guest A # ping <ip of guest A> -c 1
5,in guest A ,#ifdown eth0
6,in guest B ,ping guest A # ping <ip of guest A> -i 0.01
7,after more or less 1 min ,kill guest B #kill -9 <pid of guest B>

Actual Results:
root      5601  4838  5 02:14 pts/1    00:00:42 [qemu-kvm] <defunct>

dmesg on the host:
kernel: unregister_netdevice: waiting for tap1 to become free. Usage count = 1

addtional info:
cat /sys/class/net/tap0/statistics/tx_fifo_errors (guest A)
1



Base on above ,this issue haven't been fixed .