<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML DIR=ltr><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"></HEAD><BODY><DIV><FONT face='Arial' color=#000000 size=2>Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2>It seems that the mdev->ko_count counter is
going negative as evidenced by the following message:</FONT></DIV>
<DIV>drbd0: [drbd0_receiver/5740] sock_sendmsg time expired, ko =
4294967294</DIV>
<DIV> </DIV>
<DIV>Note the rather large ko value.</DIV>
<DIV> STATIC we_should_drop_the_connection(drbd_dev *mdev, struct socket
*sock) is the place we decrement this unconditionnaly. Should at least be
this:</DIV>
<DIV>Index:
drbd/drbd_main.c<BR>===================================================================<BR>---
drbd/drbd_main.c (revision 14981)<BR>+++
drbd/drbd_main.c (working copy)<BR>@@ -1549,7 +1549,7
@@<BR> if
(drop_it)<BR>
return TRUE;</DIV>
<DIV>- drop_it =
!--mdev->ko_count;<BR>+ drop_it =
!mdev->ko_count ||
!--mdev->ko_count;<BR> if (
!drop_it )
{<BR>
ERR("[%s/%d] sock_sendmsg time expired, ko =
%u\n",<BR>
current->comm, current->pid, mdev->ko_count);<BR></DIV></BODY></HTML>