]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/dccp/timer.c
net: convert BUG_TRAP to generic WARN_ON
[net-next-2.6.git] / net / dccp / timer.c
index 3608d5342ca22335bf474fcaac15d9ebb10f83a7..6a5b961b6f5c08fdec108f72e66a2352c0199c78 100644 (file)
@@ -106,7 +106,7 @@ static void dccp_retransmit_timer(struct sock *sk)
         *      -- Acks     in client-PARTOPEN state (sec. 8.1.5)
         *      -- CloseReq in server-CLOSEREQ state (sec. 8.3)
         *      -- Close    in   node-CLOSING  state (sec. 8.3)                */
-       BUG_TRAP(sk->sk_send_head != NULL);
+       WARN_ON(sk->sk_send_head == NULL);
 
        /*
         * More than than 4MSL (8 minutes) has passed, a RESET(aborted) was