net: Properly unlink GRO packets on overflow.
[muen/linux.git] / net / core / dev.c
index 022ad73d62538036c828ebfa78531cb3a76a2f0d..77d43ae2a7bbe1267f8430d5c35637d1984f463c 100644 (file)
@@ -5457,7 +5457,7 @@ static void gro_flush_oldest(struct list_head *head)
        /* Do not adjust napi->gro_hash[].count, caller is adding a new
         * SKB to the chain.
         */
-       list_del(&oldest->list);
+       skb_list_del_init(oldest);
        napi_gro_complete(oldest);
 }