From cb39ace064a41ad05566a359cc6a50dd31fbaf07 Mon Sep 17 00:00:00 2001 From: Ivan Koveshnikov Date: Tue, 7 Nov 2017 12:42:58 +0500 Subject: [PATCH] ss_skb: fix crash on GRO skb processing BUG_ON is not needed here. This was found by @keshonok, see https://github.com/tempesta-tech/tempesta/issues/692#issuecomment-341886743 for details. --- tempesta_fw/ss_skb.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/tempesta_fw/ss_skb.h b/tempesta_fw/ss_skb.h index 51e5cd496..13e117a53 100644 --- a/tempesta_fw/ss_skb.h +++ b/tempesta_fw/ss_skb.h @@ -75,8 +75,6 @@ ss_skb_queue_tail(SsSkbList *list, struct sk_buff *skb) { SsSkbCb *scb = TFW_SKB_CB(skb); - /* The skb shouldn't be in any other queue. */ - BUG_ON(skb->next || skb->prev); BUG_ON(scb->next || scb->prev); scb->prev = list->last;