1. 29 1月, 2008 4 次提交
  2. 20 11月, 2007 1 次提交
  3. 07 11月, 2007 1 次提交
    • R
      [IPVS]: Synchronize closing of Connections · efac5276
      Rumen G. Bogdanovski 提交于
      This patch makes the master daemon to sync the connection when it is about
      to close.  This makes the connections on the backup to close or timeout
      according their state.  Before the sync was performed only if the
      connection is in ESTABLISHED state which always made the connections to
      timeout in the hard coded 3 minutes. However the Andy Gospodarek's patch
      ([IPVS]: use proper timeout instead of fixed value) effectively did nothing
      more than increasing this to 15 minutes (Established state timeout).  So
      this patch makes use of proper timeout since it syncs the connections on
      status changes to FIN_WAIT (2min timeout) and CLOSE (10sec timeout).
      However if the backup misses CLOSE hopefully it did not miss FIN_WAIT.
      Otherwise we will just have to wait for the ESTABLISHED state timeout. As
      it is without this patch.  This way the number of the hanging connections
      on the backup is kept to minimum. And very few of them will be left to
      timeout with a long timeout.
      
      This is important if we want to make use of the fix for the real server
      overcommit on master/backup fail-over.
      Signed-off-by: NRumen G. Bogdanovski <rumen@voicecho.com>
      Signed-off-by: NSimon Horman <horms@verge.net.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      efac5276
  4. 16 10月, 2007 3 次提交
  5. 11 10月, 2007 2 次提交
  6. 26 4月, 2007 5 次提交
  7. 11 2月, 2007 1 次提交
  8. 03 12月, 2006 2 次提交
  9. 04 10月, 2006 1 次提交
  10. 29 9月, 2006 1 次提交
  11. 06 1月, 2006 1 次提交
  12. 04 1月, 2006 1 次提交
    • R
      [IPVS]: Cleanup IP_VS_DBG statements. · 4b5bdf5c
      Roberto Nibali 提交于
      From: Roberto Nibali <ratz@drugphish.ch>
      
      The attached patch (against current -GIT) is a cleanup patch which does
      following:
      
      o lookup debug messages shifted back to 9
      o added more informational value to flags and refcnt since those
      entries can be in multiple referenced structures
      o cleanup 80 char violation
      
      It's the prepatch to the session pool implementation and helps very much
      to debug and monitor important variables and structures regarding the
      threshold limitation and persistency without the thousands of lookup
      messages which noone is interested in.
      Signed-off-by: NHorms <horms@verge.net.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4b5bdf5c
  13. 09 11月, 2005 1 次提交
    • J
      [IPVS]: fix connection leak if expire_nodest_conn=1 · dc8103f2
      Julian Anastasov 提交于
      	There was a fix in 2.6.13 that changed the behaviour of
      ip_vs_conn_expire_now function not to put reference to connection,
      its callers should hold write lock or connection refcnt. But we
      forgot to convert one caller, when the real server for connection
      is unavailable caller should put the connection reference. It
      happens only when sysctl var expire_nodest_conn is set to 1 and
      such connections never expire. Thanks to Roberto Nibali who found
      the problem and tested a 2.4.32-rc2 patch, which is equal to this
      2.6 version. Patch for 2.4 is already sent to Marcelo.
      Signed-off-by: NJulian Anastasov <ja@ssi.bg>
      Signed-off-by: NRoberto Nibali <ratz@drugphish.ch>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      dc8103f2
  14. 15 9月, 2005 1 次提交
    • J
      [IPVS]: ip_vs_ftp breaks connections using persistence · 87375ab4
      Julian Anastasov 提交于
      ip_vs_ftp when loaded can create NAT connections with unknown client
      port for passive FTP. For such expectations we lookup with cport=0 on
      incoming packet but it matches the format of the persistence templates
      causing packets to other persistent virtual servers to be forwarded to
      real server without creating connection. Later the reply packets are
      treated as foreign and not SNAT-ed.
      
      This patch changes the connection lookup for packets from clients:
      
      * introduce IP_VS_CONN_F_TEMPLATE connection flag to mark the
        connection as template
      
      * create new connection lookup function just for templates -
        ip_vs_ct_in_get
      
      * make sure ip_vs_conn_in_get hits only connections with
        IP_VS_CONN_F_NO_CPORT flag set when s_port is 0. By this way
        we avoid returning template when looking for cport=0 (ftp)
      Signed-off-by: NJulian Anastasov <ja@ssi.bg>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      87375ab4
  15. 30 8月, 2005 1 次提交
    • H
      [NETFILTER]: reduce netfilter sk_buff enlargement · 6869c4d8
      Harald Welte 提交于
      As discussed at netconf'05, we're trying to save every bit in sk_buff.
      The patch below makes sk_buff 8 bytes smaller.  I did some basic
      testing on my notebook and it seems to work.
      
      The only real in-tree user of nfcache was IPVS, who only needs a
      single bit.  Unfortunately I couldn't find some other free bit in
      sk_buff to stuff that bit into, so I introduced a separate field for
      them.  Maybe the IPVS guys can resolve that to further save space.
      
      Initially I wanted to shrink pkt_type to three bits (PACKET_HOST and
      alike are only 6 values defined), but unfortunately the bluetooth code
      overloads pkt_type :(
      
      The conntrack-event-api (out-of-tree) uses nfcache, but Rusty just
      came up with a way how to do it without any skb fields, so it's safe
      to remove it.
      
      - remove all never-implemented 'nfcache' code
      - don't have ipvs code abuse 'nfcache' field. currently get's their own
        compile-conditional skb->ipvs_property field.  IPVS maintainers can
        decide to move this bit elswhere, but nfcache needs to die.
      - remove skb->nfcache field to save 4 bytes
      - move skb->nfctinfo into three unused bits to save further 4 bytes
      Signed-off-by: NHarald Welte <laforge@netfilter.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6869c4d8
  16. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4