diff options
| author | Eric W. Biederman <[email protected]> | 2011-06-15 19:47:04 +0000 |
|---|---|---|
| committer | Eric W. Biederman <[email protected]> | 2011-06-15 21:35:29 +0000 |
| commit | 793925334f32e9026c22baee5c3c340f47d4ef7e (patch) | |
| tree | 56682059a84cf6ee12b664ac32b42d431f8c4be8 /net/lapb/lapb_iface.c | |
| parent | Linux 3.0-rc3 (diff) | |
| download | kernel-793925334f32e9026c22baee5c3c340f47d4ef7e.tar.gz kernel-793925334f32e9026c22baee5c3c340f47d4ef7e.zip | |
proc: Fix Oops on stat of /proc/<zombie pid>/ns/net
Don't call iput with the inode half setup to be a namespace filedescriptor.
Instead rearrange the code so that we don't initialize ei->ns_ops until
after I ns_ops->get succeeds, preventing us from invoking ns_ops->put
when ns_ops->get failed.
Reported-by: Ingo Saitz <[email protected]>
Signed-off-by: Eric W. Biederman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
