Bluetooth: Let HIDP grab the device reference for connections
[pandora-kernel.git] / net / core / request_sock.c
index 2d3035d..7552495 100644 (file)
@@ -123,7 +123,7 @@ void reqsk_queue_destroy(struct request_sock_queue *queue)
                }
        }
 
-       BUG_TRAP(lopt->qlen == 0);
+       WARN_ON(lopt->qlen != 0);
        if (lopt_size > PAGE_SIZE)
                vfree(lopt);
        else