rpms/kernel/F-9 linux-2.6-fs-cifs-turn-off-unicode-during-session-establishment.patch, NONE, 1.1 linux-2.6-netdev-atl1-disable-tso-by-default.patch, NONE, 1.1 linux-2.6-x86-pat-proper-tracking-of-set_memory_uc.patch, NONE, 1.1 kernel.spec, 1.755, 1.756 todo, 1.2, 1.3

Chuck Ebbert cebbert at fedoraproject.org
Wed Sep 3 06:48:49 UTC 2008


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12504

Modified Files:
	kernel.spec todo 
Added Files:
	linux-2.6-fs-cifs-turn-off-unicode-during-session-establishment.patch 
	linux-2.6-netdev-atl1-disable-tso-by-default.patch 
	linux-2.6-x86-pat-proper-tracking-of-set_memory_uc.patch 
Log Message:
[CIFS] Turn off Unicode during session establishment for plaintext authentication
atl1: disable TSO by default
x86: PAT proper tracking of set_memory_uc and friends

linux-2.6-fs-cifs-turn-off-unicode-during-session-establishment.patch:

--- NEW FILE linux-2.6-fs-cifs-turn-off-unicode-during-session-establishment.patch ---
From: Steve French <sfrench at us.ibm.com>
Date: Thu, 28 Aug 2008 15:32:22 +0000 (+0000)
Subject: [CIFS] Turn off Unicode during session establishment for plaintext authentication
X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=c76da9da1fffa6de263486df54950eb328d58f71

[CIFS] Turn off Unicode during session establishment for plaintext authentication

LANMAN session setup did not support Unicode (after session setup, unicode can
still be used though).

Fixes samba bug# 5319

CC: Jeff Layton <jlayton at redhat.com>
CC: Stable Kernel <stable at vger.kernel.org>
Signed-off-by: Steve French <sfrench at us.ibm.com>
---

diff --git a/fs/cifs/sess.c b/fs/cifs/sess.c
index b537fad..252fdc0 100644
--- a/fs/cifs/sess.c
+++ b/fs/cifs/sess.c
@@ -409,6 +409,8 @@ CIFS_SessSetup(unsigned int xid, struct cifsSesInfo *ses, int first_time,
 #ifdef CONFIG_CIFS_WEAK_PW_HASH
 		char lnm_session_key[CIFS_SESS_KEY_SIZE];
 
+		pSMB->req.hdr.Flags2 &= ~SMBFLG2_UNICODE;
+
 		/* no capabilities flags in old lanman negotiation */
 
 		pSMB->old_req.PasswordLength = cpu_to_le16(CIFS_SESS_KEY_SIZE);

linux-2.6-netdev-atl1-disable-tso-by-default.patch:

--- NEW FILE linux-2.6-netdev-atl1-disable-tso-by-default.patch ---
From: Jay Cliburn <jacliburn at bellsouth.net>
Date: Tue, 19 Aug 2008 00:28:13 +0000 (-0500)
Subject: atl1: disable TSO by default
X-Git-Tag: v2.6.27-rc5~8^2~4^2~13
X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=82c26a9d117f0178b8c1b33429014b6d99c470f6

atl1: disable TSO by default

The atl1 driver is causing stalled connections and file corruption
whenever TSO is enabled.  Two examples are here:

http://lkml.org/lkml/2008/7/15/325
http://lkml.org/lkml/2008/8/18/543

Disable TSO by default until we can determine the source of the
problem.

Signed-off-by: Jay Cliburn <jacliburn at bellsouth.net>
cc: stable at kernel.org
Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
---

diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c
index e6a7bb7..e23ce77 100644
--- a/drivers/net/atlx/atl1.c
+++ b/drivers/net/atlx/atl1.c
@@ -3022,7 +3022,6 @@ static int __devinit atl1_probe(struct pci_dev *pdev,
 	netdev->features = NETIF_F_HW_CSUM;
 	netdev->features |= NETIF_F_SG;
 	netdev->features |= (NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX);
-	netdev->features |= NETIF_F_TSO;
 	netdev->features |= NETIF_F_LLTX;
 
 	/*

linux-2.6-x86-pat-proper-tracking-of-set_memory_uc.patch:

--- NEW FILE linux-2.6-x86-pat-proper-tracking-of-set_memory_uc.patch ---
From: venkatesh.pallipadi at intel.com <venkatesh.pallipadi at intel.com>
Date: Wed, 20 Aug 2008 23:45:51 +0000 (-0700)
Subject: x86: PAT proper tracking of set_memory_uc and friends
X-Git-Tag: v2.6.27-rc5~5^2~23
X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=c15238df3b65e34fadb1021b0fb0d5aebc7c42c6

x86: PAT proper tracking of set_memory_uc and friends

Big thinko in pat memtype tracking code. reserve_memtype should be called
with physical address and not virtual address.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi at intel.com>
Signed-off-by: Suresh Siddha <suresh.b.siddha at intel.com>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
---

diff --git a/arch/x86/mm/pageattr.c b/arch/x86/mm/pageattr.c
index f5f5154..43e2f84 100644
--- a/arch/x86/mm/pageattr.c
+++ b/arch/x86/mm/pageattr.c
@@ -849,7 +849,7 @@ int set_memory_uc(unsigned long addr, int numpages)
 	/*
 	 * for now UC MINUS. see comments in ioremap_nocache()
 	 */
-	if (reserve_memtype(addr, addr + numpages * PAGE_SIZE,
+	if (reserve_memtype(__pa(addr), __pa(addr) + numpages * PAGE_SIZE,
 			    _PAGE_CACHE_UC_MINUS, NULL))
 		return -EINVAL;
 
@@ -868,7 +868,7 @@ int set_memory_wc(unsigned long addr, int numpages)
 	if (!pat_enabled)
 		return set_memory_uc(addr, numpages);
 
-	if (reserve_memtype(addr, addr + numpages * PAGE_SIZE,
+	if (reserve_memtype(__pa(addr), __pa(addr) + numpages * PAGE_SIZE,
 		_PAGE_CACHE_WC, NULL))
 		return -EINVAL;
 
@@ -884,7 +884,7 @@ int _set_memory_wb(unsigned long addr, int numpages)
 
 int set_memory_wb(unsigned long addr, int numpages)
 {
-	free_memtype(addr, addr + numpages * PAGE_SIZE);
+	free_memtype(__pa(addr), __pa(addr) + numpages * PAGE_SIZE);
 
 	return _set_memory_wb(addr, numpages);
 }


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-9/kernel.spec,v
retrieving revision 1.755
retrieving revision 1.756
diff -u -r1.755 -r1.756
--- kernel.spec	2 Sep 2008 23:28:15 -0000	1.755
+++ kernel.spec	3 Sep 2008 06:48:18 -0000	1.756
@@ -584,6 +584,7 @@
 Patch90: linux-2.6-x86-io-delay-add-hp-f700-quirk.patch
 Patch91: linux-2.6-x86-fix-oprofile-and-hibernation-issues.patch
 Patch92: linux-2.6-x86-32-amd-c1e-force-timer-broadcast-late.patch
+Patch93: linux-2.6-x86-pat-proper-tracking-of-set_memory_uc.patch
 
 # ppc
 Patch140: linux-2.6-ps3-ehci-iso.patch
@@ -613,6 +614,7 @@
 Patch412: linux-2.6-block-submit_bh-discards-barrier-flag.patch
 
 # filesystem patches
+Patch420: linux-2.6-fs-cifs-turn-off-unicode-during-session-establishment.patch
 Patch421: linux-2.6-squashfs.patch
 
 Patch430: linux-2.6-net-silence-noisy-printks.patch
@@ -660,6 +662,7 @@
 # atl2 network driver
 Patch2020: linux-2.6-netdev-atl2.patch
 Patch2021: linux-2.6-netdev-atl1e.patch
+Patch2022: linux-2.6-netdev-atl1-disable-tso-by-default.patch
 
 Patch2030: linux-2.6-net-tulip-interrupt.patch
 
@@ -1036,6 +1039,8 @@
 ApplyPatch linux-2.6-x86-fix-oprofile-and-hibernation-issues.patch
 #
 ApplyPatch linux-2.6-x86-32-amd-c1e-force-timer-broadcast-late.patch
+#
+ApplyPatch linux-2.6-x86-pat-proper-tracking-of-set_memory_uc.patch
 
 #
 # PowerPC
@@ -1136,6 +1141,7 @@
 
 # Filesystem patches.
 # cifs
+ApplyPatch linux-2.6-fs-cifs-turn-off-unicode-during-session-establishment.patch
 # Squashfs
 ApplyPatch linux-2.6-squashfs.patch
 
@@ -1210,6 +1216,7 @@
 
 ApplyPatch linux-2.6-netdev-atl2.patch
 ApplyPatch linux-2.6-netdev-atl1e.patch
+ApplyPatch linux-2.6-netdev-atl1-disable-tso-by-default.patch
 
 ApplyPatch linux-2.6-net-tulip-interrupt.patch
 
@@ -1822,6 +1829,11 @@
 %kernel_variant_files -a /%{image_install_path}/xen*-%{KVERREL}.xen -e /etc/ld.so.conf.d/kernelcap-%{KVERREL}.xen.conf %{with_xen} xen
 
 %changelog
+* Wed Sep 03 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.26.3-29
+- [CIFS] Turn off Unicode during session establishment for plaintext authentication
+- atl1: disable TSO by default
+- x86: PAT proper tracking of set_memory_uc and friends
+
 * Tue Sep 02 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.26.3-28
 - Restore most of the drivers dropped in the 2.6.26 update. (F8#460853)
 


Index: todo
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-9/todo,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- todo	31 Aug 2008 22:05:53 -0000	1.2
+++ todo	3 Sep 2008 06:48:19 -0000	1.3
@@ -10,6 +10,7 @@
 linux-2.6-x86-64-fix-overlap-of-modules-and-fixmap-areas.patch
 linux-2.6-x86-fdiv-bug-detection-fix.patch
 linux-2.6-x86-fix-oprofile-and-hibernation-issues.patch
+linux-2.6-x86-pat-proper-tracking-of-set_memory_uc.patch
 
 Submit for 2.6.27:
 linux-2.6-x86-io-delay-add-hp-f700-quirk.patch




More information about the fedora-extras-commits mailing list