linux-stable/net/openvswitch
Eric W. Biederman 0bbf87d852 net ipv4: Convert ipv4.ip_local_port_range to be per netns v3
- Move sysctl_local_ports from a global variable into struct netns_ipv4.
- Modify inet_get_local_port_range to take a struct net, and update all
  of the callers.
- Move the initialization of sysctl_local_ports into
   sysctl_net_ipv4.c:ipv4_sysctl_init_net from inet_connection_sock.c

v2:
- Ensure indentation used tabs
- Fixed ip.h so it applies cleanly to todays net-next

v3:
- Compile fixes of strange callers of inet_get_local_port_range.
  This patch now successfully passes an allmodconfig build.
  Removed manual inlining of inet_get_local_port_range in ipv4_local_port_range

Originally-by: Samya <samya@twitter.com>
Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-09-30 21:59:38 -07:00
..
actions.c openvswitch: Add SCTP support 2013-08-26 14:03:13 -07:00
datapath.c openvswitch: Add SCTP support 2013-08-26 14:03:13 -07:00
datapath.h openvswitch: Mega flow implementation 2013-08-23 16:43:07 -07:00
dp_notify.c net: pass info struct via netdevice notifier 2013-05-28 13:11:01 -07:00
flow.c net: ovs: flow: fix potential illegal memory access in __parse_flow_nlattrs 2013-09-11 16:09:58 -04:00
flow.h openvswitch: Fix alignment of struct sw_flow_key. 2013-09-05 15:54:37 -04:00
Kconfig openvswitch: Add SCTP support 2013-08-26 14:03:13 -07:00
Makefile openvswitch: check CONFIG_OPENVSWITCH_GRE in makefile 2013-08-23 16:43:07 -07:00
vport-gre.c tunnels: harmonize cleanup done on skb on xmit path 2013-09-04 00:27:25 -04:00
vport-internal_dev.c openvswitch: Add tunneling interface. 2013-06-19 18:07:41 -07:00
vport-internal_dev.h openvswitch: Replace Nicira Networks. 2012-05-03 18:55:23 -07:00
vport-netdev.c openvswitch:: link upper device for port devices 2013-08-23 16:38:00 -07:00
vport-netdev.h openvswitch: Remove unused get_config vport op. 2013-06-14 15:09:09 -07:00
vport-vxlan.c net ipv4: Convert ipv4.ip_local_port_range to be per netns v3 2013-09-30 21:59:38 -07:00
vport.c openvswitch: Fix argument descriptions in vport.c. 2013-08-23 16:38:00 -07:00
vport.h openvswitch: Add vxlan tunneling support. 2013-08-20 00:15:44 -07:00