1. 14 Jan, 2010 9 commits
  2. 13 Jan, 2010 1 commit
  3. 12 Jan, 2010 3 commits
  4. 11 Jan, 2010 3 commits
  5. 10 Jan, 2010 1 commit
  6. 08 Jan, 2010 20 commits
  7. 07 Jan, 2010 3 commits
    • Patrick McHardy's avatar
      netfilter: nf_ct_ftp: fix out of bounds read in update_nl_seq() · aaff23a9
      Patrick McHardy authored
      As noticed by Dan Carpenter <error27@gmail.com>, update_nl_seq()
      currently contains an out of bounds read of the seq_aft_nl array
      when looking for the oldest sequence number position.
      
      Fix it to only compare valid positions.
      
      Cc: stable@kernel.org
      Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
      aaff23a9
    • Saeed Bishara's avatar
      mv643xx_eth: don't include cache padding in rx desc buffer size · 530e557a
      Saeed Bishara authored
      If NET_SKB_PAD is not a multiple of the cache line size, mv643xx_eth
      allocates a couple of extra bytes at the start of each receive buffer
      to make the data payload end up on a cache line boundary.
      
      These extra bytes are skb_reserve()'d before DMA mapping, so they
      should not be included in the DMA map byte count (as the mapping is
      done starting at skb->data), nor should they be included in the
      receive descriptor buffer size field, or the hardware can end up
      DMAing beyond the end of the buffer, which can happen if someone
      sends us a larger-than-MTU sized packet.
      
      This problem was introduced in commit 7fd96ce4 ("mv643xx_eth:
      rework receive skb cache alignment", May 6 2009), but hasn't appeared
      to be problematic so far, probably as the main users of mv643xx_eth
      all have NET_SKB_PAD == L1_CACHE_BYTES.
      Signed-off-by: default avatarSaeed Bishara <saeed@marvell.com>
      Signed-off-by: default avatarLennert Buytenhek <buytenh@marvell.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      530e557a
    • Jiri Slaby's avatar
      NET: atlx, fix memory leak · 2467ab95
      Jiri Slaby authored
      Stanse found a memory leak in atl2_get_eeprom. eeprom_buff is not
      freed/assigned on all paths. Fix that.
      Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
      Cc: Jay Cliburn <jcliburn@gmail.com>
      Cc: Chris Snook <chris.snook@gmail.com>
      Cc: Jie Yang <jie.yang@atheros.com>
      Cc: atl1-devel@lists.sourceforge.net
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: netdev@vger.kernel.org
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2467ab95