Bug 6759

Summary: Kernel panic with traffic shaper + bridge
Product: Networking Reporter: Daniel Franke (daniel)
Component: OtherAssignee: Stephen Hemminger (stephen)
Status: REJECTED UNREPRODUCIBLE    
Severity: normal CC: akpm, stephen
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.16-ck11 Subsystem:
Regression: --- Bisected commit-id:

Description Daniel Franke 2006-06-27 19:59:23 UTC
Distribution: Gentoo current
Hardware Environment: x86
Software Environment: shapecfg-36, bridge-utils-1.0.6-r3
Problem Description:
The combination of network configuration commands listed below resulted in a
kernel panic on my system.  This brought down a production server to which I
don't have physical access, so I'm not especially keen on reproducing it.  Hence
some of the steps here might not be strictly necessary to cause the panic.  When
I have the time and if needed, I'll set up a similar configuration on a box at
home for testing.

Steps to reproduce:
tunctl
shapecfg attach shaper0 tap0
ifconfig shaper0 down
brctl addbr br0
brctl addif br0 tap0
ifconfig shaper0 up
Comment 1 Andrew Morton 2006-06-27 20:09:31 UTC
Could you please try to reproduce this on 2.6.17?
Comment 2 Stephen Hemminger 2006-07-12 16:41:49 UTC
Can not reproduce on current (2.6.18-rc1) kernel.
The last command "ifconfig shaper0 up" generates:
# ifconfig shaper0 up
SIOCSIFFLAGS: Invalid argument

Comment 3 Stephen Hemminger 2006-07-13 11:21:49 UTC
Can not reproduce with 2.6.17 and the listed commands

# tunctl
Set 'tap0' persistent and owned by uid 0
# modprobe shaper
# shapecfg attach shaper0 tap0
# ifconfig shaper0 down
# brctl addbr br0
# brctl addif br0 tap0
# ifconfig shaper0 up
SIOCSIFFLAGS: Invalid argument