From: Daniel Lezcano <dlezcano@fr.ibm.com>
in net-2.6.24, the algorithm which choose a port is changed. The rover
port is no longer a global static variable, it is computed dynamically
with net_random, each time a get_port call is done.
So no need to have it in the network namespace
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
---
include/net/net_namespace.h | 3 ---
1 file changed, 3 deletions(-)
Index: linux-2.6-netns/include/net/net_namespace.h
===================================================================
--- linux-2.6-netns.orig/include/net/net_namespace.h
+++ linux-2.6-netns/include/net/net_namespace.h
@@ -138,9 +138,6 @@ struct net {
atomic_t ip_frag_mem;
struct timer_list ipfrag_secret_timer;
- /* udp.c */
- int udp_port_rover;
-
/* iptable_filter.c */
struct xt_table *ip_packet_filter;
};
--
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers