]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/ipv4/inet_timewait_sock.c
Merge master.kernel.org:/pub/scm/linux/kernel/git/steve/gfs2-2.6-nmw
[mv-sheeva.git] / net / ipv4 / inet_timewait_sock.c
index 75373f35383fb914684aae1c5b9f7c204b7a5f2f..9f414e35c488fe2c1464b1aae47363b17968fb5f 100644 (file)
@@ -91,7 +91,7 @@ struct inet_timewait_sock *inet_twsk_alloc(const struct sock *sk, const int stat
 {
        struct inet_timewait_sock *tw =
                kmem_cache_alloc(sk->sk_prot_creator->twsk_prot->twsk_slab,
-                                SLAB_ATOMIC);
+                                GFP_ATOMIC);
        if (tw != NULL) {
                const struct inet_sock *inet = inet_sk(sk);
 
@@ -178,7 +178,6 @@ void inet_twdr_hangman(unsigned long data)
        need_timer = 0;
        if (inet_twdr_do_twkill_work(twdr, twdr->slot)) {
                twdr->thread_slots |= (1 << twdr->slot);
-               smp_mb();
                schedule_work(&twdr->twkill_work);
                need_timer = 1;
        } else {