]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/can/af_can.c
Merge branch 'topic/ctxfi' into for-linus
[mv-sheeva.git] / net / can / af_can.c
index 10f0528c3bf59c746de18f52f42e937edc9e9a48..e733725b11d4cdbc1010e65bc441fa2723bdb132 100644 (file)
@@ -903,6 +903,8 @@ static __exit void can_exit(void)
        }
        spin_unlock(&can_rcvlists_lock);
 
+       rcu_barrier(); /* Wait for completion of call_rcu()'s */
+
        kmem_cache_destroy(rcv_cache);
 }