Thread (5 messages) read the whole thread 5 messages, 2 authors, 2013-01-12

Re: [PATCH V2 0/3] some fixes of tuntap

From: David Miller <davem@davemloft.net>
Date: 2013-01-12 03:42:21
Also in: lkml

From: Jason Wang <redacted>
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help