X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fipv4%2Finet_fragment.c;h=6c52e08f786e6f574e71c589ddbb86b26f2f43a0;hb=eaf0ba5ef69538b6913525294a3a0fcb0e0992e0;hp=0546a0bc97ea37bdc1b9bef0c22d6b82ec190abf;hpb=044e5f45e4ad890d03bd1e8bb44c634397cac24d;p=linux-2.6 diff --git a/net/ipv4/inet_fragment.c b/net/ipv4/inet_fragment.c index 0546a0bc97..6c52e08f78 100644 --- a/net/ipv4/inet_fragment.c +++ b/net/ipv4/inet_fragment.c @@ -134,8 +134,8 @@ void inet_frag_destroy(struct inet_frag_queue *q, struct inet_frags *f, struct sk_buff *fp; struct netns_frags *nf; - BUG_TRAP(q->last_in & INET_FRAG_COMPLETE); - BUG_TRAP(del_timer(&q->timer) == 0); + WARN_ON(!(q->last_in & INET_FRAG_COMPLETE)); + WARN_ON(del_timer(&q->timer) != 0); /* Release all fragment data. */ fp = q->fragments;