Searched hist:"5 adb5bc65f93e52341c3fc9d03d4030dd375e256" (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/net/rds/ |
H A D | transport.c | diff 5adb5bc65f93e52341c3fc9d03d4030dd375e256 Fri Jul 23 12:32:31 CDT 2010 Zach Brown <zach.brown@oracle.com> 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>
|
H A D | af_rds.c | diff 5adb5bc65f93e52341c3fc9d03d4030dd375e256 Fri Jul 23 12:32:31 CDT 2010 Zach Brown <zach.brown@oracle.com> 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>
|
H A D | connection.c | diff 5adb5bc65f93e52341c3fc9d03d4030dd375e256 Fri Jul 23 12:32:31 CDT 2010 Zach Brown <zach.brown@oracle.com> 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>
|
H A D | rds.h | diff 5adb5bc65f93e52341c3fc9d03d4030dd375e256 Fri Jul 23 12:32:31 CDT 2010 Zach Brown <zach.brown@oracle.com> 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>
|