All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roland Tollenaar <rwatollenaar@domain.hid>
To: Xenomai-help@domain.hid
Subject: [Xenomai-help] rtcan sockets not closing
Date: Mon, 13 Aug 2007 21:17:38 +0200	[thread overview]
Message-ID: <46C0AE52.1020007@domain.hid> (raw)

Hi

On the problem of the overflow warnings that seem to be coming out of 
nowhere. (Earlier insight showed that I have resident sockets which are 
not being closed when my application closes, but I have also found that 
even with one socket only I get buffer overflows which cannot be explained)

Sorry to bother with this, but should

rt_dev_close(can_fd,etc)

not close the socket such that it no longer shows in

/proc/rtcan/sockets ?

I am calling it but it is not fail safe. Sometimes the socket is neatly 
taken out, othertimes not.

Any suggestions?

Regards,

Roland


                 reply	other threads:[~2007-08-13 19:17 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=46C0AE52.1020007@domain.hid \
    --to=rwatollenaar@domain.hid \
    --cc=Xenomai-help@domain.hid \
    --cc=rolandtollenaar@domain.hid \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.