1. 26 Feb, 2007 3 commits
    • Kirill Korotaev's avatar
      fix ext3 block bitmap leakage · 4c8a6fed
      Kirill Korotaev authored
      This patch fixes ext3 block bitmap leakage,
      which leads to the following fsck messages on
      _healthy_ filesystem:
      Block bitmap differences:  -64159 -73707
      
      All kernels up to 2.6.17 have this bug.
      
      Found by
         Vasily Averin <vvs@sw.ru> and Andrey Savochkin <saw@sawoct.com>
      Test case triggered the issue was created by
         Dmitry Monakhov <dmonakhov@sw.ru>
      Signed-Off-By: default avatarKirill Korotaev <dev@openvz.org>
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      4c8a6fed
    • Ilpo Järvinen's avatar
      [TCP]: Prevent pseudo garbage in SYN's advertized window · 9586568a
      Ilpo Järvinen authored
      TCP may advertize up to 16-bits window in SYN packets (no window
      scaling allowed). At the same time, TCP may have rcv_wnd
      (32-bits) that does not fit to 16-bits without window scaling
      resulting in pseudo garbage into advertized window from the
      low-order bits of rcv_wnd. This can happen at least when
      mss <= (1<<wscale) (see tcp_select_initial_window). This patch
      fixes the handling of SYN advertized windows (compile tested
      only).
      
      In worst case (which is unlikely to occur though), the receiver
      advertized window could be just couple of bytes. I'm not sure
      that such situation would be handled very well at all by the
      receiver!? Fortunately, the situation normalizes after the
      first non-SYN ACK is received because it has the correct,
      scaled window.
      
      Alternatively, tcp_select_initial_window could be changed to
      prevent too large rcv_wnd in the first place.
      
      [ tcp_make_synack() has the same bug, and I've added a fix for
        that to this patch -DaveM ]
      Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      9586568a
    • Alexey Dobriyan's avatar
      [IPV4/IPV6] multicast: Check add_grhead() return value · 666ebed8
      Alexey Dobriyan authored
      add_grhead() allocates memory with GFP_ATOMIC and in at least two places skb
      from it passed to skb_put() without checking.
      
      Adrian Bunk:
      backported to 2.6.16
      Signed-off-by: default avatarAlexey Dobriyan <adobriyan@openvz.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
      666ebed8
  2. 25 Feb, 2007 10 commits
  3. 22 Feb, 2007 5 commits
  4. 21 Feb, 2007 6 commits
  5. 20 Feb, 2007 5 commits
  6. 17 Feb, 2007 1 commit
  7. 15 Feb, 2007 1 commit
  8. 14 Feb, 2007 9 commits