Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git] / include / linux / vs_network.h
index 94d333b..28fa781 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef _NX_VS_NETWORK_H
 #define _NX_VS_NETWORK_H
 
-
 #include "vserver/network.h"
 #include "vserver/debug.h"
 
@@ -204,6 +203,12 @@ static inline int addr_in_nx_info(struct nx_info *nxi, uint32_t addr)
        return 0;
 }
 
+static inline void exit_nx_info(struct task_struct *p)
+{
+       if (p->nx_info)
+               release_nx_info(p->nx_info, p);
+}
+
 
 #else
 #warning duplicate inclusion