1. 29 9月, 2006 1 次提交
  2. 06 1月, 2006 1 次提交
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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