Revision: 472
          http://vde.svn.sourceforge.net/vde/?rev=472&view=rev
Author:   rd235
Date:     2011-02-14 15:11:01 +0000 (Mon, 14 Feb 2011)

Log Message:
-----------
BUGFIX: packets on vlan 4095 could cause vde_switch to SEGFAULT: I added a 
dummy element to vlant

Modified Paths:
--------------
    trunk/vde-2/src/vde_switch/port.c

Modified: trunk/vde-2/src/vde_switch/port.c
===================================================================
--- trunk/vde-2/src/vde_switch/port.c   2011-02-14 14:45:32 UTC (rev 471)
+++ trunk/vde-2/src/vde_switch/port.c   2011-02-14 15:11:01 UTC (rev 472)
@@ -118,7 +118,7 @@
        bitarray bctag;
        bitarray bcuntag;
        bitarray notlearning;
-} vlant[NUMOFVLAN];
+} vlant[NUMOFVLAN+1];
 bitarray validvlan;
 
 #define IS_BROADCAST(addr) ((addr[0] & 1) == 1)


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
vde-users mailing list
vde-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vde-users

Reply via email to