git://git.onelab.eu
/
linux-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
dceb60a
)
(no commit message)
author
Sapan Bhatia
<sapanb@cs.princeton.edu>
Fri, 29 Feb 2008 17:56:29 +0000
(17:56 +0000)
committer
Sapan Bhatia
<sapanb@cs.princeton.edu>
Fri, 29 Feb 2008 17:56:29 +0000
(17:56 +0000)
linux-2.6-594-new_ns_pid.patch
patch
|
blob
|
history
diff --git
a/linux-2.6-594-new_ns_pid.patch
b/linux-2.6-594-new_ns_pid.patch
index
c5caa8b
..
9d69f2a
100644
(file)
--- a/
linux-2.6-594-new_ns_pid.patch
+++ b/
linux-2.6-594-new_ns_pid.patch
@@
-14,11
+14,11
@@
diff -Nurb linux-2.6.22-593/net/core/net-sysfs.c linux-2.6.22-594/net/core/net-s
+{
+ struct task_struct *tsk;
+ int err;
-+ struct net *net;
++ struct net *net
=NULL
;
+ /* Look up the network namespace */
+ err = -ESRCH;
+ rcu_read_lock();
-+ tsk = find_task_by_
real_
pid(new_ns_pid);
++ tsk = find_task_by_pid(new_ns_pid);
+ if (tsk) {
+ task_lock(tsk);
+ if (tsk->nsproxy) {