Skip to content

Commit

Permalink
ss_skb: fix crash on GRO skb processing
Browse files Browse the repository at this point in the history
BUG_ON is not needed here. This was found by @keshonok, see
#692 (comment)
for details.
  • Loading branch information
vankoven committed Nov 9, 2017
1 parent a66752a commit cb39ace
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tempesta_fw/ss_skb.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cb39ace

Please sign in to comment.