[Devel] [patch 1/1] net namespace: fix bad keepalive timer refcounting

Daniel Lezcano dlezcano at fr.ibm.com
Mon Jan 29 08:22:22 PST 2007


From: Daniel Lezcano <dlezcano at fr.ibm.com>

Probably a typo, the orig_net_ns is released each time the keepalive 
timer expires.

Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>

---
  net/ipv4/tcp_timer.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Index: 2.6.20-rc4-mm1/net/ipv4/tcp_timer.c
===================================================================
--- 2.6.20-rc4-mm1.orig/net/ipv4/tcp_timer.c
+++ 2.6.20-rc4-mm1/net/ipv4/tcp_timer.c
@@ -529,5 +529,5 @@
  out:
  	bh_unlock_sock(sk);
  	sock_put(sk);
-	put_net_ns(orig_net_ns);
+	pop_net_ns(orig_net_ns);
  }

-- 
_______________________________________________
Containers mailing list
Containers at lists.osdl.org
https://lists.osdl.org/mailman/listinfo/containers




More information about the Devel mailing list