Commit a2ae9787 authored by Linus Torvalds's avatar Linus Torvalds

Merge git://

Pull one more networking bug-fix from David Miller:
 "One last straggler.

  Eric Dumazet's pktgen unload oops fix was not entirely complete, but
  all the cases should be handled properly now....  fingers crossed."

* git://
  pktgen: fix module unload for good
parents 62ade86a d4b11335
......@@ -3755,13 +3755,13 @@ static void __exit pg_cleanup(void)
struct pktgen_thread *t;
struct list_head *q, *n;
struct list_head list;
/* Stop all interfaces & threads */
pktgen_exiting = true;
list_splice(&list, &pktgen_threads);
list_splice_init(&pktgen_threads, &list);
list_for_each_safe(q, n, &list) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment