mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: chiranjeevi vaka <cvaka_kernel@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: problems with timers
Date: Fri, 29 Mar 2002 08:31:03 -0800 (PST)	[thread overview]
Message-ID: <20020329163103.71534.qmail@web21307.mail.yahoo.com> (raw)

Hello,

I have a problem regarding timers. I am trying to add
a new timer in TCP layer which will start in the 3-way
handshaking of TCP. In that timer driven function I am
just modifying the timer using mod_timer and I am
printing some debug message. 

I am deleting the timer whenever I receive FIN from
either peer. On one side when I receive a FIN in
TCP_FIN_WAIT1 or TCP_FIN_WAIT2 I am deleting the timer
and on the other side when I am in TCP_ESTABLISHED
state if I receive a FIN I am deleting the timer. 

This is working fine if I am calling the system call
cloase(sockid) from user level. But if I don't use
that system call or if I just press ctrl+c from user
level while data is passing between peers, then after
some time the timer is keep om triggering infinitely
and the system is hanging. Can you suggest me where
will I delete the timer in these cases.


Thank you,
Chiranjeevi

__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/

                 reply	other threads:[~2002-03-29 16:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020329163103.71534.qmail@web21307.mail.yahoo.com \
    --to=cvaka_kernel@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®