]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
Linux 2.6.29.4 release v2.6.29.4
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 May 2009 05:14:34 +0000 (22:14 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 May 2009 05:14:34 +0000 (22:14 -0700)
52 files changed:
releases/2.6.29.4/alsa-hda-fix-line-in-on-mac-mini-core2-duo.patch [moved from review-2.6.29/alsa-hda-fix-line-in-on-mac-mini-core2-duo.patch with 100% similarity]
releases/2.6.29.4/asoc-fix-errors-in-wm8990.patch [moved from review-2.6.29/asoc-fix-errors-in-wm8990.patch with 100% similarity]
releases/2.6.29.4/cifs-fix-buffer-size-for-tcon-nativefilesystem-field.patch [moved from review-2.6.29/cifs-fix-buffer-size-for-tcon-nativefilesystem-field.patch with 100% similarity]
releases/2.6.29.4/cifs-fix-buffer-size-in-cifs_convertucspath.patch [moved from review-2.6.29/cifs-fix-buffer-size-in-cifs_convertucspath.patch with 100% similarity]
releases/2.6.29.4/cifs-fix-endian-conversion-of-vcnum-field.patch [moved from review-2.6.29/cifs-fix-endian-conversion-of-vcnum-field.patch with 100% similarity]
releases/2.6.29.4/cifs-fix-incorrect-destination-buffer-size-in-cifs_strncpy_to_host.patch [moved from review-2.6.29/cifs-fix-incorrect-destination-buffer-size-in-cifs_strncpy_to_host.patch with 100% similarity]
releases/2.6.29.4/cifs-fix-unicode-string-area-word-alignment-in-session-setup.patch [moved from review-2.6.29/cifs-fix-unicode-string-area-word-alignment-in-session-setup.patch with 100% similarity]
releases/2.6.29.4/cifs-increase-size-of-tmp_buf-in-cifs_readdir-to-avoid-potential-overflows.patch [moved from review-2.6.29/cifs-increase-size-of-tmp_buf-in-cifs_readdir-to-avoid-potential-overflows.patch with 100% similarity]
releases/2.6.29.4/dmatest-fix-max-channels-handling.patch [moved from review-2.6.29/dmatest-fix-max-channels-handling.patch with 100% similarity]
releases/2.6.29.4/dup2-fix-return-value-with-oldfd-newfd-and-invalid-fd.patch [moved from review-2.6.29/dup2-fix-return-value-with-oldfd-newfd-and-invalid-fd.patch with 100% similarity]
releases/2.6.29.4/e1000-fix-virtualization-bug.patch [moved from review-2.6.29/e1000-fix-virtualization-bug.patch with 100% similarity]
releases/2.6.29.4/ehea-fix-invalid-pointer-access.patch [moved from review-2.6.29/ehea-fix-invalid-pointer-access.patch with 100% similarity]
releases/2.6.29.4/epoll-fix-size-check-in-epoll_create.patch [moved from review-2.6.29/epoll-fix-size-check-in-epoll_create.patch with 100% similarity]
releases/2.6.29.4/fiemap-fix-problem-with-setting-fiemap_extent_last.patch [moved from review-2.6.29/fiemap-fix-problem-with-setting-fiemap_extent_last.patch with 100% similarity]
releases/2.6.29.4/fix-for-enabling-branch-profiling-makes-sparse-unusable.patch [moved from review-2.6.29/fix-for-enabling-branch-profiling-makes-sparse-unusable.patch with 100% similarity]
releases/2.6.29.4/fs-fix-page_mkwrite-error-cases-in-core-code-and-btrfs.patch [moved from review-2.6.29/fs-fix-page_mkwrite-error-cases-in-core-code-and-btrfs.patch with 100% similarity]
releases/2.6.29.4/fuse-destroy-bdi-on-error.patch [moved from review-2.6.29/fuse-destroy-bdi-on-error.patch with 100% similarity]
releases/2.6.29.4/gfs2-fix-page_mkwrite-return-code.patch [moved from review-2.6.29/gfs2-fix-page_mkwrite-return-code.patch with 100% similarity]
releases/2.6.29.4/hid-add-noget-quirk-for-devices-from-ch-products.patch [moved from review-2.6.29/hid-add-noget-quirk-for-devices-from-ch-products.patch with 100% similarity]
releases/2.6.29.4/hwmon-fix-w83782d-support.patch [moved from review-2.6.29/hwmon-fix-w83782d-support.patch with 100% similarity]
releases/2.6.29.4/i2c-algo-bit-fix-timeout-test.patch [moved from review-2.6.29/i2c-algo-bit-fix-timeout-test.patch with 100% similarity]
releases/2.6.29.4/i2c-algo-pca-let-pca9564-recover-from-unacked-data-byte.patch [moved from review-2.6.29/i2c-algo-pca-let-pca9564-recover-from-unacked-data-byte.patch with 100% similarity]
releases/2.6.29.4/kvm-make-efer-reads-safe-when-efer-does-not-exist.patch [moved from review-2.6.29/kvm-make-efer-reads-safe-when-efer-does-not-exist.patch with 100% similarity]
releases/2.6.29.4/kvm-svm-remove-port-80-passthrough.patch [moved from review-2.6.29/kvm-svm-remove-port-80-passthrough.patch with 100% similarity]
releases/2.6.29.4/lockd-fix-list-corruption-on-lockd-restart.patch [moved from review-2.6.29/lockd-fix-list-corruption-on-lockd-restart.patch with 100% similarity]
releases/2.6.29.4/lsm-relocate-the-ipv4-security_inet_conn_request-hooks.patch [moved from review-2.6.29/lsm-relocate-the-ipv4-security_inet_conn_request-hooks.patch with 100% similarity]
releases/2.6.29.4/md-fix-loading-of-out-of-date-bitmap.patch [moved from review-2.6.29/md-fix-loading-of-out-of-date-bitmap.patch with 100% similarity]
releases/2.6.29.4/md-fix-some-errors-with-bitmaps-on-devices-larger-than-2tb.patch [moved from review-2.6.29/md-fix-some-errors-with-bitmaps-on-devices-larger-than-2tb.patch with 100% similarity]
releases/2.6.29.4/md-raid10-don-t-clear-bitmap-during-recovery-if-array-will-still-be-degraded.patch [moved from review-2.6.29/md-raid10-don-t-clear-bitmap-during-recovery-if-array-will-still-be-degraded.patch with 100% similarity]
releases/2.6.29.4/md-remove-ability-to-explicit-set-an-inactive-array-to-clean.patch [moved from review-2.6.29/md-remove-ability-to-explicit-set-an-inactive-array-to-clean.patch with 100% similarity]
releases/2.6.29.4/mm-close-page_mkwrite-races.patch [moved from review-2.6.29/mm-close-page_mkwrite-races.patch with 100% similarity]
releases/2.6.29.4/mm-page_mkwrite-change-prototype-to-match-fault.patch [moved from review-2.6.29/mm-page_mkwrite-change-prototype-to-match-fault.patch with 100% similarity]
releases/2.6.29.4/ne2k-pci-do-not-register-device-until-initialized.patch [moved from review-2.6.29/ne2k-pci-do-not-register-device-until-initialized.patch with 100% similarity]
releases/2.6.29.4/netlabel-add-cipso-set-del-attr-request_sock-functions.patch [moved from review-2.6.29/netlabel-add-cipso-set-del-attr-request_sock-functions.patch with 100% similarity]
releases/2.6.29.4/netlabel-add-new-netlabel-kapi-interfaces-for-request_sock-security-attributes.patch [moved from review-2.6.29/netlabel-add-new-netlabel-kapi-interfaces-for-request_sock-security-attributes.patch with 100% similarity]
releases/2.6.29.4/nfs-close-page_mkwrite-races.patch [moved from review-2.6.29/nfs-close-page_mkwrite-races.patch with 100% similarity]
releases/2.6.29.4/nfs-fix-the-notifications-when-renaming-onto-an-existing-file.patch [moved from review-2.6.29/nfs-fix-the-notifications-when-renaming-onto-an-existing-file.patch with 100% similarity]
releases/2.6.29.4/nfs-fix-the-return-value-in-nfs_page_mkwrite.patch [moved from review-2.6.29/nfs-fix-the-return-value-in-nfs_page_mkwrite.patch with 100% similarity]
releases/2.6.29.4/nfsd4-check-for-negative-dentry-before-use-in-nfsv4-readdir.patch [moved from review-2.6.29/nfsd4-check-for-negative-dentry-before-use-in-nfsv4-readdir.patch with 100% similarity]
releases/2.6.29.4/ocfs2-fix-i_mutex-locking-in-ocfs2_splice_to_file.patch [moved from review-2.6.29/ocfs2-fix-i_mutex-locking-in-ocfs2_splice_to_file.patch with 100% similarity]
releases/2.6.29.4/powerpc-5200-don-t-specify-irqf_shared-in-psc-uart-driver.patch [moved from review-2.6.29/powerpc-5200-don-t-specify-irqf_shared-in-psc-uart-driver.patch with 100% similarity]
releases/2.6.29.4/selinux-add-new-netlabel-glue-code-to-handle-labeling-of-connection-requests.patch [moved from review-2.6.29/selinux-add-new-netlabel-glue-code-to-handle-labeling-of-connection-requests.patch with 100% similarity]
releases/2.6.29.4/selinux-remove-dead-code-labeled-networking-code.patch [moved from review-2.6.29/selinux-remove-dead-code-labeled-networking-code.patch with 100% similarity]
releases/2.6.29.4/selinux-set-the-proper-netlabel-security-attributes-for-connection-requests.patch [moved from review-2.6.29/selinux-set-the-proper-netlabel-security-attributes-for-connection-requests.patch with 100% similarity]
releases/2.6.29.4/series [moved from review-2.6.29/series with 98% similarity]
releases/2.6.29.4/smack-set-the-proper-netlabel-security-attributes-for-connection-requests.patch [moved from review-2.6.29/smack-set-the-proper-netlabel-security-attributes-for-connection-requests.patch with 100% similarity]
releases/2.6.29.4/splice-fix-i_mutex-locking-in-generic_splice_write.patch [moved from review-2.6.29/splice-fix-i_mutex-locking-in-generic_splice_write.patch with 100% similarity]
releases/2.6.29.4/splice-remove-i_mutex-locking-in-splice_from_pipe.patch [moved from review-2.6.29/splice-remove-i_mutex-locking-in-splice_from_pipe.patch with 100% similarity]
releases/2.6.29.4/splice-split-up-__splice_from_pipe.patch [moved from review-2.6.29/splice-split-up-__splice_from_pipe.patch with 100% similarity]
releases/2.6.29.4/usb-gadget-fix-utf-conversion-in-the-usbstring-library.patch [moved from review-2.6.29/usb-gadget-fix-utf-conversion-in-the-usbstring-library.patch with 100% similarity]
releases/2.6.29.4/usb-serial-ftdi_sio-fix-reference-counting-of-ftdi_private.patch [moved from review-2.6.29/usb-serial-ftdi_sio-fix-reference-counting-of-ftdi_private.patch with 100% similarity]
review-2.6.29/mac80211-pid-fix-memory-corruption.patch [deleted file]

similarity index 98%
rename from review-2.6.29/series
rename to releases/2.6.29.4/series
index 81e15b944b05f837dcf68dfc9c6e4be8469d496e..3484bdcdd7ae8abb7aeac9e146d798bda3b8f6e6 100644 (file)
@@ -26,7 +26,6 @@ cifs-increase-size-of-tmp_buf-in-cifs_readdir-to-avoid-potential-overflows.patch
 cifs-fix-incorrect-destination-buffer-size-in-cifs_strncpy_to_host.patch
 cifs-fix-buffer-size-in-cifs_convertucspath.patch
 cifs-fix-unicode-string-area-word-alignment-in-session-setup.patch
-mac80211-pid-fix-memory-corruption.patch
 mm-page_mkwrite-change-prototype-to-match-fault.patch
 fs-fix-page_mkwrite-error-cases-in-core-code-and-btrfs.patch
 mm-close-page_mkwrite-races.patch
diff --git a/review-2.6.29/mac80211-pid-fix-memory-corruption.patch b/review-2.6.29/mac80211-pid-fix-memory-corruption.patch
deleted file mode 100644 (file)
index bb3f34c..0000000
+++ /dev/null
@@ -1,137 +0,0 @@
-From 6909268dc93ae4b0b8e1ebb4b2fa70b1a47dd347 Mon Sep 17 00:00:00 2001
-From: Jiri Slaby <jirislaby@gmail.com>
-Date: Mon, 4 May 2009 18:10:28 +0200
-Subject: mac80211: pid, fix memory corruption
-
-From: Jiri Slaby <jirislaby@gmail.com>
-
-commit 6909268dc93ae4b0b8e1ebb4b2fa70b1a47dd347 upstream.
-
-pid doesn't count with some band having more bitrates than the one
-associated the first time.
-Fix that by counting the maximal available bitrate count and allocate
-big enough space.
-
-Secondly, fix touching uninitialized memory which causes panics.
-Index sucked from this random memory points to the hell.
-The fix is to sort the rates on each band change.
-
-Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
-Signed-off-by: John W. Linville <linville@tuxdriver.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-
----
- net/mac80211/rc80211_pid_algo.c |   73 +++++++++++++++++++++-------------------
- 1 file changed, 39 insertions(+), 34 deletions(-)
-
---- a/net/mac80211/rc80211_pid_algo.c
-+++ b/net/mac80211/rc80211_pid_algo.c
-@@ -317,13 +317,44 @@ rate_control_pid_rate_init(void *priv, s
-                          struct ieee80211_sta *sta, void *priv_sta)
- {
-       struct rc_pid_sta_info *spinfo = priv_sta;
-+      struct rc_pid_info *pinfo = priv;
-+      struct rc_pid_rateinfo *rinfo = pinfo->rinfo;
-       struct sta_info *si;
-+      int i, j, tmp;
-+      bool s;
-       /* TODO: This routine should consider using RSSI from previous packets
-        * as we need to have IEEE 802.1X auth succeed immediately after assoc..
-        * Until that method is implemented, we will use the lowest supported
-        * rate as a workaround. */
-+      /* Sort the rates. This is optimized for the most common case (i.e.
-+       * almost-sorted CCK+OFDM rates). Kind of bubble-sort with reversed
-+       * mapping too. */
-+      for (i = 0; i < sband->n_bitrates; i++) {
-+              rinfo[i].index = i;
-+              rinfo[i].rev_index = i;
-+              if (RC_PID_FAST_START)
-+                      rinfo[i].diff = 0;
-+              else
-+                      rinfo[i].diff = i * pinfo->norm_offset;
-+      }
-+      for (i = 1; i < sband->n_bitrates; i++) {
-+              s = 0;
-+              for (j = 0; j < sband->n_bitrates - i; j++)
-+                      if (unlikely(sband->bitrates[rinfo[j].index].bitrate >
-+                                   sband->bitrates[rinfo[j + 1].index].bitrate)) {
-+                              tmp = rinfo[j].index;
-+                              rinfo[j].index = rinfo[j + 1].index;
-+                              rinfo[j + 1].index = tmp;
-+                              rinfo[rinfo[j].index].rev_index = j;
-+                              rinfo[rinfo[j + 1].index].rev_index = j + 1;
-+                              s = 1;
-+                      }
-+              if (!s)
-+                      break;
-+      }
-+
-       spinfo->txrate_idx = rate_lowest_index(sband, sta);
-       /* HACK */
-       si = container_of(sta, struct sta_info, sta);
-@@ -336,21 +367,22 @@ static void *rate_control_pid_alloc(stru
-       struct rc_pid_info *pinfo;
-       struct rc_pid_rateinfo *rinfo;
-       struct ieee80211_supported_band *sband;
--      int i, j, tmp;
--      bool s;
-+      int i, max_rates = 0;
- #ifdef CONFIG_MAC80211_DEBUGFS
-       struct rc_pid_debugfs_entries *de;
- #endif
--      sband = hw->wiphy->bands[hw->conf.channel->band];
--
-       pinfo = kmalloc(sizeof(*pinfo), GFP_ATOMIC);
-       if (!pinfo)
-               return NULL;
--      /* We can safely assume that sband won't change unless we get
--       * reinitialized. */
--      rinfo = kmalloc(sizeof(*rinfo) * sband->n_bitrates, GFP_ATOMIC);
-+      for (i = 0; i < IEEE80211_NUM_BANDS; i++) {
-+              sband = hw->wiphy->bands[i];
-+              if (sband->n_bitrates > max_rates)
-+                      max_rates = sband->n_bitrates;
-+      }
-+
-+      rinfo = kmalloc(sizeof(*rinfo) * max_rates, GFP_ATOMIC);
-       if (!rinfo) {
-               kfree(pinfo);
-               return NULL;
-@@ -368,33 +400,6 @@ static void *rate_control_pid_alloc(stru
-       pinfo->rinfo = rinfo;
-       pinfo->oldrate = 0;
--      /* Sort the rates. This is optimized for the most common case (i.e.
--       * almost-sorted CCK+OFDM rates). Kind of bubble-sort with reversed
--       * mapping too. */
--      for (i = 0; i < sband->n_bitrates; i++) {
--              rinfo[i].index = i;
--              rinfo[i].rev_index = i;
--              if (RC_PID_FAST_START)
--                      rinfo[i].diff = 0;
--              else
--                      rinfo[i].diff = i * pinfo->norm_offset;
--      }
--      for (i = 1; i < sband->n_bitrates; i++) {
--              s = 0;
--              for (j = 0; j < sband->n_bitrates - i; j++)
--                      if (unlikely(sband->bitrates[rinfo[j].index].bitrate >
--                                   sband->bitrates[rinfo[j + 1].index].bitrate)) {
--                              tmp = rinfo[j].index;
--                              rinfo[j].index = rinfo[j + 1].index;
--                              rinfo[j + 1].index = tmp;
--                              rinfo[rinfo[j].index].rev_index = j;
--                              rinfo[rinfo[j + 1].index].rev_index = j + 1;
--                              s = 1;
--                      }
--              if (!s)
--                      break;
--      }
--
- #ifdef CONFIG_MAC80211_DEBUGFS
-       de = &pinfo->dentries;
-       de->target = debugfs_create_u32("target_pf", S_IRUSR | S_IWUSR,