ipvs: Stop guessing the network namespace
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest84 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/84 | ipvs: Hoist computation of ipvs earlier in sctp_conn_schedulenet/ | +3 | 0 replies | |
| 1/84 | ipvs: Hoist computation of ipvs earlier in sctp_conn_schedulenet/ | +3 | 0 replies | |
| 2/84 | ipvs: Don't use current in proc_do_defense_modenet/ | +6 | 0 replies | |
| 2/84 | ipvs: Don't use current in proc_do_defense_modenet/ | +6 | 3 replies | |
| 3/84 | ipvs: Use state->net in the ipvs forward functionsnet/ | +2 | 0 replies | |
| 3/84 | ipvs: Use state->net in the ipvs forward functionsnet/ | +2 | 0 replies | |
| 4/84 | ipvs: Store ipvs not net in struct ip_vs_conninclude/ net/ net/ +5 more | +25 | 0 replies | |
| 4/84 | ipvs: Store ipvs not net in struct ip_vs_conninclude/ net/ net/ +5 more | +25 | 0 replies | |
| 5/84 | ipvs: Store ipvs not net in struct ip_vs_conn_paraminclude/ net/ | +9 | 0 replies | |
| 5/84 | ipvs: Store ipvs not net in struct ip_vs_conn_paraminclude/ net/ | +9 | 0 replies | |
| 6/84 | ipvs: Pass ipvs not net to ip_vs_fill_conninclude/ net/ net/ +4 more | +29 | 0 replies | |
| 6/84 | ipvs: Pass ipvs not net to ip_vs_fill_conninclude/ net/ net/ +4 more | +29 | 0 replies | |
| 7/84 | ipvs: Store ipvs not net in struct ip_vs_serviceinclude/ net/ net/ +2 more | +43 | 0 replies | |
| 7/84 | ipvs: Store ipvs not net in struct ip_vs_serviceinclude/ net/ net/ +2 more | +43 | 0 replies | |
| 8/84 | ipvs: Pass ipvs not net to ip_vs_svc_fwm_hashkeynet/ | +4 | 0 replies | |
| 8/84 | ipvs: Pass ipvs not net to ip_vs_svc_fwm_hashkeynet/ | +4 | 0 replies | |
| 9/84 | ipvs: Pass ipvs not net to __ip_vs_svc_fwm_findnet/ | +8 | 0 replies | |
| 9/84 | ipvs: Pass ipvs not net to __ip_vs_svc_fwm_findnet/ | +8 | 0 replies | |
| 10/84 | ipvs: Pass ipvs not net to ip_vs_svc_hashkeynet/ | +4 | 0 replies | |
| 10/84 | ipvs: Pass ipvs not net to ip_vs_svc_hashkeynet/ | +4 | 0 replies | |
| 11/84 | ipvs: Pass ipvs not net to __ip_vs_service_findnet/ | +8 | 0 replies | |
| 11/84 | ipvs: Pass ipvs not net to __ip_vs_service_findnet/ | +8 | 0 replies | |
| 12/84 | ipvs: Pass ipvs not net to ipvs_service_findinclude/ net/ net/ +2 more | +11 | 0 replies | |
| 12/84 | ipvs: Pass ipvs not net to ip_vs_service_findinclude/ net/ net/ +2 more | +11 | 0 replies | |
| 13/84 | ipvs: Pass ipvs not net to ip_vs_has_real_serviceinclude/ net/ net/ | +6 | 0 replies | |
| 13/84 | ipvs: Pass ipvs not net to ip_vs_has_real_serviceinclude/ net/ net/ | +6 | 0 replies | |
| 14/84 | ipvs: Pass ipvs not net to ip_vs_find_destinclude/ net/ net/ +1 more | +5 | 0 replies | |
| 14/84 | ipvs: Pass ipvs not net to ip_vs_find_destinclude/ net/ net/ +1 more | +5 | 0 replies | |
| 15/84 | ipvs: Pass ipvs not net to ip_vs_trash_cleanupnet/ | +2 | 0 replies | |
| 15/84 | ipvs: Pass ipvs not net to ip_vs_trash_cleanupnet/ | +2 | 0 replies | |
| 16/84 | ipvs: Pass ipvs not net to __ip_vs_del_destnet/ | +4 | 0 replies | |
| 16/84 | ipvs: Pass ipvs not net to __ip_vs_del_destnet/ | +4 | 0 replies | |
| 17/84 | ipvs: Pass ipvs not net to ip_vs_dest_trash_expirenet/ | +2 | 0 replies | |
| 17/84 | ipvs: Pass ipvs not net to ip_vs_dest_trash_expirenet/ | +2 | 0 replies | |
| 18/84 | ipvs: Cache ipvs in ip_vs_genl_set_cmdnet/ | +3 | 0 replies | |
| 18/84 | ipvs: Cache ipvs in ip_vs_genl_set_cmdnet/ | +3 | 0 replies | |
| 19/84 | ipvs: Pass ipvs not net to ip_vs_add_servicenet/ | +4 | 0 replies | |
| 19/84 | ipvs: Pass ipvs not net to ip_vs_add_servicenet/ | +4 | 0 replies | |
| 20/84 | ipvs: Pass ipvs not net to ip_vs_flushnet/ | +5 | 0 replies | |
| 20/84 | ipvs: Pass ipvs not net to ip_vs_flushnet/ | +5 | 0 replies | |
| 21/84 | ipvs: Pass ipvs not net to ip_vs_service_net_cleanupinclude/ net/ net/ | +6 | 0 replies | |
| 21/84 | ipvs: Pass ipvs not net to ip_vs_service_net_cleanupinclude/ net/ net/ | +6 | 0 replies | |
| 22/84 | ipvs: Pass ipvs not net to ip_vs_zero_allnet/ | +3 | 0 replies | |
| 22/84 | ipvs: Pass ipvs not net to ip_vs_zero_allnet/ | +3 | 0 replies | |
| 23/84 | ipvs: Cache ipvs in ip_vs_in_icmp and ip_vs_in_icmp_v6net/ | +6 | 0 replies | |
| 23/84 | ipvs: Cache ipvs in ip_vs_in_icmp and ip_vs_in_icmp_v6net/ | +6 | 0 replies | |
| 24/84 | ipvs: Pass ipvs not net to ip_vs_proto_data_getinclude/ net/ net/ +6 more | +24 | 0 replies | |
| 24/84 | ipvs: Pass ipvs not net to ip_vs_proto_data_getinclude/ net/ net/ +6 more | +24 | 0 replies | |
| 25/84 | ipvs: Pass ipvs not net to ip_vs_set_timeoutnet/ | +4 | 0 replies | |
| 25/84 | ipvs: Pass ipvs not net to ip_vs_set_timeoutnet/ | +4 | 0 replies | |
| 26/84 | ipvs: Pass ipvs not net to __ip_vs_get_servie_entriesnet/ | +2 | 0 replies | |
| 26/84 | ipvs: Pass ipvs not net to __ip_vs_get_service_entriesnet/ | +2 | 0 replies | |
| 27/84 | ipvs: Pass ipvs not net to __ip_vs_get_dest_entriesnet/ | +2 | 0 replies | |
| 27/84 | ipvs: Pass ipvs not net to __ip_vs_get_dest_entriesnet/ | +2 | 0 replies | |
| 28/84 | ipvs: Pass ipvs not net to __ip_vs_get_timeoutsnet/ | +6 | 0 replies | |
| 28/84 | ipvs: Pass ipvs not net to __ip_vs_get_timeoutsnet/ | +6 | 0 replies | |
| 29/84 | ipvs: Pass ipvs not net to ip_vs_genl_parse_servicenet/ | +4 | 0 replies | |
| 29/84 | ipvs: Pass ipvs not net to ip_vs_genl_parse_servicenet/ | +4 | 0 replies | |
| 30/84 | ipvs: Pass ipvs not net to ip_vs_genl_find_servicenet/ | +4 | 0 replies | |
| 30/84 | ipvs: Pass ipvs not net to ip_vs_genl_find_servicenet/ | +4 | 0 replies | |
| 31/84 | ipvs: Pass ipvs not net to ip_vs_genl_new_daemonnet/ | +3 | 0 replies | |
| 31/84 | ipvs: Pass ipvs not net to ip_vs_genl_new_daemonnet/ | +3 | 0 replies | |
| 32/84 | ipvs: Pass ipvs not net to ip_vs_genl_del_daemonnet/ | +3 | 0 replies | |
| 32/84 | ipvs: Pass ipvs not net to ip_vs_genl_del_daemonnet/ | +3 | 0 replies | |
| 33/84 | ipvs: Pass ipvs not net to start_sync_threadinclude/ net/ net/ | +8 | 0 replies | |
| 33/84 | ipvs: Pass ipvs not net to start_sync_threadinclude/ net/ net/ | +8 | 0 replies | |
| 34/84 | ipvs: Pass ipvs not net to stop_sync_threadinclude/ net/ net/ | +6 | 0 replies | |
| 34/84 | ipvs: Pass ipvs not net to stop_sync_threadinclude/ net/ net/ | +6 | 0 replies | |
| 35/84 | ipvs: Pass ipvs not net to make_send_socknet/ | +3 | 0 replies | |
| 35/84 | ipvs: Pass ipvs not net to make_send_socknet/ | +3 | 0 replies | |
| 36/84 | ipvs: Pass ipvs not net to make_receive_socknet/ | +3 | 0 replies | |
| 36/84 | ipvs: Pass ipvs not net to make_receive_socknet/ | +3 | 0 replies | |
| 37/84 | ipvs: Store ipvs not net in struct ip_vs_sync_thread_datanet/ | +5 | 0 replies | |
| 37/84 | ipvs: Store ipvs not net in struct ip_vs_sync_thread_datanet/ | +5 | 0 replies | |
| 38/84 | ipvs: Pass ipvs not net to ip_vs_process_messagenet/ | +3 | 0 replies | |
| 38/84 | ipvs: Pass ipvs not net to ip_vs_process_messagenet/ | +3 | 0 replies | |
| 39/84 | ipvs: Pass ipvs not net to ip_vs_sync_conn_v0net/ | +3 | 0 replies | |
| 39/84 | ipvs: Pass ipvs not net to ip_vs_sync_conn_v0net/ | +3 | 0 replies | |
| 40/84 | ipvs: Pass ipvs not net to ip_vs_sync_conninclude/ net/ net/ +1 more | +5 | 0 replies | |
| 40/84 | ipvs: Pass ipvs not net to ip_vs_sync_conninclude/ net/ net/ +1 more | +5 | 0 replies | |
| 41/84 | ipvs: Pass ipvs not net to ip_vs_proc_connnet/ | +6 | 0 replies | |
| 41/84 | ipvs: Pass ipvs not net to ip_vs_proc_connnet/ | +6 | 0 replies | |
| 42/84 | ipvs: Pass ipvs not net to ip_vs_proc_sync_connnet/ | +2 | 0 replies | |
| 42/84 | ipvs: Pass ipvs not net to ip_vs_proc_sync_connnet/ | +2 | 0 replies | |
| 43/84 | ipvs: Pass ipvs not net to ip_vs_sync_net_initinclude/ net/ net/ | +3 | 0 replies | |
| 43/84 | ipvs: Pass ipvs not net to ip_vs_sync_net_initinclude/ net/ net/ | +3 | 0 replies | |
| 44/84 | ipvs: Pass ipvs not net to ip_vs_sync_net_cleanupinclude/ net/ net/ | +5 | 0 replies | |
| 44/84 | ipvs: Pass ipvs not net to ip_vs_sync_net_cleanupinclude/ net/ net/ | +5 | 0 replies | |
| 45/84 | ipvs: Pass ipvs not net to ip_vs_genl_set_confignet/ | +2 | 0 replies | |
| 45/84 | ipvs: Pass ipvs not net to ip_vs_genl_set_confignet/ | +2 | 0 replies | |
| 46/84 | ipvs: Pass ipvs not net to ip_vs_start_estimator aned ip_vs_stop_estimatorinclude/ net/ net/ | +10 | 0 replies | |
| 46/84 | ipvs: Pass ipvs not net to ip_vs_start_estimator aned ip_vs_stop_estimatorinclude/ net/ net/ | +10 | 0 replies | |
| 47/84 | ipvs: Pass ipvs not net to ip_vs_random_drop_entryinclude/ net/ net/ | +4 | 0 replies | |
| 47/84 | ipvs: Pass ipvs not net to ip_vs_random_drop_entryinclude/ net/ net/ | +4 | 0 replies | |
| 48/84 | ipvs: Pass ipvs not net to ip_vs_control_net_(init|cleanup)_sysctlnet/ | +8 | 0 replies | |
| 48/84 | ipvs: Pass ipvs not net to ip_vs_control_net_(init|cleanup)_sysctlnet/ | +8 | 0 replies | |
| 49/84 | ipvs: Pass ipvs not net into ip_vs_control_net_(init|cleanup)include/ net/ net/ | +9 | 0 replies | |
| 49/84 | ipvs: Pass ipvs not net into ip_vs_control_net_(init|cleanup)include/ net/ net/ | +9 | 0 replies | |
| 50/84 | ipvs: Pass ipvs not net to estimation_timernet/ | +2 | 0 replies | |
| 50/84 | ipvs: Pass ipvs not net to estimation_timernet/ | +2 | 0 replies | |
| 51/84 | ipvs: Pass ipvs not net to ip_vs_estimator_net_init and ip_vs_estimator_cleanupinclude/ net/ net/ | +8 | 0 replies | |
| 51/84 | ipvs: Pass ipvs not net to ip_vs_estimator_net_init and ip_vs_estimator_cleanupinclude/ net/ net/ | +8 | 0 replies | |
| 52/84 | ipvs: Pass ipvs not net into register_app and unregister_appinclude/ net/ net/ +2 more | +15 | 0 replies | |
| 52/84 | ipvs: Pass ipvs not net into register_app and unregister_appinclude/ net/ net/ +2 more | +15 | 0 replies | |
| 53/84 | ipvs: Pass ipvs not net into ip_vs_app_inc_newnet/ | +3 | 0 replies | |
| 53/84 | ipvs: Pass ipvs not net into ip_vs_app_inc_newnet/ | +3 | 0 replies | |
| 54/84 | ipvs: Pass ipvs not net to register_ip_vs_app_incinclude/ net/ net/ | +3 | 0 replies | |
| 54/84 | ipvs: Pass ipvs not net to register_ip_vs_app_incinclude/ net/ net/ | +3 | 0 replies | |
| 55/84 | ipvs: Pass ipvs not net to register_ip_vs_app and unregister_ip_vs_appinclude/ net/ net/ | +13 | 0 replies | |
| 55/84 | ipvs: Pass ipvs not net to register_ip_vs_app and unregister_ip_vs_appinclude/ net/ net/ | +16 | 0 replies | |
| 56/84 | ipvs: Pass ipvs not net into ip_vs_app_inc_releasenet/ | +2 | 0 replies | |
| 56/84 | ipvs: Pass ipvs not net into ip_vs_app_inc_releasenet/ | +2 | 0 replies | |
| 57/84 | ipvs: Pass ipvs not net into ip_vs_app_net_init and ip_vs_app_net_cleanupinclude/ net/ net/ | +10 | 0 replies | |
| 57/84 | ipvs: Pass ipvs not net into ip_vs_app_net_init and ip_vs_app_net_cleanupinclude/ net/ net/ | +9 | 0 replies | |
| 58/84 | ipvs: Pass ipvs not net into [un]register_ip_vs_proto_netnsnet/ | +7 | 0 replies | |
| 58/84 | ipvs: Pass ipvs not net into [un]register_ip_vs_proto_netnsnet/ | +7 | 0 replies | |
| 59/84 | ipvs: Pass ipvs not net into init_netns and exit_netnsinclude/ net/ net/ +2 more | +9 | 0 replies | |
| 59/84 | ipvs: Pass ipvs not net into init_netns and exit_netnsinclude/ net/ net/ +2 more | +10 | 0 replies | |
| 60/84 | ipvs: Pass ipvs into ip_vs_conn_fill_param_protonet/ | +6 | 0 replies | |
| 60/84 | ipvs: Pass ipvs into ip_vs_conn_fill_param_protonet/ | +6 | 0 replies | |
| 61/84 | ipvs: Pass ipvs into .conn_in_get and ip_vs_conn_in_get_protoinclude/ net/ net/ +1 more | +11 | 0 replies | |
| 61/84 | ipvs: Pass ipvs into .conn_in_get and ip_vs_conn_in_get_protoinclude/ net/ net/ +1 more | +11 | 0 replies | |
| 62/84 | ipvs: Pass ipvs into conn_out_getinclude/ net/ net/ +2 more | +14 | 0 replies | |
| 62/84 | ipvs: Pass ipvs into conn_out_getinclude/ net/ net/ +2 more | +14 | 0 replies | |
| 63/84 | ipvs: Pass ipvs not net to ip_vs_conn_hashkeynet/ | +4 | 0 replies | |
| 63/84 | ipvs: Pass ipvs not net to ip_vs_conn_hashkeynet/ | +4 | 0 replies | |
| 64/84 | ipvs: Pass ipvs not net into ip_vs_conn_net_flushnet/ | +4 | 0 replies | |
| 64/84 | ipvs: Pass ipvs not net into ip_vs_conn_net_flushnet/ | +4 | 0 replies | |
| 65/84 | ipvs: Pass ipvs not net into ip_vs_conn_net_init and ip_vs_conn_net_cleanupinclude/ net/ net/ | +9 | 0 replies | |
| 65/84 | ipvs: Pass ipvs not net into ip_vs_conn_net_init and ip_vs_conn_net_cleanupinclude/ net/ net/ | +9 | 0 replies | |
| 66/84 | ipvs: Pass ipvs into .conn_schedule and ip_vs_try_to_scheduleinclude/ net/ net/ +3 more | +17 | 0 replies | |
| 66/84 | ipvs: Pass ipvs into .conn_schedule and ip_vs_try_to_scheduleinclude/ net/ net/ +3 more | +17 | 0 replies | |
| 67/84 | ipvs: Better derivation of ipvs in ip_vs_tunnel_xmitnet/ | +2 | 0 replies | |
| 67/84 | ipvs: Better derivation of ipvs in ip_vs_tunnel_xmitnet/ | +2 | 0 replies | |
| 68/84 | ipvs: Pass ipvs into __ip_vs_get_out_rtnet/ | +8 | 0 replies | |
| 68/84 | ipvs: Pass ipvs into __ip_vs_get_out_rtnet/ | +8 | 0 replies | |
| 69/84 | ipvs: Pass ipvs into __ip_vs_get_out_rt_v6net/ | +13 | 0 replies | |
| 69/84 | ipvs: Pass ipvs into __ip_vs_get_out_rt_v6net/ | +13 | 0 replies | |
| 70/84 | ipvs: Pass ipvs into ensure_mtu_is adequatenet/ | +3 | 0 replies | |
| 70/84 | ipvs: Pass ipvs into ensure_mtu_is adequatenet/ | +5 | 0 replies | |
| 71/84 | ipvs: Better derivation of ipvs in ip_vs_in_stats and ip_vs_out_statsnet/ | +2 | 0 replies | |
| 71/84 | ipvs: Better derivation of ipvs in ip_vs_in_stats and ip_vs_out_statsnet/ | +2 | 0 replies | |
| 72/84 | ipvs: Wrap sysctl_cache_bypass and remove ifdefs in ip_vs_leaveinclude/ net/ | +13 | 0 replies | |
| 72/84 | ipvs: Wrap sysctl_cache_bypass and remove ifdefs in ip_vs_leaveinclude/ net/ | +13 | 0 replies | |
| 73/84 | ipvs: Simplify ipvs and net access in ip_vs_leavenet/ | +2 | 0 replies | |
| 73/84 | ipvs: Simplify ipvs and net access in ip_vs_leavenet/ | +2 | 0 replies | |
| 74/84 | ipvs: Pass ipvs not net into sysctl_nat_icmp_sendnet/ | +3 | 0 replies | |
| 74/84 | ipvs: Pass ipvs not net into sysctl_nat_icmp_sendnet/ | +3 | 0 replies | |
| 75/84 | ipvs: Pass ipvs into ip_vs_outnet/ | +6 | 0 replies | |
| 75/84 | ipvs: Pass ipvs into ip_vs_outnet/ | +6 | 0 replies | |
| 76/84 | ipvs: Pass ipvs into ip_vs_innet/ | +5 | 0 replies | |
| 76/84 | ipvs: Pass ipvs into ip_vs_innet/ | +5 | 0 replies | |
| 77/84 | ipvs: Pass ipvs into ip_vs_in_icmp and ip_vs_in_icmp_v6net/ | +14 | 0 replies | |
| 77/84 | ipvs: Pass ipvs into ip_vs_in_icmp and ip_vs_in_icmp_v6net/ | +14 | 0 replies | |
| 78/84 | ipvs: Pass ipvs into ip_vs_out_icmp and ip_vs_out_icmp_v6net/ | +7 | 0 replies | |
| 78/84 | ipvs: Pass ipvs into ip_vs_out_icmp and ip_vs_out_icmp_v6net/ | +7 | 0 replies | |
| 79/84 | ipvs: Pass ipvs through ip_vs_route_me_harder into sysctl_snat_reroutenet/ | +7 | 0 replies | |
| 79/84 | ipvs: Pass ipvs through ip_vs_route_me_harder into sysctl_snat_reroutenet/ | +7 | 0 replies | |
| 80/84 | ipvs: Remove net argument from ip_vs_tcp_conn_listeninclude/ net/ net/ | +5 | 0 replies | |
| 80/84 | ipvs: Remove net argument from ip_vs_tcp_conn_listeninclude/ net/ net/ | +5 | 0 replies | |
| 81/84 | ipvs: Pass ipvs not net to ip_vs_protocol_net_(init|cleanup)include/ net/ net/ | +8 | 0 replies | |
| 81/84 | ipvs: Pass ipvs not net to ip_vs_protocol_net_(init|cleanup)include/ net/ net/ | +8 | 0 replies | |
| 82/84 | ipvs: Remove skb_netinclude/ | +0 | 0 replies | |
| 82/84 | ipvs: Remove skb_netinclude/ | +0 | 0 replies | |
| 83/84 | ipvs: Remove skb_sknetinclude/ net/ | +10 | 0 replies | |
| 83/84 | ipvs: Remove skb_sknetinclude/ net/ | +10 | 0 replies | |
| 84/84 | ipvs: Pass ipvs into ip_vs_gather_fragsnet/ | +5 | 0 replies | |
| 84/84 | ipvs: Pass ipvs into ip_vs_gather_fragsnet/ | +5 | 0 replies |
Reviews trailers per patch
None of the 168 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH next 00/84] ipvs: Stop guessing the network namespace
I am gradually working my way through the netfilter stack passing struct down into the netfilter hooks and from the netfilter hooks and from there down into the functions that actually care. This removes the need for netfilter functions to guess how to figure out how to compute which network namespace they are in and instead provides a simple and reliable method to do so.
The cleanups stand on their own but this is part of a larger effort to have routes with an output device that is not in the current network namespace.
The IPVS code has been a bit more of a challenge than most. Just passing struct net through to where it is needed did not feel clean to me. The practical issue is that the ipvs code in most places actually wants struct netns_ipvs and not struct net.
So as part of this process I have turned the relationship between struct net and the structs netns_ipvs, ip_vs_conn_param, ip_vs_conn, and ip_vs_service inside out. I have modified the ipvs functions to take a struct netns_ipvs not a struct net. The net is code with fewer conversions from one type of structure to another. I did wind up adding a struct netns_ipvs parameter to quite a few functions that did not have it before so I could pass the structure down from the netfilter hooks to where it is actually needed to avoid guessing.
I have broken up the work in a bunch of small patches so there is at least a chance and reviewing that each step I took is correct. The series compiles at each step so bisecting it should not be a problem if something weird comes up.
The first two changes in this series are actually bug fixes. The first is a compile fix for a bug in sctp that came in, in the last round of ipvs changes merged into nf-next. The second fixes an older bug where in pathological circumstances the wrong network namespace could be used when a proc file is written to.
The rest of the patchset is a bunch of boring changes getting pushing struct netns_ipvs (and by extension ipvs->net) where it needs to be. Either by replacing struct net pointers or adding new struct netns_ipvs pointers. With a handful of other minor cleanups (like removing skb_net).
The changes are also available against nf-next at:git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/net-next.git master
My entire pending set of changes for those who want to look ahead is at:git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/net-next.git for-testing
Eric
Eric W. Biederman (84):
ipvs: Hoist computation of ipvs earlier in sctp_conn_schedule
ipvs: Don't use current in proc_do_defense_mode
ipvs: Use state->net in the ipvs forward functions
ipvs: Store ipvs not net in struct ip_vs_conn
ipvs: Store ipvs not net in struct ip_vs_conn_param
ipvs: Pass ipvs not net to ip_vs_fill_conn
ipvs: Store ipvs not net in struct ip_vs_service
ipvs: Pass ipvs not net to ip_vs_svc_fwm_hashkey
ipvs: Pass ipvs not net to __ip_vs_svc_fwm_find
ipvs: Pass ipvs not net to ip_vs_svc_hashkey
ipvs: Pass ipvs not net to __ip_vs_service_find
ipvs: Pass ipvs not net to ipvs_service_find
ipvs: Pass ipvs not net to ip_vs_has_real_service
ipvs: Pass ipvs not net to ip_vs_find_dest
ipvs: Pass ipvs not net to ip_vs_trash_cleanup
ipvs: Pass ipvs not net to __ip_vs_del_dest
ipvs: Pass ipvs not net to ip_vs_dest_trash_expire
ipvs: Cache ipvs in ip_vs_genl_set_cmd
ipvs: Pass ipvs not net to ip_vs_add_service
ipvs: Pass ipvs not net to ip_vs_flush
ipvs: Pass ipvs not net to ip_vs_service_net_cleanup
ipvs: Pass ipvs not net to ip_vs_zero_all
ipvs: Cache ipvs in ip_vs_in_icmp and ip_vs_in_icmp_v6
ipvs: Pass ipvs not net to ip_vs_proto_data_get
ipvs: Pass ipvs not net to ip_vs_set_timeout
ipvs: Pass ipvs not net to __ip_vs_get_servie_entries
ipvs: Pass ipvs not net to __ip_vs_get_dest_entries
ipvs: Pass ipvs not net to __ip_vs_get_timeouts
ipvs: Pass ipvs not net to ip_vs_genl_parse_service
ipvs: Pass ipvs not net to ip_vs_genl_find_service
ipvs: Pass ipvs not net to ip_vs_genl_new_daemon
ipvs: Pass ipvs not net to ip_vs_genl_del_daemon
ipvs: Pass ipvs not net to start_sync_thread
ipvs: Pass ipvs not net to stop_sync_thread
ipvs: Pass ipvs not net to make_send_sock
ipvs: Pass ipvs not net to make_receive_sock
ipvs: Store ipvs not net in struct ip_vs_sync_thread_data
ipvs: Pass ipvs not net to ip_vs_process_message
ipvs: Pass ipvs not net to ip_vs_sync_conn_v0
ipvs: Pass ipvs not net to ip_vs_sync_conn
ipvs: Pass ipvs not net to ip_vs_proc_conn
ipvs: Pass ipvs not net to ip_vs_proc_sync_conn
ipvs: Pass ipvs not net to ip_vs_sync_net_init
ipvs: Pass ipvs not net to ip_vs_sync_net_cleanup
ipvs: Pass ipvs not net to ip_vs_genl_set_config
ipvs: Pass ipvs not net to ip_vs_start_estimator aned ip_vs_stop_estimator
ipvs: Pass ipvs not net to ip_vs_random_drop_entry
ipvs: Pass ipvs not net to ip_vs_control_net_(init|cleanup)_sysctl
ipvs: Pass ipvs not net into ip_vs_control_net_(init|cleanup)
ipvs: Pass ipvs not net to estimation_timer
ipvs: Pass ipvs not net to ip_vs_estimator_net_init and ip_vs_estimator_cleanup
ipvs: Pass ipvs not net into register_app and unregister_app
ipvs: Pass ipvs not net into ip_vs_app_inc_new
ipvs: Pass ipvs not net to register_ip_vs_app_inc
ipvs: Pass ipvs not net to register_ip_vs_app and unregister_ip_vs_app
ipvs: Pass ipvs not net into ip_vs_app_inc_release
ipvs: Pass ipvs not net into ip_vs_app_net_init and ip_vs_app_net_cleanup
ipvs: Pass ipvs not net into [un]register_ip_vs_proto_netns
ipvs: Pass ipvs not net into init_netns and exit_netns
ipvs: Pass ipvs into ip_vs_conn_fill_param_proto
ipvs: Pass ipvs into .conn_in_get and ip_vs_conn_in_get_proto
ipvs: Pass ipvs into conn_out_get
ipvs: Pass ipvs not net to ip_vs_conn_hashkey
ipvs: Pass ipvs not net into ip_vs_conn_net_flush
ipvs: Pass ipvs not net into ip_vs_conn_net_init and ip_vs_conn_net_cleanup
ipvs: Pass ipvs into .conn_schedule and ip_vs_try_to_schedule
ipvs: Better derivation of ipvs in ip_vs_tunnel_xmit
ipvs: Pass ipvs into __ip_vs_get_out_rt
ipvs: Pass ipvs into __ip_vs_get_out_rt_v6
ipvs: Pass ipvs into ensure_mtu_is adequate
ipvs: Better derivation of ipvs in ip_vs_in_stats and ip_vs_out_stats
ipvs: Wrap sysctl_cache_bypass and remove ifdefs in ip_vs_leave
ipvs: Simplify ipvs and net access in ip_vs_leave
ipvs: Pass ipvs not net into sysctl_nat_icmp_send
ipvs: Pass ipvs into ip_vs_out
ipvs: Pass ipvs into ip_vs_in
ipvs: Pass ipvs into ip_vs_in_icmp and ip_vs_in_icmp_v6
ipvs: Pass ipvs into ip_vs_out_icmp and ip_vs_out_icmp_v6
ipvs: Pass ipvs through ip_vs_route_me_harder into sysctl_snat_reroute
ipvs: Remove net argument from ip_vs_tcp_conn_listen
ipvs: Pass ipvs not net to ip_vs_protocol_net_(init|cleanup)
ipvs: Remove skb_net
ipvs: Remove skb_sknet
ipvs: Pass ipvs into ip_vs_gather_frags
include/net/ip_vs.h | 179 +++++++-------------- net/netfilter/ipvs/ip_vs_app.c | 36 ++--- net/netfilter/ipvs/ip_vs_conn.c | 76 ++++----- net/netfilter/ipvs/ip_vs_core.c | 228 ++++++++++++-------------- net/netfilter/ipvs/ip_vs_ctl.c | 276 ++++++++++++++++---------------- net/netfilter/ipvs/ip_vs_est.c | 20 +-- net/netfilter/ipvs/ip_vs_ftp.c | 25 ++- net/netfilter/ipvs/ip_vs_lblc.c | 3 +- net/netfilter/ipvs/ip_vs_lblcr.c | 3 +- net/netfilter/ipvs/ip_vs_nfct.c | 5 +- net/netfilter/ipvs/ip_vs_proto.c | 33 ++-- net/netfilter/ipvs/ip_vs_proto_ah_esp.c | 19 ++- net/netfilter/ipvs/ip_vs_proto_sctp.c | 28 ++-- net/netfilter/ipvs/ip_vs_proto_tcp.c | 33 ++-- net/netfilter/ipvs/ip_vs_proto_udp.c | 28 ++-- net/netfilter/ipvs/ip_vs_sync.c | 87 +++++----- net/netfilter/ipvs/ip_vs_xmit.c | 55 ++++--- net/netfilter/xt_ipvs.c | 3 +- 18 files changed, 499 insertions(+), 638 deletions(-)