]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'rxrpc-fixes-20190814' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorDavid S. Miller <davem@davemloft.net>
Thu, 15 Aug 2019 23:33:22 +0000 (16:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Aug 2019 23:33:22 +0000 (16:33 -0700)
commit7481e7bc0b816493cb5e6b4736893d14c3d7ccda
tree73a947d56e7757a17ddaf273aa481b406540afb9
parentffd501d31189aabf524d0c150450f1b1635b6f4a
parentea73f6b3f05f45aedc40c8b7873318a67b777101
Merge tag 'rxrpc-fixes-20190814' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs

David Howells says:

====================
rxrpc: Fix local endpoint handling

Here's a pair of patches that fix two issues in the handling of local
endpoints (rxrpc_local structs):

 (1) Use list_replace_init() rather than list_replace() if we're going to
     unconditionally delete the replaced item later, lest the list get
     corrupted.

 (2) Don't access the rxrpc_local object after passing our ref to the
     workqueue, not even to illuminate tracepoints, as the work function
     may cause the object to be freed.  We have to cache the information
     beforehand.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>