Browse Source

MT#55283 fix module refcount

Change-Id: Ife7dc65308b91b223bc67dd4f81f1e0fb079c5df
mr14.0.1
Richard Fuchs 3 weeks ago
parent
commit
0e1ba80ead
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      kernel-module/xt_RTPENGINE.c

+ 2
- 0
kernel-module/xt_RTPENGINE.c View File

@ -1341,6 +1341,8 @@ static int proc_status_show(struct seq_file *m, void *v) {
}
static int proc_status_open(struct inode *i, struct file *f) {
if (!try_module_get(THIS_MODULE))
return -ENOENT;
return single_open(f, proc_status_show, i);
}


Loading…
Cancel
Save