1. 16 5月, 2011 2 次提交
  2. 09 5月, 2011 2 次提交
    • H
      IPVS: init and cleanup restructuring · 74973f6f
      Hans Schillstrom 提交于
      DESCRIPTION
      This patch tries to restore the initial init and cleanup
      sequences that was before namspace patch.
      Netns also requires action when net devices unregister
      which has never been implemented. I.e this patch also
      covers when a device moves into a network namespace,
      and has to be released.
      
      IMPLEMENTATION
      The number of calls to register_pernet_device have been
      reduced to one for the ip_vs.ko
      Schedulers still have their own calls.
      
      This patch adds a function __ip_vs_service_cleanup()
      and an enable flag for the netfilter hooks.
      
      The nf hooks will be enabled when the first service is loaded
      and never disabled again, except when a namespace exit starts.
      Signed-off-by: NHans Schillstrom <hans@schillstrom.com>
      Acked-by: NJulian Anastasov <ja@ssi.bg>
      [horms@verge.net.au: minor edit to changelog]
      Signed-off-by: NSimon Horman <horms@verge.net.au>
      74973f6f
    • H
      IPVS: Change of socket usage to enable name space exit. · 421eab4c
      Hans Schillstrom 提交于
      If the sync daemons run in a name space while it crashes
      or get killed, there is no way to stop them except for a reboot.
      When all patches are there, ip_vs_core will handle register_pernet_(),
      i.e. ip_vs_sync_init() and ip_vs_sync_cleanup() will be removed.
      
      Kernel threads should not increment the use count of a socket.
      By calling sk_change_net() after creating a socket this is avoided.
      sock_release cant be used intead sk_release_kernel() should be used.
      
      Thanks Eric W Biederman for your advices.
      Signed-off-by: NHans Schillstrom <hans@schillstrom.com>
      [horms@verge.net.au: minor edit to changelog]
      Signed-off-by: NSimon Horman <horms@verge.net.au>
      421eab4c
  3. 21 4月, 2011 3 次提交
  4. 19 4月, 2011 1 次提交
  5. 13 4月, 2011 3 次提交
  6. 04 4月, 2011 8 次提交
  7. 02 4月, 2011 4 次提交
  8. 01 4月, 2011 1 次提交
  9. 31 3月, 2011 9 次提交
  10. 30 3月, 2011 7 次提交