From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 10 Sep 2004 06:14:24 -0700 From: Stephen Hemminger Subject: Re: [Bridge] Problem in changed VLAN code can cause systems to hang. Message-Id: <20040910061424.29657cf3@linux.site> In-Reply-To: <1094820204.32553.67.camel@cyan.cph.tpack.net> References: <414057B1.1020902@siennax.com> <1094820204.32553.67.camel@cyan.cph.tpack.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "David S. Miller" Cc: netdev@premium.geo.yahoo.akadns.net, bridge@lists.osdl.org, Tommy Christensen Thanks Tommy, the vlan MII ioctl pass through was passing the wrong device. Signed-off-by: Stephen Hemminger -- diff -Nru a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c --- a/net/8021q/vlan_dev.c 2004-09-10 06:12:16 -07:00 +++ b/net/8021q/vlan_dev.c 2004-09-10 06:12:16 -07:00 @@ -772,7 +772,7 @@ case SIOCGMIIREG: case SIOCSMIIREG: if (real_dev->do_ioctl && netif_device_present(real_dev)) - err = real_dev->do_ioctl(dev, &ifrr, cmd); + err = real_dev->do_ioctl(real_dev, &ifrr, cmd); break; case SIOCETHTOOL: