Skip to content

Commit 669c09b

Browse files
committed
disable skb->head_frag assertion temporarily to avoid panic
1 parent 3a578df commit 669c09b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fw/ss_skb.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ __split_linear_data(struct sk_buff *skb_head, struct sk_buff *skb, char *pspt,
331331

332332
T_DBG3("[%d]: %s: skb [%p] pspt [%p] len [%d] tail_len [%d]\n",
333333
smp_processor_id(), __func__, skb, pspt, len, tail_len);
334-
BUG_ON(!skb->head_frag);
334+
//BUG_ON(!skb->head_frag);
335335
BUG_ON(tail_len <= 0);
336336
BUG_ON(!(alloc | tail_len));
337337
BUG_ON(-len > tail_len);
@@ -1374,7 +1374,7 @@ ss_skb_queue_coalesce_tail(struct sk_buff **skb_head, const struct sk_buff *skb)
13741374
unsigned int headlen = skb_headlen(skb);
13751375

13761376
if (headlen) {
1377-
BUG_ON(!skb->head_frag);
1377+
//BUG_ON(!skb->head_frag);
13781378
head_frag.bv_len = headlen;
13791379
head_frag.bv_page = virt_to_page(skb->head);
13801380
head_frag.bv_offset = skb->data -

0 commit comments

Comments
 (0)