netdev
[Top] [All Lists]

Re: VLAN patches

To: Andersson Björn <Bjorn.Andersson@xxxxxxxxxxxxxxx>
Subject: Re: VLAN patches
From: Ben Greear <greearb@xxxxxxxxxxxxxxx>
Date: Sat, 05 Oct 2002 12:23:36 -0700
Cc: netdev@xxxxxxxxxxx, "David S. Miller" <davem@xxxxxxxxxx>
Organization: Candela Technologies
References: <3D980A10.8B06F2C2@xxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2a) Gecko/20020910
Dave, please apply this patch if you haven't already,
it seems correct to me.

Andersson Björn wrote:
Hi,
I hope you are the right receiver of 8021q-patches.
We are running SuSe 8.0, i.e kernel 2.4.18.

- When addding several egress-mappings we get stuck in an eternal
loop if they end up in the same hash-bucket, see vlan_dev.c.path.

------------------------------------------------------------------------

--- linux-2.4.18.SuSE/net/8021q/vlan_dev.c.orig Wed Mar 27 13:57:17 2002
+++ linux-2.4.18.SuSE/net/8021q/vlan_dev.c      Wed Sep 18 13:19:52 2002
@@ -570,6 +570,7 @@
                                        dev_put(dev);
                                        return 0;
                                }
+                               mp = mp->next;
                        }
/* Create a new mapping then. */


--
Ben Greear <greearb@xxxxxxxxxxxxxxx>       <Ben_Greear AT excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear




<Prev in Thread] Current Thread [Next in Thread>