diff options
author | Zach Brown <zach.brown@oracle.com> | 2010-07-23 21:32:31 +0400 |
---|---|---|
committer | Andy Grover <andy.grover@oracle.com> | 2010-09-09 05:16:47 +0400 |
commit | 5adb5bc65f93e52341c3fc9d03d4030dd375e256 (patch) | |
tree | 55b19c7757ccd64f58169a05cd63e91bee409bad /drivers/edac | |
parent | 77510481c0c3980c8979ed236d63e59221fb8ce5 (diff) | |
download | linux-5adb5bc65f93e52341c3fc9d03d4030dd375e256.tar.xz |
RDS: have sockets get transport module references
Right now there's nothing to stop the various paths that use
rs->rs_transport from racing with rmmod and executing freed transport
code. The simple fix is to have binding to a transport also hold a
reference to the transport's module, removing this class of races.
We already had an unused t_owner field which was set for the modular
transports and which wasn't set for the built-in loop transport.
Signed-off-by: Zach Brown <zach.brown@oracle.com>
Diffstat (limited to 'drivers/edac')
0 files changed, 0 insertions, 0 deletions