From: <erik.hugne@ericsson.com>
To: <netdev@vger.kernel.org>, <tipc-discussion@lists.sourceforge.net>,
<jon.maloy@ericsson.com>, <maloy@donjonn.com>
Cc: <ying.xue@windriver.com>, <paul.gortmaker@windriver.com>,
<richard.alpe@ericsson.com>, Erik Hugne <erik.hugne@ericsson.com>
Subject: [PATCH net-next v3 0/6] tipc: refcount and memory leak fixes
Date: Thu, 6 Mar 2014 14:40:15 +0100 [thread overview]
Message-ID: <1394113221-30100-1-git-send-email-erik.hugne@ericsson.com> (raw)
From: Erik Hugne <erik.hugne@ericsson.com>
v3: Remove error logging from data path completely. Rebased on top of
latest net merge.
v2: Drop specific -ENOMEM logging in patch #1 (tipc: allow connection
shutdown callback to be invoked in advance) And add a general error
message if an internal server tries to send a message on a
closed/nonexisting connection.
In addition to the fix for refcount leak and memory leak during
module removal, we also fix a problem where the topology server
listening socket where unexpectedly closed. We also eliminate an
unnecessary context switch during accept()/recvmsg() for nonblocking
sockets.
It might be good to include this patchset in stable aswell. After the
v3 rebase on latest merge from net all patches apply cleanly on that
tree.
Erik Hugne (3):
tipc: drop subscriber connection id invalidation
tipc: fix memory leak during module removal
tipc: don't log disabled tasklet handler errors
Ying Xue (3):
tipc: allow connection shutdown callback to be invoked in advance
tipc: fix connection refcount leak
tipc: avoid to unnecessary process switch under non-block mode
net/tipc/config.c | 9 ++-------
net/tipc/handler.c | 1 -
net/tipc/name_table.c | 37 ++++++++++++++++++++++++++++++++++---
net/tipc/server.c | 14 +++++++-------
net/tipc/socket.c | 4 ++--
net/tipc/subscr.c | 19 ++-----------------
6 files changed, 47 insertions(+), 37 deletions(-)
--
1.8.3.2
next reply other threads:[~2014-03-06 13:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-06 13:40 erik.hugne [this message]
2014-03-06 13:40 ` [PATCH net-next v3 1/6] tipc: allow connection shutdown callback to be invoked in advance erik.hugne
2014-03-06 13:40 ` [PATCH net-next v3 2/6] tipc: fix connection refcount leak erik.hugne
2014-03-06 13:40 ` [PATCH net-next v3 3/6] tipc: avoid to unnecessary process switch under non-block mode erik.hugne
2014-03-06 13:40 ` [PATCH net-next v3 4/6] tipc: drop subscriber connection id invalidation erik.hugne
2014-03-06 13:40 ` [PATCH net-next v3 5/6] tipc: fix memory leak during module removal erik.hugne
2014-03-06 13:40 ` [PATCH net-next v3 6/6] tipc: don't log disabled tasklet handler errors erik.hugne
2014-03-06 19:47 ` [PATCH net-next v3 0/6] tipc: refcount and memory leak fixes David Miller
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=1394113221-30100-1-git-send-email-erik.hugne@ericsson.com \
--to=erik.hugne@ericsson.com \
--cc=jon.maloy@ericsson.com \
--cc=maloy@donjonn.com \
--cc=netdev@vger.kernel.org \
--cc=paul.gortmaker@windriver.com \
--cc=richard.alpe@ericsson.com \
--cc=tipc-discussion@lists.sourceforge.net \
--cc=ying.xue@windriver.com \
/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).