2.5.31 : net/802/psnap.c

2.5.31 : net/802/psnap.c

Post by Frank Davi » Tue, 13 Aug 2002 02:40:05



Hello all,
  This fixes the net/network.o save_flags/restore_flags error. Please
review.

Regards,
Frank

--- net/802/psnap.c.old Sun Aug 11 13:06:19 2002

        struct datalink_proto *tmp;
        unsigned long flags;

-       save_flags(flags);
-       cli();
+       local_irq_save(flags);

        while ((tmp = *clients) != NULL) {

                        clients = &tmp->next;
        }

-       restore_flags(flags);
+       local_irq_restore(flags);
 }

 MODULE_LICENSE("GPL");

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. 2.5.31 : net/802/p8022.c

Hello all,
  This fixes the save_flags/restore_flags reported earlier for
net/network.o . Please review.

Regards,
Frank

--- net/802/p8022.c.old Sun Aug 11 13:06:57 2002

        struct datalink_proto *tmp, **clients = &p8022_list;
        unsigned long flags;

-       save_flags(flags);
-       cli();
+       local_irq_save(flags);
        while (*clients) {
                tmp = *clients;

                }
                clients = &tmp->next;
        }
-       restore_flags(flags);
+       local_irq_restore(flags);
 }

 EXPORT_SYMBOL(register_8022_client);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. URGENT!!! root password expired ???

3. 2.5.31 : net/network.o error

4. Metro-X

5. 2.5.31 : include/asm/a.out.h (last archs)

6. working on new vector drawing program

7. BUG, trident.c doesn't compile in 2.5.31

8. link failure in intel.c

9. 2.5.31 qlogic error "this should not happen"

10. exit_free(), 2.5.31-A0

11. MAX_PID changes in 2.5.31

12. Compile error on 2.5.31 with CONFIG_SOFTWARE_SUSPEND

13. trivial: 2.5.31+bk forgotten endmenu