1. 22 9月, 2008 1 次提交
    • S
      ipvs: Restrict sync message to 255 connections · e6f225eb
      Sven Wegener 提交于
      The nr_conns variable in the sync message header is only eight bits wide
      and will overflow on interfaces with a large MTU. As a result the backup
      won't parse all connections contained in the sync buffer. On regular
      ethernet with an MTU of 1500 this isn't a problem, because we can't
      overflow the value, but consider jumbo frames being used on a cross-over
      connection between both directors.
      
      We now restrict the size of the sync buffer, so that we never put more
      than 255 connections into a single sync buffer.
      Signed-off-by: NSven Wegener <sven.wegener@stealer.net>
      Signed-off-by: NSimon Horman <horms@verge.net.au>
      e6f225eb
  2. 21 9月, 2008 18 次提交
  3. 20 9月, 2008 5 次提交
    • D
    • D
      qlge: Protect qlge_resume() with CONFIG_PM · 04da2cf9
      David S. Miller 提交于
      Fixes the following build warning:
      
      drivers/net/qlge/qlge_main.c:3897: warning: ‘qlge_resume’ defined but not used
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      04da2cf9
    • D
      qlge: Fix warnings in debugging code. · 53159d06
      David S. Miller 提交于
      drivers/net/qlge/qlge_dbg.c: In function ‘ql_dump_qdev’:
      drivers/net/qlge/qlge_dbg.c:369: warning: cast to pointer from integer of different size
      drivers/net/qlge/qlge_dbg.c:373: warning: cast to pointer from integer of different size
      drivers/net/qlge/qlge_dbg.c: In function ‘ql_dump_tx_ring’:
      drivers/net/qlge/qlge_dbg.c:457: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 2 has type ‘long unsigned int’
      drivers/net/qlge/qlge_dbg.c:461: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 2 has type ‘long unsigned int’
      drivers/net/qlge/qlge_dbg.c: In function ‘ql_dump_rx_ring’:
      drivers/net/qlge/qlge_dbg.c:557: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 2 has type ‘long unsigned int’
      drivers/net/qlge/qlge_dbg.c:565: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 2 has type ‘long unsigned int’
      drivers/net/qlge/qlge_dbg.c:575: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 2 has type ‘long unsigned int’
      drivers/net/qlge/qlge_dbg.c:579: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 2 has type ‘long unsigned int’
      drivers/net/qlge/qlge_dbg.c:598: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 2 has type ‘long unsigned int’
      drivers/net/qlge/qlge_dbg.c:602: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 2 has type ‘long unsigned int’
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      53159d06
    • D
    • D
      net: Fix build with ARCH=um · 02a14164
      David S. Miller 提交于
      If UM is going to claim that it supports DMA by setting
      HAS_DMA, it should provide a dma_mapping_error() implementation.
      
      Based upon a report by Julius Volz.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      02a14164
  4. 19 9月, 2008 5 次提交
  5. 18 9月, 2008 4 次提交
  6. 17 9月, 2008 5 次提交
  7. 16 9月, 2008 2 次提交