PATCH for 2.4.18 Kernel lock/unlock bugs

PATCH for 2.4.18 Kernel lock/unlock bugs

Post by Jiayi Chon » Sat, 25 May 2002 02:52:47



I found a couple of kernel lock and unlock bugs in the files
/fs/intermezzo/vfs.c and /fs/intermezze/file.c .
Here are my submitted patches for the following bugs.
- Jiayi

--- ./fs/intermezzo/vfs.c.orig  2002-05-21 21:07:34.000000000 -0700

                 error = filp_close(filp, files);
         } else {
                 EXIT;
+               unlock_kernel();
                 return error;
         }

--- ./fs/intermezzo/file.c.orig 2002-05-21 21:03:33.000000000 -0700

                         */
                         lock_kernel();
                          if ( presto_get_permit(file->f_dentry->d_inode) <
0 ) {
-                                               EXIT;
+                               unlock_kernel();                                
+                               EXIT;
                                  /* we must be disconnected, not to worry
*/
                                 return;
                          }

 
 
 

1. newnat13-and-helpers-2.4.18.gz Failed to patch with linux 2.4.18 kernel?

Has anybody trying building kernel using the above patch? I am trying to build h323 module from above patch and in my environment I have linux kernel 2.4.18 and iptables 1.2.6a. If anybody has successfully tried the above patch, then I will appreciate if you could send me the steps and any other details to have it working will be appreciated.
thanks
-praveen

2. install problem on ftp downloaded redhat 6

3. Linux Kernel Crash - Vanilla 2.4.18/Redhat 2.4.18-5

4. GETTING KDE WORKING

5. Linux Kernel Crash - Vanilla 2.4.18/Redhat 2.4.18-5 (2nd try =) )

6. USR CP5610A Modem in RH 7.0

7. bug in 2.4.18 (xfs tree), kernel BUG at page_alloc.c:82!

8. Laser Printing problems

9. MPC855T + Linux kernel 2.4.18 + ppc patch + bridge patch = somtimes OOPS

10. what is the difference between 2.4.18-14 and 2.4.18-17.8.0

11. Very High Load on Disk Activity in 2.4.18 (and 2.4.18-pre8)

12. 2.4.18/2.5.24 kernel/module.c - minor bugs