Skip to content
  1. Jul 23, 2012
    • Randy Dunlap's avatar
      wimax: fix printk format warnings · 2a304bb8
      Randy Dunlap authored
      
      
      Fix printk format warnings in drivers/net/wimax/i2400m:
      
      drivers/net/wimax/i2400m/control.c: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'ssize_t' [-Wformat]
      drivers/net/wimax/i2400m/control.c: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'ssize_t' [-Wformat]
      drivers/net/wimax/i2400m/usb-fw.c: warning: format '%zu' expects argument of type 'size_t', but argument 4 has type 'ssize_t' [-Wformat]
      
      I don't see these warnings on x86.  The warnings that are quoted above
      are from Geert's kernel build reports.
      
      Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
      Reported-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Cc:	Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
      Cc:	linux-wimax@intel.com
      Cc:	wimax@linuxwimax.org
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2a304bb8
    • Neil Horman's avatar
      sctp: Implement quick failover draft from tsvwg · 5aa93bcf
      Neil Horman authored
      
      
      I've seen several attempts recently made to do quick failover of sctp transports
      by reducing various retransmit timers and counters.  While its possible to
      implement a faster failover on multihomed sctp associations, its not
      particularly robust, in that it can lead to unneeded retransmits, as well as
      false connection failures due to intermittent latency on a network.
      
      Instead, lets implement the new ietf quick failover draft found here:
      http://tools.ietf.org/html/draft-nishida-tsvwg-sctp-failover-05
      
      This will let the sctp stack identify transports that have had a small number of
      errors, and avoid using them quickly until their reliability can be
      re-established.  I've tested this out on two virt guests connected via multiple
      isolated virt networks and believe its in compliance with the above draft and
      works well.
      
      Signed-off-by: default avatarNeil Horman <nhorman@tuxdriver.com>
      CC: Vlad Yasevich <vyasevich@gmail.com>
      CC: Sridhar Samudrala <sri@us.ibm.com>
      CC: "David S. Miller" <davem@davemloft.net>
      CC: linux-sctp@vger.kernel.org
      CC: joe@perches.com
      Acked-by: default avatarVlad Yasevich <vyasevich@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5aa93bcf
    • Kevin Groeneveld's avatar
      net: fix race condition in several drivers when reading stats · e3906486
      Kevin Groeneveld authored
      
      
      Fix race condition in several network drivers when reading stats on 32bit
      UP architectures.  These drivers update their stats in a BH context and
      therefore should use u64_stats_fetch_begin_bh/u64_stats_fetch_retry_bh
      instead of u64_stats_fetch_begin/u64_stats_fetch_retry when reading the
      stats.
      
      Signed-off-by: default avatarKevin Groeneveld <kgroeneveld@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e3906486
    • Eric Dumazet's avatar
      ipv4: tcp: set unicast_sock uc_ttl to -1 · 0980e56e
      Eric Dumazet authored
      Set unicast_sock uc_ttl to -1 so that we select the right ttl,
      instead of sending packets with a 0 ttl.
      
      Bug added in commit be9f4a44
      
       (ipv4: tcp: remove per net tcp_sock)
      
      Signed-off-by: default avatarHiroaki SHIMODA <shimoda.hiroaki@gmail.com>
      Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0980e56e
  2. Jul 21, 2012
  3. Jul 20, 2012