Re: dl2k stopped working on 2.6.24

2008-01-31 Thread Willy Tarreau
Hi Santiago, On Thu, Jan 31, 2008 at 10:55:41PM +0100, Santiago Garcia Mantinan wrote: > As I didn't get any ideas on what to do to help find the problem with the > dl2k driver, I'm doing some tests to get to know what has broken it. > > I have today compiled dl2k from git, the version with the 2

Re: [PATCH] 2.4: Back-port of pl2303.c from 2.6.23.14

2008-02-02 Thread Willy Tarreau
Hi David, I've CC'd Greg, author of the driver. On Sat, Jan 26, 2008 at 11:20:38AM +1030, David Newall wrote: > I experienced major major data loss on a PL-2303 USB-serial converter > under 2.4.36, which I remedied by back-porting the pl2303.c from the > latest 2.6 kernel tree. I'm OK to merge y

Re: [PATCH] 2.4: Back-port of pl2303.c from 2.6.23.14

2008-02-02 Thread Willy Tarreau
On Sat, Feb 02, 2008 at 11:41:20PM +1030, David Newall wrote: > Hi Willy, > > Willy Tarreau wrote: > > Based on the above conditions, I'd like you to tell Greg and I if you > > consider it worth to merge this backport in 2.4 now. From my point of > > view, yo

[ 174/180] usb: feed USB device information to the /dev/random driver

2012-10-01 Thread Willy Tarreau
its pools. Cc: Linus Torvalds Acked-by: Greg KH Signed-off-by: "Theodore Ts'o" Signed-off-by: Paul Gortmaker Signed-off-by: Willy Tarreau --- drivers/usb/core/hub.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/usb/core/hub.c b/dri

[ 135/180] Remove user-triggerable BUG from mpol_to_str

2012-10-01 Thread Willy Tarreau
-off-by: Dave Jones Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- mm/mempolicy.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 3c6e3e2..a6563fb 100644 --- a/mm/mempolicy.c +++ b

[ 056/180] x86: Derandom delay_tsc for 64 bit

2012-10-01 Thread Willy Tarreau
d that by delaying for some duration between 0us (yep) and 491us." Make those variables explicitely u32 again, so this works for both 32 and 64 bit. Reported-by: Tvrtko Ursulin Signed-off-by: Thomas Gleixner Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman Signed-off-by: Will

[ 024/180] usb: Fix deadlock in hid_reset when Dell iDRAC is reset

2012-10-01 Thread Willy Tarreau
off-by: Shyam Iyer [bwh: Use current_is_keventd() rather than checking current->{flags,comm}] Signed-off-by: Ben Hutchings Signed-off-by: Willy Tarreau --- drivers/usb/core/hub.c | 31 +++ kernel/workqueue.c |1 + 2 files changed, 28 insertions(+), 4 deleti

[ 173/180] MAINTAINERS: Theodore Tso is taking over the random driver

2012-10-01 Thread Willy Tarreau
k the /dev/random driver. Cc: Matt Mackall Signed-off-by: "Theodore Ts'o" Signed-off-by: Paul Gortmaker Signed-off-by: Willy Tarreau --- MAINTAINERS |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 613da5d..334258c 10064

[ 133/180] cciss: fix incorrect scsi status reporting

2012-10-01 Thread Willy Tarreau
ed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- drivers/block/cciss_scsi.c | 12 +--- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/drivers/block/cciss_scsi.c b/drivers/block/cciss_scsi.c index 3315268..ad8e592 100644 --- a/drivers/block/cciss_scsi.c +++

[ 040/180] KVM: x86: extend "struct x86_emulate_ops" with "get_cpuid"

2012-10-01 Thread Willy Tarreau
Stephan Baerwolf Signed-off-by: Marcelo Tosatti Signed-off-by: Ben Hutchings Signed-off-by: Willy Tarreau --- arch/x86/include/asm/kvm_emulate.h |2 ++ arch/x86/kvm/x86.c | 23 +++ 2 files changed, 25 insertions(+), 0 deletions(-) diff --git a/arch/x

[ 150/180] epoll: ep_unregister_pollwait() can use the freed pwq->whead

2012-10-01 Thread Willy Tarreau
d ->sighand, but this is fine. This memory must have the valid ->signalfd_wqh until rcu_read_unlock(). Reported-by: Maxime Bizon Signed-off-by: Oleg Nesterov Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- fs/eventpoll.c | 30 +++

[ 033/180] sched: Fix signed unsigned comparison in check_preempt_tick()

2012-10-01 Thread Willy Tarreau
cycles, and inadvertently _lengthening_ the current task's slice. Reported-by: Venkatesh Pallipadi Signed-off-by: Mike Galbraith Signed-off-by: Peter Zijlstra LKML-Reference: <1294202477.9384.5.ca...@marge.simson.net> Signed-off-by: Ingo Molnar Signed-off-by: Willy Tarreau

[ 010/180] 2.6.32.x: timekeeping: Fix CLOCK_MONOTONIC inconsistency during leapsecond

2012-10-01 Thread Willy Tarreau
://lkml.kernel.org/r/1338400497-12420-1-git-send-email-john.stu...@linaro.org Signed-off-by: Thomas Gleixner Cc: Prarit Bhargava Cc: Thomas Gleixner Cc: Linux Kernel Signed-off-by: John Stultz Signed-off-by: Willy Tarreau --- kernel/time/timekeeping.c |1 + 1 files changed, 1 insertions(+), 0 deletions

[ 158/180] x86, cpufeature: Update CPU feature RDRND to RDRAND

2012-10-01 Thread Willy Tarreau
stable can present a consistent ABI. ] Signed-off-by: Kees Cook Link: http://lkml.kernel.org/r/20110524232926.ga27...@outflux.net Signed-off-by: H. Peter Anvin Cc: Fenghua Yu Signed-off-by: Paul Gortmaker Signed-off-by: Willy Tarreau --- arch/x86/include/asm/cpufeature.h |2 +- 1 files c

[ 086/180] ext3: Fix error handling on inode bitmap corruption

2012-10-01 Thread Willy Tarreau
-off-by: Jan Kara Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- fs/ext3/ialloc.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/fs/ext3/ialloc.c b/fs/ext3/ialloc.c index b399912..108f4fc 100644 --- a/fs/ext3/ialloc.c +++ b/fs/ext3/ialloc.c

[ 148/180] mtd: cafe_nand: fix an & vs | mistake

2012-10-01 Thread Willy Tarreau
f-by: Willy Tarreau --- drivers/mtd/nand/cafe_nand.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/nand/cafe_nand.c b/drivers/mtd/nand/cafe_nand.c index c828d9a..97b9c7b 100644 --- a/drivers/mtd/nand/cafe_nand.c +++ b/drivers/mtd/nand/cafe_nand.c @@ -103,7 +1

[ 115/180] tcp: perform DMA to userspace only if there is a task waiting for it

2012-10-01 Thread Willy Tarreau
atch introduces the same check we are performing in the simple iovec copy case to the IOAT case as well. It fixes the indefinite recvmsg(MSG_TRUNC) hangs. Signed-off-by: Jiri Kosina Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- net/ipv4/tc

[ 169/180] random: create add_device_randomness() interface

2012-10-01 Thread Willy Tarreau
ot; Signed-off-by: Paul Gortmaker Signed-off-by: Willy Tarreau --- drivers/char/random.c | 28 include/linux/random.h |1 + 2 files changed, 29 insertions(+), 0 deletions(-) diff --git a/drivers/char/random.c b/drivers/char/random.c index d7135b9..cfcb31d 10064

[ 102/180] SCSI: libsas: fix sas_discover_devices return code handling

2012-10-01 Thread Willy Tarreau
ned-off-by: James Bottomley Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- drivers/scsi/libsas/sas_expander.c | 39 +++ 1 files changed, 12 insertions(+), 27 deletions(-) diff --git a/drivers/scsi/libsas/sas_expander.c b/drivers/scsi/libsas/sas_

[ 121/180] futex: Forbid uaddr == uaddr2 in futex_wait_requeue_pi()

2012-10-01 Thread Willy Tarreau
dereference. Signed-off-by: Darren Hart Cc: Dave Jones Link: http://lkml.kernel.org/r/ad82bfe7f7d130247fbe2b5b4275654807774227.1342809673.git.dvh...@linux.intel.com Signed-off-by: Thomas Gleixner Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- kernel/futex.c | 13

[ 171/180] random: add new get_random_bytes_arch() function

2012-10-01 Thread Willy Tarreau
provide get_random_bytes_arch(). Signed-off-by: "Theodore Ts'o" Signed-off-by: Paul Gortmaker Signed-off-by: Willy Tarreau --- drivers/char/random.c | 27 +++ include/linux/random.h |1 + 2 files changed, 24 insertions(+), 4 deletions(-) diff --gi

[ 156/180] random: simplify fips mode

2012-10-01 Thread Willy Tarreau
error checking. Signed-off-by: Matt Mackall Signed-off-by: Herbert Xu [PG: adding this simplifies required updates to random for .34 stable] Signed-off-by: Paul Gortmaker Signed-off-by: Willy Tarreau --- drivers/char/random.c | 10 +++--- 1 files changed, 3 insertions(+), 7 deletions

[ 113/180] wanmain: comparing array with NULL

2012-10-01 Thread Willy Tarreau
Kroah-Hartman Signed-off-by: Willy Tarreau --- net/wanrouter/wanmain.c | 51 +- 1 files changed, 23 insertions(+), 28 deletions(-) diff --git a/net/wanrouter/wanmain.c b/net/wanrouter/wanmain.c index 258daa8..0d8380a 100644 --- a/net/wanrouter

[ 026/180] eCryptfs: Improve statfs reporting

2012-10-01 Thread Willy Tarreau
Kees Cook Reviewed-by: John Johansen Signed-off-by: Colin Ian King Acked-by: Stefan Bader Signed-off-by: Tim Gardner Signed-off-by: Willy Tarreau --- fs/ecryptfs/crypto.c | 68 fs/ecryptfs/ecryptfs_kernel.h | 11 ++ fs/ecryptfs/

[ 155/180] random: update interface comments to reflect reality

2012-10-01 Thread Willy Tarreau
rence). Signed-off-by: Jarod Wilson Acked-by: Matt Mackall Signed-off-by: Herbert Xu Signed-off-by: Willy Tarreau --- drivers/char/random.c | 13 ++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/drivers/char/random.c b/drivers/char/random.c index a6e258b..de325792 1

[ 066/180] sched/x86: Fix overflow in cyc2ns_offset

2012-10-01 Thread Willy Tarreau
Acked-by: John Stultz Acked-by: Peter Zijlstra Cc: Paul Turner Cc: john stultz Link: http://lkml.kernel.org/r/20120310004027.19291.88460.st...@dungbeetle.mtv.corp.google.com Signed-off-by: Ingo Molnar Cc: Mike Galbraith Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- arch

[ 107/180] ACPI/AC: prevent OOPS on some boxes due to missing check power_supply_register() return value check

2012-10-01 Thread Willy Tarreau
se OOPS. https://bugzilla.redhat.com/show_bug.cgi?id=772730 Signed-off-by: Lan Tianyu Signed-off-by: Len Brown Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- drivers/acpi/ac.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/acpi/ac.c b/drivers/acpi/ac.

[ 134/180] USB: CDC ACM: Fix NULL pointer dereference

2012-10-01 Thread Willy Tarreau
that's clearly an invalid descriptor, we should test wether we have all endpoints. This is especially bad as this oops can be triggered by just plugging a USB device in. Signed-off-by: Sven Schnelle Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- drivers/usb/class/cdc-

[ 177/180] random: Add comment to random_initialize()

2012-10-01 Thread Willy Tarreau
Signed-off-by: Willy Tarreau --- drivers/char/random.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/drivers/char/random.c b/drivers/char/random.c index cbb63b0..446b20a 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -1077,6 +1077,16 @@ s

[ 095/180] USB: cdc-wdm: fix lockup on error in wdm_read

2012-10-01 Thread Willy Tarreau
k Acked-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- drivers/usb/class/cdc-wdm.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/usb/class/cdc-wdm.c b/drivers/usb/class/cdc-wdm.c index d71514b..37f2899 100644 --- a/driver

[ 099/180] powerpc/ftrace: Fix assembly trampoline register usage

2012-10-01 Thread Willy Tarreau
ff-by: Roger Blofeld Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Gortmaker Signed-off-by: Greg Kroah-Hartman commit a8ed5765b5a8bf44a86284d80afd24f37a23e369 upstream. Signed-off-by: Willy Tarreau --- arch/powerpc/kernel/ftrace.c | 12 ++-- 1 files changed, 6 insertions(

[ 096/180] mm: Hold a file reference in madvise_remove

2012-10-01 Thread Willy Tarreau
ickins Cc: Miklos Szeredi Cc: Badari Pulavarty Cc: Nick Piggin Signed-off-by: Ben Hutchings Signed-off-by: Andy Lutomirski Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- mm/madvise.c | 16 +--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/mm

[ 176/180] random: remove rand_initialize_irq()

2012-10-01 Thread Willy Tarreau
maker Signed-off-by: Willy Tarreau --- arch/ia64/kernel/irq_ia64.c |1 - drivers/char/random.c | 55 --- include/linux/irq.h |1 - include/linux/random.h |2 - kernel/irq/manage.c | 17 - 5 files changed,

[ 147/180] udf: Fortify loading of sparing table

2012-10-01 Thread Willy Tarreau
-off-by: Jan Kara Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- fs/udf/super.c | 86 ++- 1 files changed, 53 insertions(+), 33 deletions(-) diff --git a/fs/udf/super.c b/fs/udf/super.c index 0388d43..f0314da 100644 --- a

[ 142/180] tcp: drop SYN+FIN messages

2012-10-01 Thread Willy Tarreau
conn_request() if the TCP flags includes SYN flag Reported-by: Denys Fedoryshchenko Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller Cc: Ben Hutchings Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- net/ipv4/tcp_input.c |2 ++ 1 files changed, 2 insertions(+), 0

[ 041/180] KVM: x86: fix missing checks in syscall emulation

2012-10-01 Thread Willy Tarreau
rough each call] Signed-off-by: Stephan Baerwolf Signed-off-by: Marcelo Tosatti Signed-off-by: Ben Hutchings Signed-off-by: Willy Tarreau --- arch/x86/include/asm/kvm_emulate.h | 13 arch/x86/kvm/emulate.c | 57 ++- 2 files changed

[ 132/180] svcrpc: sends on closed socket should stop immediately

2012-10-01 Thread Willy Tarreau
igned-off-by: Willy Tarreau --- net/sunrpc/svc_xprt.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/net/sunrpc/svc_xprt.c b/net/sunrpc/svc_xprt.c index 0ab2fed..8d72660 100644 --- a/net/sunrpc/svc_xprt.c +++ b/net/sunrpc/svc_xprt.c @@ -808,7 +808,8 @@ int svc_send(s

[ 053/180] hfsplus: Fix potential buffer overflows

2012-10-01 Thread Willy Tarreau
Cc: Alexey Dobriyan Cc: Dave Anderson Cc: stable Cc: Andrew Morton Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds [dannf: backported to Debian's 2.6.32] Signed-off-by: Willy Tarreau --- fs/hfsplus/catalog.c |4 fs/hfsplus/dir.c | 11 +++ 2 fi

[ 022/180] ioat2: kill pending flag

2012-10-01 Thread Willy Tarreau
determine if there might be any descriptors in the ring that the hardware has not seen. Signed-off-by: Dan Williams Backported-by: Mike Galbraith Signed-off-by: Willy Tarreau --- drivers/dma/ioat/dma_v2.c | 34 -- drivers/dma/ioat/dma_v2.h |2 -- 2 files changed

[ 165/180] random: Adjust the number of loops when initializing

2012-10-01 Thread Willy Tarreau
-send-email-ty...@mit.edu Signed-off-by: Paul Gortmaker Signed-off-by: Willy Tarreau --- drivers/char/random.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/char/random.c b/drivers/char/random.c index d67890f..5e106b1 100644 --- a/drivers/char/random.c ++

[ 152/180] Dont limit non-nested epoll paths

2012-10-01 Thread Willy Tarreau
nforce the limits on paths that have a greater depth. This is captured in: https://bugzilla.redhat.com/show_bug.cgi?id=681578 Signed-off-by: Jason Baron Cc: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- fs/eventpoll.c |4 +++

[ 129/180] NFSv3: Ensure that do_proc_get_root() reports errors correctly

2012-10-01 Thread Willy Tarreau
can end up with a superblock with completely unusable values for block sizes, maxfilesize, etc. Reported-by: Yuanming Chen Signed-off-by: Trond Myklebust Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- fs/nfs/nfs3proc.c |2 +- 1 files changed, 1 insertions(+), 1

[ 154/180] random: Reorder struct entropy_store to remove padding on 64bits

2012-10-01 Thread Willy Tarreau
72 to 64 bytes and allowing it to fit into one cache line. Signed-off-by: Richard Kennedy Signed-off-by: Matt Mackall Signed-off-by: Herbert Xu Signed-off-by: Willy Tarreau --- drivers/char/random.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/char/random.c

[ 153/180] epoll: clear the tfile_check_list on -ELOOP

2012-10-01 Thread Willy Tarreau
igned-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings Signed-off-by: Willy Tarreau --- fs/eventpoll.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/fs/eventpoll.c b/fs/eventpoll.c index 802b28d..ff57421 100644 --- a/fs/eventpoll.c

[ 110/180] ext4: dont let i_reserved_meta_blocks go negative

2012-10-01 Thread Willy Tarreau
7;o" Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- fs/ext4/inode.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 72ba88f..efe6363 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -11

[ 084/180] ALSA: echoaudio: Remove incorrect part of assertion

2012-10-01 Thread Willy Tarreau
Hardware name: Dell DM051 BUG? (!chip->dsp_code_to_load || !chip->comm_page) Signed-off-by: Mark Hills Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- sound/pci/echoaudio/echoaudio_dsp.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(

[ 091/180] fuse: fix stat call on 32 bit platforms

2012-10-01 Thread Willy Tarreau
t;i_ino explicitly. Signed-off-by: Pavel Shilovsky Signed-off-by: Miklos Szeredi Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- fs/fuse/dir.c|1 + fs/fuse/fuse_i.h |3 +++ fs/fuse/inode.c | 17 - 3 files changed, 20 insertions(+), 1 deletions(-

[ 075/180] PCI: Add quirk for still enabled interrupts on Intel Sandy Bridge GPUs

2012-10-01 Thread Willy Tarreau
sse Barnes Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- drivers/pci/quirks.c | 34 ++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 1e42381..d0959af 100644 --- a/drivers/pc

[ 065/180] nfsd: dont allow zero length strings in cache_parse()

2012-10-01 Thread Willy Tarreau
Oops if count is zero. Signed-off-by: Dan Carpenter Signed-off-by: J. Bruce Fields Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- net/sunrpc/cache.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/net/sunrpc/cache.c b/net/sunrpc/cache.c index

[ 157/180] x86, cpu: Add CPU flags for F16C and RDRND

2012-10-01 Thread Willy Tarreau
feature flags. Signed-off-by: H. Peter Anvin Signed-off-by: Paul Gortmaker Signed-off-by: Willy Tarreau --- arch/x86/include/asm/cpufeature.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/x86/include/asm/cpufeature.h b/arch/x86/include/asm/cpufeature.h index

[ 163/180] random: Use arch_get_random_int instead of cycle counter if avail

2012-10-01 Thread Willy Tarreau
18zwkdwvwqnrava...@mail.gmail.com Acked-by: "David S. Miller" Acked-by: "Theodore Ts'o" Acked-by: Herbert Xu Cc: Matt Mackall Cc: Tony Luck Cc: Eric Dumazet Signed-off-by: H. Peter Anvin Signed-off-by: Paul Gortmaker Signed-off-by: Willy Tarreau --- drivers/char/ran

[ 141/180] tcp: do_tcp_sendpages() must try to push data out on oom conditions

2012-10-01 Thread Willy Tarreau
2.6.32-longterm review patch. If anyone has any objections, please let me know. -- From: Willy Tarreau commit bad115cfe5b509043b684d3a007ab54b80090aa1 upstream. Since recent changes on TCP splicing (starting with commits 2f533844 "tcp: allow splice() to build full TSO pa

[ 039/180] rose: Add length checks to CALL_REQUEST parsing

2012-10-01 Thread Willy Tarreau
Miller [dannf: backported to Debian's 2.6.32] Signed-off-by: Willy Tarreau --- include/net/rose.h |8 - net/rose/af_rose.c |8 ++-- net/rose/rose_loopback.c | 13 ++- net/rose/rose_route.c| 20 +++ net/rose/rose_subr.c

[ 124/180] fuse: verify all ioctl retry iov elements

2012-10-01 Thread Willy Tarreau
klos Szeredi Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- fs/fuse/file.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/fuse/file.c b/fs/fuse/file.c index f6104a95..102d582 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c @@ -1664,7 +

[ 038/180] KVM: x86: Prevent starting PIT timers in the absence of irqchip support

2012-10-01 Thread Willy Tarreau
checking the irqchip mode before starting a timer. We can't deny creating the PIT if the irqchips aren't set up yet as current user land expects this order to work. Signed-off-by: Jan Kiszka Signed-off-by: Marcelo Tosatti [dannf: backported to Debian's 2.6.32] Signed-off-by

[ 105/180] usbdevfs: Correct amount of data copied to user in processcompl_compat

2012-10-01 Thread Willy Tarreau
entire buffer, just like the regular processcompl does. Signed-off-by: Hans de Goede Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- drivers/usb/core/devio.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/usb/core

[ 054/180] cred: copy_process() should clear child->replacement_session_keyring

2012-10-01 Thread Willy Tarreau
clear this member. If copy_process() fails before this point the wrong ->replacement_session_keyring doesn't matter, exit_creds() won't be called. Cc: Signed-off-by: Oleg Nesterov Acked-by: David Howells Signed-off-by: Linus Torvalds Signed-off-by: Willy Tarreau --- kernel/cred.c

[ 146/180] sparc64: Eliminate obsolete __handle_softirq() function

2012-10-01 Thread Willy Tarreau
: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- arch/sparc/kernel/rtrap_64.S |7 --- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/arch/sparc/kernel/rtrap_64.S b/arch/sparc/kernel/rtrap_64.S index fd3cee4..cc4b1ff 100644 --- a/arch/sparc/kernel/rtrap_64.S +++ b/arch

[ 104/180] SCSI: Avoid dangling pointer in scsi_requeue_command()

2012-10-01 Thread Willy Tarreau
add commit log for stable] Signed-off-by: James Bottomley Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- drivers/scsi/scsi_lib.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index

[ 116/180] net/tun: fix ioctl() based info leaks

2012-10-01 Thread Willy Tarreau
initializing a structure located on the stack that gets copied to user memory by the TUNGETIFF and SIOCGIFHWADDR ioctl()s. Signed-off-by: Mathias Krause Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- drivers/net/tun.c |6 -- 1 files

[ 089/180] SCSI: fix scsi_wait_scan

2012-10-01 Thread Willy Tarreau
defined to be a nop unless SCSI is built in. That means that in the modular case (which is every distro), the scsi_wait_scan module does a simple async_synchronize_full() instead of waiting for scans. Signed-off-by: James Bottomley Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau

[ 178/180] rtc: wm831x: Feed the write counter into device_add_randomness()

2012-10-01 Thread Willy Tarreau
Paul Gortmaker Signed-off-by: Willy Tarreau --- drivers/rtc/rtc-wm831x.c | 24 +++- 1 files changed, 23 insertions(+), 1 deletions(-) diff --git a/drivers/rtc/rtc-wm831x.c b/drivers/rtc/rtc-wm831x.c index 79795cd..daefe66 100644 --- a/drivers/rtc/rtc-wm831x.c +++ b/drivers/r

[ 101/180] SCSI: libsas: continue revalidation

2012-10-01 Thread Willy Tarreau
. Signed-off-by: Willy Tarreau --- drivers/scsi/libsas/sas_expander.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/libsas/sas_expander.c b/drivers/scsi/libsas/sas_expander.c index b10ee2a..bac091d 100644 --- a/drivers/scsi/libsas/sas_expander.c +++ b

[ 145/180] x86, tls: Off by one limit check

2012-10-01 Thread Willy Tarreau
end of the array. Signed-off-by: Dan Carpenter Link: http://lkml.kernel.org/r/20120324075250.GA28258@elgon.mountain Signed-off-by: H. Peter Anvin Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- arch/x86/kernel/tls.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions

[ 140/180] ia64: Add accept4() syscall

2012-10-01 Thread Willy Tarreau
bin/bugreport.cgi?bug=648325), it appears that the issue was in fact due to missing accept4() in ia64. This patch simply adds accept4() to ia64. Signed-off-by: Émeric Maschino Signed-off-by: Tony Luck Backported-by: Dennis Schridde Signed-off-by: Willy Tarreau --- arch/ia64/include/asm/unistd.h |

[ 081/180] net_sched: gred: Fix oops in gred_dump() in WRED mode

2012-10-01 Thread Willy Tarreau
-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- net/sched/sch_gred.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/net/sched/sch_gred.c b/net/sched/sch_gred.c index 40408d5..bf98414 100644 --- a/net/sched/sch_gred.c +++ b/net/sched/sch_gred.c @@ -544,11

[ 167/180] random: make add_interrupt_randomness() do something sane

2012-10-01 Thread Willy Tarreau
ent required since .34 doesn't have f9e4989eb8 which renames "status" to "random" in kernel/irq/handle.c ] Signed-off-by: Paul Gortmaker Signed-off-by: Willy Tarreau --- drivers/char/random.c | 103 include/linux/random.

[ 061/180] ntp: Fix integer overflow when setting time

2012-10-01 Thread Willy Tarreau
sha...@gmail.com Signed-off-by: Thomas Gleixner Signed-off-by: Greg Kroah-Hartman [WT: div64_long() does not exist on 2.6.32 and needs a deeper backport than desired. Instead, address the issue by controlling that the divisor is correct for use as an s32 divisor] Signed-off-by: Willy Tarreau --- k

[ 077/180] netlink: fix races after skb queueing

2012-10-01 Thread Willy Tarreau
reference skb anymore, or risk use after free. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- net/netlink/af_netlink.c | 24 +--- 1 files changed, 13 insertions(+), 11 deletions(-) diff --git a

[ 123/180] mm: mmu_notifier: fix freed page still mapped in secondary MMU

2012-10-01 Thread Willy Tarreau
: Avi Kivity Cc: Marcelo Tosatti Cc: Paul Gortmaker Cc: Andrea Arcangeli Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- mm/mmu_notifier.c | 45 +++-- 1 files changed, 23 i

[ 130/180] NFS: Alias the nfs module to nfs4

2012-10-01 Thread Willy Tarreau
Signed-off-by: Trond Myklebust [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- fs/nfs/super.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/fs/nfs/super.c b/fs/nfs/super.c index

[ 143/180] xen: correctly check for pending events when restoring irq flags

2012-10-01 Thread Willy Tarreau
f-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- arch/x86/xen/xen-asm.S |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/xen/xen-asm.S b/arch/x86/xen/xen-asm.S index 79d7362..3e45aa0 100644 --- a/arch/x86/xen/xen-asm.S +++ b/arch/x86/xen/xen-asm.S @@ -

[ 128/180] vfs: missed source of ->f_pos races

2012-10-01 Thread Willy Tarreau
ed-off-by: Al Viro Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- fs/compat.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/fs/compat.c b/fs/compat.c index d1e2411..46b93d1 100644 --- a/fs/compat.c +++

[ 015/180] 2.6.32.x: hrtimers: Move lock held region in hrtimer_interrupt()

2012-10-01 Thread Willy Tarreau
off-by: John Stultz Link: http://lkml.kernel.org/r/1341960205-56738-6-git-send-email-johns...@us.ibm.com Signed-off-by: Thomas Gleixner Cc: Prarit Bhargava Cc: Thomas Gleixner Cc: Linux Kernel Signed-off-by: John Stultz Signed-off-by: Willy Tarreau --- kernel/hrtimer.c |5 +++-- 1 fi

[ 078/180] net: fix a race in sock_queue_err_skb()

2012-10-01 Thread Willy Tarreau
reference skb anymore, or risk use after free. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- net/core/skbuff.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/net/core/skbuff.c b/net/core

[ 082/180] ARM: 7410/1: Add extra clobber registers for assembly in kernel_execve

2012-10-01 Thread Willy Tarreau
ulted in a kernel panic on execution of the first user-space program in the system. r9 is used in ret_to_user as the thread_info pointer, and if it's wrong, bad things happen. Signed-off-by: Tim Bird Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman Signed-off-by: Wil

[ 044/180] KVM: x86: disallow multiple KVM_CREATE_IRQCHIP

2012-10-01 Thread Willy Tarreau
ock. Signed-off-by: Marcelo Tosatti Signed-off-by: Avi Kivity Signed-off-by: Willy Tarreau --- arch/x86/kvm/irq.h |6 +- arch/x86/kvm/x86.c | 30 ++ 2 files changed, 27 insertions(+), 9 deletions(-) diff --git a/arch/x86/kvm/irq.h b/arch/x86/kvm/irq.h in

[ 100/180] powerpc: Add "memory" attribute for mfmsr()

2012-10-01 Thread Willy Tarreau
t reorder mfmsr(). Signed-off-by: Tiejun Chen Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Greg Kroah-Hartman commit 93487ce8d6edc7c550b1449770df5e44715f520f upstream. Signed-off-by: Willy Tarreau --- arch/powerpc/include/asm/reg.h |3 ++- 1 files changed, 2 insertions(+), 1 del

[ 058/180] block, sx8: fix pointer math issue getting fw version

2012-10-01 Thread Willy Tarreau
s. Signed-off-by: Dan Carpenter Acked-by: Jeff Garzik Signed-off-by: Jens Axboe Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- drivers/block/sx8.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/block/sx8.c b/drivers/block/sx8.c index a7c418

[ 162/180] fix typo/thinko in get_random_bytes()

2012-10-01 Thread Willy Tarreau
time. We should put these random words into consecutive words in the result buffer - not just overwrite the first word again and again. Signed-off-by: Tony Luck Acked-by: H. Peter Anvin Acked-by: Thomas Gleixner Signed-off-by: Linus Torvalds Signed-off-by: Paul Gortmaker Signed-off-by: Wil

[ 013/180] 2.6.32.x: timekeeping: Fix leapsecond triggered load spike issue

2012-10-01 Thread Willy Tarreau
r Zijlstra Acked-by: Prarit Bhargava Cc: sta...@vger.kernel.org Link: http://lkml.kernel.org/r/1341960205-56738-3-git-send-email-johns...@us.ibm.com Signed-off-by: Thomas Gleixner Cc: Prarit Bhargava Cc: Thomas Gleixner Cc: Linux Kernel Signed-off-by: John Stultz Signed-off-by: Wil

[ 122/180] pcdp: use early_ioremap/early_iounmap to access pcdp table

2012-10-01 Thread Willy Tarreau
-by: Greg Pearson Acked-by: Khalid Aziz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- drivers/firmware/pcdp.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/firmware/pcdp.c b

[ 072/180] xhci: Dont write zeroed pointers to xHC registers.

2012-10-01 Thread Willy Tarreau
Signed-off-by: Sarah Sharp Tested-by: Elric Fu Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- drivers/usb/host/xhci-mem.c |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c index 8c2907

[ 047/180] fcaps: clear the same personality flags as suid when fcaps are used

2012-10-01 Thread Willy Tarreau
should also be cleared. Thus programs given priviledge with fcaps will continue to have address space randomization enabled even if the parent tried to disable it to make it easier to attack. Signed-off-by: Eric Paris Reviewed-by: Serge Hallyn Signed-off-by: James Morris Signed-off-by: Willy

[ 161/180] x86, random: Verify RDRAND functionality and allow it to be disabled

2012-10-01 Thread Willy Tarreau
Cc: "Theodore Ts'o" Signed-off-by: Willy Tarreau --- Documentation/kernel-parameters.txt |5 ++ arch/x86/include/asm/archrandom.h |2 + arch/x86/kernel/cpu/Makefile|1 + arch/x86/kernel/cpu/common.c|2 + arch/x86/kernel/cpu/rdrand.

[ 127/180] ALSA: hda - fix Copyright debug message

2012-10-01 Thread Willy Tarreau
Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- sound/pci/hda/hda_proc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sound/pci/hda/hda_proc.c b/sound/pci/hda/hda_proc.c index 2b3d859..9294d40 100644 --- a/sound/pci/hda/hda_proc.c +++ b/sound/pci/hda

[ 049/180] hugepages: fix use after free bug in "quota" handling

2012-10-01 Thread Willy Tarreau
Cc: Hugh Dickins Cc: Mel Gorman Cc: Minchan Kim Cc: Hillf Danton Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds [dannf: backported to Debian's 2.6.32] Signed-off-by: Willy Tarreau --- fs/hugetlbfs/inode.c| 54 +++--- include/lin

[ 088/180] xhci: Reset reserved command ring TRBs on cleanup.

2012-10-01 Thread Willy Tarreau
ring. This patch should be backported to kernels as old as 2.6.32, that contain the commit 913a8a344ffcaf0b4a586d6662a2c66a7106557d "USB: xhci: Change how xHCI commands are handled." Signed-off-by: Sarah Sharp Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- driver

[ 063/180] ext4: check for zero length extent

2012-10-01 Thread Willy Tarreau
https://bugzilla.kernel.org/show_bug.cgi?id=42859 Signed-off-by: "Theodore Ts'o" Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- fs/ext4/extents.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index 93f7999..

[ 139/180] dccp: check ccid before dereferencing

2012-10-01 Thread Willy Tarreau
pointer dereference. This could lead to a privilege escalation if the attacker is able to map page 0 and prepare it with a fake ccid_ops pointer. Signed-off-by: Mathias Krause Cc: Gerrit Renker Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- net

[ 093/180] stable: Allow merging of backports for serious user-visible performance issues

2012-10-01 Thread Willy Tarreau
mation on the user-visible bug affected and a link to the bugzilla entry if available. The same rules about the patch being already in mainline still apply. Signed-off-by: Mel Gorman Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- Documentation/stable_kernel_rules.txt |

[ 073/180] xHCI: Correct the #define XHCI_LEGACY_DISABLE_SMI

2012-10-01 Thread Willy Tarreau
:31 are also cleared to zero. Other bits should be presvered as Table 146. This patch should be backported to kernels as old as 2.6.31. Signed-off-by: Alex He Signed-off-by: Sarah Sharp Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- drivers/usb/host/pci-quirks.c| 10

[ 055/180] tcp: Dont change unlocked socket state in tcp_v4_err().

2012-10-01 Thread Willy Tarreau
ip this new code block if sock_owned_by_user() is true and eliminate the now superfluous sock_owned_by_user() code block contained within. Reported-by: Alexey Kuznetsov Signed-off-by: David S. Miller CC: Damian Lukowski Acked-by: Eric Dumazet Cc: Ben Hutchings Signed-off-by: Willy Tarreau --- n

[ 098/180] MIPS: Properly align the .data..init_task section.

2012-10-01 Thread Willy Tarreau
://patchwork.linux-mips.org/patch/3881/ Signed-off-by: Ralf Baechle Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- arch/mips/include/asm/thread_info.h |4 ++-- arch/mips/kernel/vmlinux.lds.S |3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/mips/include

[ 117/180] USB: echi-dbgp: increase the controller wait time to come out of halt.

2012-10-01 Thread Willy Tarreau
-Hartman Signed-off-by: Willy Tarreau --- drivers/usb/early/ehci-dbgp.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/early/ehci-dbgp.c b/drivers/usb/early/ehci-dbgp.c index 1206a26..7565f55 100644 --- a/drivers/usb/early/ehci-dbgp.c +++ b/drivers/usb/early

[ 062/180] SUNRPC: We must not use list_for_each_entry_safe() in rpc_wake_up()

2012-10-01 Thread Willy Tarreau
l both fail to wake up all functions on priority wait queues, which can result in some nasty hangs. Reported-by: Andy Adamson Signed-off-by: Trond Myklebust Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- net/sunrpc/sched.c | 15 +++ 1 files changed, 11 insertions

[ 126/180] usb: serial: mos7840: Fixup mos7840_chars_in_buffer()

2012-10-01 Thread Willy Tarreau
mos7840 as a usb serial-console as all kernel output is truncated during boot. Signed-off-by: Mark Ferrell Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- drivers/usb/serial/mos7840.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers

[ 166/180] drivers/char/random.c: fix boot id uniqueness race

2012-10-01 Thread Willy Tarreau
Paul Gortmaker Signed-off-by: Willy Tarreau --- drivers/char/random.c | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/char/random.c b/drivers/char/random.c index 5e106b1..0c38849 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -1

[ 108/180] Btrfs: call the ordered free operation without any locks held

2012-10-01 Thread Willy Tarreau
d-off-by: Chris Mason Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- fs/btrfs/async-thread.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/fs/btrfs/async-thread.c b/fs/btrfs/async-thread.c index c0861e7..8aac2d6 100644 --- a/fs/btrfs/async-th

[ 094/180] eCryptfs: Properly check for O_RDONLY flag before doing privileged open

2012-10-01 Thread Willy Tarreau
ed-by: Dan Carpenter Acked-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman Signed-off-by: Willy Tarreau --- fs/ecryptfs/kthread.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/ecryptfs/kthread.c b/fs/ecryptfs/kthread.c index e14cf7e..5ffc900 100644 --- a/f

  1   2   3   4   5   6   7   8   9   10   >