qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
To: qemu-devel@nongnu.org
Cc: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Subject: [Qemu-devel] [PATCH 0/2] net: clean up net/socket.c
Date: Wed,  7 Dec 2011 15:01:47 +0000	[thread overview]
Message-ID: <1323270109-24265-1-git-send-email-stefanha@linux.vnet.ibm.com> (raw)

There is no consistent policy on closing the socket file descriptor when
net/socket.c initialization fails.  This has been on my TODO list for a while
and I had a few minutes to fix it now.

Stefan Hajnoczi (2):
  net: expand tabs in net/socket.c
  net: take ownership of fd in socket init functions

 net/socket.c |   88 ++++++++++++++++++++++++++++++---------------------------
 1 files changed, 46 insertions(+), 42 deletions(-)

-- 
1.7.7.3

             reply	other threads:[~2011-12-07 15:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-07 15:01 Stefan Hajnoczi [this message]
2011-12-07 15:01 ` [Qemu-devel] [PATCH 1/2] net: expand tabs in net/socket.c Stefan Hajnoczi
2011-12-08 12:22   ` Zhi Yong Wu
2011-12-07 15:01 ` [Qemu-devel] [PATCH 2/2] net: take ownership of fd in socket init functions Stefan Hajnoczi
2011-12-08 12:29   ` Zhi Yong Wu
2011-12-08 12:57     ` Stefan Hajnoczi
2011-12-09 12:35       ` Zhi Yong Wu
2011-12-12 23:34 ` [Qemu-devel] [PATCH 0/2] net: clean up net/socket.c Anthony Liguori

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=1323270109-24265-1-git-send-email-stefanha@linux.vnet.ibm.com \
    --to=stefanha@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).