Project

General

Profile

Submit #1192

Updated by tuxillo about 8 years ago

The code for nfs root mounts does not use kmalloc-ed space for some vars, while 
 
 some KKASSERTs in the mentioned files only check for the supplied pointers if 
 
 they were kmalloc-ed or not. 
 
 The attached patch adds a check if the supplied pointers are not in user stack 
 
 (if they are in kernel stack) ... since kmalloc-ed space also resides in the 
 
 addresses not in user stack, maybe kva_p should be removed (is it used 
 
 anywhere else?)? 
 
 --  
  
 Regards, 
 
 Rumko

Back