A Antonino A. Daplas #
Message details and related content
When a VT is newly allocated, the module reference count of the backend will
be incremented. This should be balanced by a module_put() when this VT is
deallocated.
Signed-off-by: Antonino Daplas <redacted>
---
drivers/char/vt.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/char/vt.c b/drivers/char/vt.c
index 3ef823d..da7e66a 100644
--- a/drivers/char/vt.c
+++ b/drivers/char/vt.c@@ -886,6 +886,7 @@ void vc_disallocate(unsigned int currcon if (vc_cons_allocated(currcons)) { struct vc_data *vc = vc_cons[currcons].d; vc->vc_sw->con_deinit(vc); + module_put(vc->vc_sw->owner); if (vc->vc_kmalloced) kfree(vc->vc_screenbuf); if (currcons >= MIN_NR_CONSOLES)
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642