From: David Miller <davem@davemloft.net>
To: jasowang@redhat.com
Cc: mst@redhat.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, edumazet@google.com,
stefanha@redhat.com
Subject: Re: [PATCH V2 0/3] some fixes of tuntap
Date: Fri, 11 Jan 2013 19:42:16 -0800 (PST) [thread overview]
Message-ID: <20130111.194216.884859016289350447.davem@davemloft.net> (raw)
In-Reply-To: <1357959574-13113-1-git-send-email-jasowang@redhat.com>
From: Jason Wang <jasowang@redhat.com>
Date: Sat, 12 Jan 2013 10:59:31 +0800
> There series fixes two issues:
> - Don't allow calling TUNSETIFF when a file is detached which may cause kernel
> data structure corrupt.
> - Fix the reference count leaking of sock and module.
>
> Plus a suggestion from Eric to use rtnl_dereference() instead of the open code.
>
> Changes from v1:
> - don't use rcu to dereference tfile->detached as it was already protected by
> rtnl lock.
> - add a patch of switching to use rtnl_dereference().
All applied, thanks Jason.
prev parent reply other threads:[~2013-01-12 3:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-12 2:59 [PATCH V2 0/3] some fixes of tuntap Jason Wang
2013-01-12 2:59 ` [PATCH V2 1/3] tuntap: switch to use rtnl_dereference() Jason Wang
2013-01-12 2:59 ` [PATCH V2 2/3] tuntap: forbid calling TUNSETIFF when detached Jason Wang
2013-01-12 2:59 ` [PATCH V2 3/3] tuntap: fix leaking reference count Jason Wang
2013-01-12 3:42 ` David Miller [this message]
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=20130111.194216.884859016289350447.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=jasowang@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mst@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=stefanha@redhat.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).