Author: jch
Date: Thu Apr  2 14:43:07 2015
New Revision: 280990
URL: https://svnweb.freebsd.org/changeset/base/280990

Log:
  Provide better debugging information in tcp_timer_activate() and
  tcp_timer_active()
  
  Differential Revision:        https://reviews.freebsd.org/D2179
  Suggested by:         bz
  Reviewed by:          jhb
  Approved by:          jhb

Modified:
  head/sys/netinet/tcp_timer.c

Modified: head/sys/netinet/tcp_timer.c
==============================================================================
--- head/sys/netinet/tcp_timer.c        Thu Apr  2 14:22:59 2015        
(r280989)
+++ head/sys/netinet/tcp_timer.c        Thu Apr  2 14:43:07 2015        
(r280990)
@@ -884,7 +884,7 @@ tcp_timer_activate(struct tcpcb *tp, int
                        f_callout = tcp_timer_2msl;
                        break;
                default:
-                       panic("bad timer_type");
+                       panic("tp %p bad timer_type %#x", tp, timer_type);
                }
        if (delta == 0) {
                callout_stop(t_callout);
@@ -915,7 +915,7 @@ tcp_timer_active(struct tcpcb *tp, int t
                        t_callout = &tp->t_timers->tt_2msl;
                        break;
                default:
-                       panic("bad timer_type");
+                       panic("tp %p bad timer_type %#x", tp, timer_type);
                }
        return callout_active(t_callout);
 }
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to