Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 9f1122e3cc91315900f36ea9a01e5fff > files > 6

dkms-et131x-1.2.3-2.1mdv2008.0.src.rpm

Update for commit 5c15bdec5c38f4ccf73ef2585fc80a6164de9554 in Linux 2.6.21

Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com>

diff -p -up et131x-1.2.3/et131x_netdev.c.orig et131x-1.2.3/et131x_netdev.c
--- et131x-1.2.3/et131x_netdev.c.orig	2008-01-19 23:07:16.000000000 -0200
+++ et131x-1.2.3/et131x_netdev.c	2008-01-19 23:09:16.000000000 -0200
@@ -1600,11 +1600,7 @@ void et131x_vlan_rx_kill_vid( struct net
 
     DBG_VERBOSE( et131x_dbginfo, "VLAN, Remove VID: %d\n", vid );
 
-    if( pAdapter->vlgrp )
-    {
-        pAdapter->vlgrp->vlan_devices[vid] = NULL;
-    }
-
+    vlan_group_set_device(pAdapter->vlgrp, vid, NULL);
 
     /**************************************************************************
        This is where any interfacing with the hardware to deregister VLAN IDs