Re: [PATCHES] Networking

2013-03-21 Thread Ben Hutchings
, actually. But yes, I probably ought to fix it. Ben. -- Ben Hutchings It is easier to write an incorrect program than to understand a correct one. signature.asc Description: This is a digitally signed message part

Re: [PATCHES] Sparc bug fixes

2013-03-21 Thread Ben Hutchings
On Thu, 2013-03-21 at 15:42 -0400, David Miller wrote: Please queue up the following sparc bug fix for 3.0.x, 3.2.x, 3.4.x, and 3.8.x -stable respectively. Queued up for 3.2, thanks. Ben. -- Ben Hutchings It is easier to write an incorrect program than to understand a correct one

Re: [PATCH] register_console: prevent adding the same console twice

2013-03-22 Thread Ben Hutchings
a new CON_BOOT console, make sure we don't * already have a valid console -- Ben Hutchings Make three consecutive correct guesses and you will be considered an expert. signature.asc Description: This is a digitally signed message part

[PATCH] efivars: Fix check for CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE

2013-03-22 Thread Ben Hutchings
The 'CONFIG_' prefix is not implicit in IS_ENABLED(). Signed-off-by: Ben Hutchings b...@decadent.org.uk Cc: Seth Forshee seth.fors...@canonical.com Cc: stable@vger.kernel.org --- drivers/firmware/efivars.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/firmware

Re: efi: be more paranoid about available space when creating variables

2013-03-22 Thread Ben Hutchings
is triggered. Ben. -- Ben Hutchings Who are all these weirdos? - David Bowie, about L-Space IRC channel #afp signature.asc Description: This is a digitally signed message part

Re: efi: be more paranoid about available space when creating variables

2013-03-22 Thread Ben Hutchings
On Sat, 2013-03-23 at 02:16 +, Ben Hutchings wrote: Commit 68d929862e29 'efi: be more paranoid about available space when creating variables' caused a regression on my EFI-booting desktop. (I'm actually testing on 3.2.41 with several more fixes backported, but this shouldn't matter

[ 004/104] perf,x86: fix link failure for non-Intel configs

2013-03-24 Thread Ben Hutchings
-by: David Rientjes rient...@google.com Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Ben Hutchings b...@decadent.org.uk --- include/linux/perf_event.h |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/include/linux/perf_event.h +++ b/include/linux

[ 008/104] tcp: fix double-counted receiver RTT when leaving receiver fast path

2013-03-24 Thread Ben Hutchings
to step5. That wastes CPU and double-counts the receiver-side RTT sample. Signed-off-by: Neal Cardwell ncardw...@google.com Acked-by: Eric Dumazet eduma...@google.com Signed-off-by: David S. Miller da...@davemloft.net Signed-off-by: Ben Hutchings b...@decadent.org.uk --- net/ipv4/tcp_input.c | 6

[ 090/104] USB: io_ti: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
port data after waking up. This is is needed as the private port data (including the wait queue itself) can be gone when waking up after a disconnect. Signed-off-by: Johan Hovold jhov...@gmail.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org Signed-off-by: Ben Hutchings b

[ 091/104] USB: mct_u232: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
] Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/usb/serial/mct_u232.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) --- a/drivers/usb/serial/mct_u232.c +++ b/drivers/usb/serial/mct_u232.c @@ -168,8 +168,6 @@ struct mct_u232_private { unsigned char

[ 064/104] drm/radeon/benchmark: make sure bo blit copy exists before using it

2013-03-24 Thread Ben Hutchings
/show_bug.cgi?id=62239 Reviewed-by: Michel Dänzer michel.daen...@amd.com Signed-off-by: Alex Deucher alexander.deuc...@amd.com [bwh: Backported to 3.2: s/copy\.blit/copy_blit/] Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/gpu/drm/radeon/radeon_benchmark.c | 16 +--- 1 file

[ 036/104] ipv4: fix definition of FIB_TABLE_HASHSZ

2013-03-24 Thread Ben Hutchings
-by: Ben Hutchings b...@decadent.org.uk --- include/net/ip_fib.h | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h index 10422ef..2124004 100644 --- a/include/net/ip_fib.h +++ b/include/net/ip_fib.h @@ -129,18 +129,16 @@ struct

[ 022/104] rtlwifi: rtl8192cu: Fix schedule while atomic bug splat

2013-03-24 Thread Ben Hutchings
-by: John W. Linville linvi...@tuxdriver.com [bwh: Backported to 3.2: the deleted code is slightly different] Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/net/wireless/rtlwifi/rtl8192cu/hw.c |2 -- 1 file changed, 2 deletions(-) --- a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.c

[ 023/104] powerpc: Fix cputable entry for 970MP rev 1.0

2013-03-24 Thread Ben Hutchings
for the 970MP rev 1.0 processor when moving some CPU features bits to the MMU feature bit mask. This breaks booting on some rare G5 models using that chip revision. Reported-by: Phileas Fogg phileas-f...@mail.ru Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org Signed-off-by: Ben Hutchings b

[ 019/104] i915: initialize CADL in opregion

2013-03-24 Thread Ben Hutchings
daniel.vet...@ffwll.ch Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/gpu/drm/i915/intel_opregion.c | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) --- a/drivers/gpu/drm/i915/intel_opregion.c +++ b/drivers/gpu/drm/i915/intel_opregion.c @@ -419,6

[ 026/104] selinux: use GFP_ATOMIC under spin_lock

2013-03-24 Thread Ben Hutchings
...@oracle.com Signed-off-by: Ben Hutchings b...@decadent.org.uk --- security/selinux/xfrm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/security/selinux/xfrm.c +++ b/security/selinux/xfrm.c @@ -310,7 +310,7 @@ int selinux_xfrm_policy_clone(struct xfr if (old_ctx

[ 035/104] sctp: dont break the loop while meeting the active_path so as to find the matched transport

2013-03-24 Thread Ben Hutchings
nhor...@tuxdriver.com Acked-by: Vlad Yasevich vyasev...@gmail.com Signed-off-by: David S. Miller da...@davemloft.net Signed-off-by: Ben Hutchings b...@decadent.org.uk --- net/sctp/associola.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/sctp/associola.c b/net/sctp

[ 028/104] udf: avoid info leak on export

2013-03-24 Thread Ben Hutchings
. Fix this by initializing it to 0. Signed-off-by: Mathias Krause mini...@googlemail.com Signed-off-by: Jan Kara j...@suse.cz Signed-off-by: Ben Hutchings b...@decadent.org.uk --- fs/udf/namei.c |1 + 1 file changed, 1 insertion(+) --- a/fs/udf/namei.c +++ b/fs/udf/namei.c @@ -1293,6 +1293,7

[ 027/104] tools: hv: Netlink source address validation allows DoS

2013-03-24 Thread Ben Hutchings
...@linuxfoundation.org Signed-off-by: Ben Hutchings b...@decadent.org.uk --- tools/hv/hv_kvp_daemon.c |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) --- a/tools/hv/hv_kvp_daemon.c +++ b/tools/hv/hv_kvp_daemon.c @@ -393,13 +393,19 @@ int main(void) len = recvfrom(fd

[ 034/104] sctp: Use correct sideffect command in duplicate cookie handling

2013-03-24 Thread Ben Hutchings
...@davemloft.net Signed-off-by: Ben Hutchings b...@decadent.org.uk --- net/sctp/sm_statefuns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/sctp/sm_statefuns.c b/net/sctp/sm_statefuns.c index 891f5db..cb1c430 100644 --- a/net/sctp/sm_statefuns.c +++ b/net/sctp/sm_statefuns.c

[ 029/104] isofs: avoid info leak on export

2013-03-24 Thread Ben Hutchings
. Fix this by initializing it to 0. Signed-off-by: Mathias Krause mini...@googlemail.com Signed-off-by: Jan Kara j...@suse.cz Signed-off-by: Ben Hutchings b...@decadent.org.uk --- fs/isofs/export.c |1 + 1 file changed, 1 insertion(+) --- a/fs/isofs/export.c +++ b/fs/isofs/export.c @@ -135,6

[ 032/104] netconsole: dont call __netpoll_cleanup() while atomic

2013-03-24 Thread Ben Hutchings
Horman nhor...@tuxdriver.com Signed-off-by: David S. Miller da...@davemloft.net Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/net/netconsole.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/drivers/net/netconsole.c b/drivers/net

[ 033/104] bonding: dont call update_speed_duplex() under spinlocks

2013-03-24 Thread Ben Hutchings
it on all combinations of ifup/ifdown, autoneg/speed/duplex changes, remote-controlled and local, on (not) MII-based cards. All changes are visible. Signed-off-by: Veaceslav Falico vfal...@redhat.com Signed-off-by: David S. Miller da...@davemloft.net Signed-off-by: Ben Hutchings b...@decadent.org.uk

[ 025/104] vhost/net: fix heads usage of ubuf_info

2013-03-24 Thread Ben Hutchings
-by: Ben Hutchings b...@decadent.org.uk --- drivers/vhost/net.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -234,7 +234,8 @@ static void handle_tx(struct vhost_net * msg.msg_controllen = 0

[ 038/104] rtnetlink: Mask the rta_type when range checking

2013-03-24 Thread Ben Hutchings
. This causes the function to return -EINVAL when flags are set on the type (for example NLA_F_NESTED). Signed-off-by: Vlad Yasevich vyase...@redhat.com Acked-by: Thomas Graf tg...@suug.ch Signed-off-by: David S. Miller da...@davemloft.net Signed-off-by: Ben Hutchings b...@decadent.org.uk --- net

[ 030/104] sunsu: Fix panic in case of nonexistent port at console=ttySY cmdline option

2013-03-24 Thread Ben Hutchings
the panic; 2)Increment registered port number every successful probe. Signed-off-by: Kirill Tkhai tk...@yandex.ru CC: David Miller da...@davemloft.net Signed-off-by: David S. Miller da...@davemloft.net Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/tty/serial/sunsu.c | 21

[ 031/104] net/ipv4: Ensure that location of timestamp option is stored

2013-03-24 Thread Ben Hutchings
are still performed. Signed-off-by: David Ward david.w...@ll.mit.edu Signed-off-by: David S. Miller da...@davemloft.net Signed-off-by: Ben Hutchings b...@decadent.org.uk --- net/ipv4/ip_options.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/net/ipv4/ip_options.c b/net/ipv4

[ 037/104] tcp: fix skb_availroom()

2013-03-24 Thread Ben Hutchings
frames) and this commit. Crash occurs because skb_split() is not aware of the 'avail_size' management (and should not be aware) Signed-off-by: Eric Dumazet eduma...@google.com Reported-by: Mukesh Agrawal qui...@chromium.org Signed-off-by: David S. Miller da...@davemloft.net Signed-off-by: Ben

[ 041/104] sfc: Convert firmware subtypes to native byte order in efx_mcdi_get_board_cfg()

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings bhutchi...@solarflare.com [ Upstream commit bfeed902946a31692e7a24ed355b6d13ac37d014 ] On big-endian systems the MTD partition names currently have mangled subtype numbers

[ 043/104] sfc: lock TX queues when calling netif_device_detach()

2013-03-24 Thread Ben Hutchings
don't do this. Signed-off-by: Ben Hutchings bhutchi...@solarflare.com [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/net/ethernet/sfc/efx.c | 4 ++-- drivers/net/ethernet/sfc/efx.h | 13 + drivers/net/ethernet/sfc

[ 044/104] sfc: Fix timekeeping in efx_mcdi_poll()

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings bhutchi...@solarflare.com [ Upstream commit ebf98e797b4e26ad52ace1511a0b503ee60a6cd4 ] efx_mcdi_poll() uses get_seconds() to read the current time and to implement a polling

[ 040/104] sfc: Do not attempt to flush queues if DMA is disabled

2013-03-24 Thread Ben Hutchings
not and *cannot* flush queues. Signed-off-by: Ben Hutchings bhutchi...@solarflare.com Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/net/ethernet/sfc/efx.c | 33 +++-- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/drivers/net/ethernet/sfc

[ 042/104] sfc: Fix two causes of flush failure

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings bhutchi...@solarflare.com [ Upstream commits a606f4325dca6950996abbae452d33f2af095f39, d5e8cc6c946e0857826dcfbb3585068858445bfe, 525d9e824018cd7cc8d8d44832ddcd363abfe6e1

[ 045/104] sfc: Properly sync RX DMA buffer when it is not the last in the page

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings bhutchi...@solarflare.com [ Upstream commit 3a68f19d7afb80f548d016effbc6ed52643a8085 ] We may currently allocate two RX DMA buffers to a page, and only unmap the page when

[ 039/104] inet: limit length of fragment queue hash table bucket lists

2013-03-24 Thread Ben Hutchings
eric.duma...@gmail.com Cc: Jesper Dangaard Brouer jbro...@redhat.com Signed-off-by: Hannes Frederic Sowa han...@stressinduktion.org Acked-by: Eric Dumazet eduma...@google.com Signed-off-by: David S. Miller da...@davemloft.net Signed-off-by: Ben Hutchings b...@decadent.org.uk --- include/net

[ 050/104] ext4: fix the wrong number of the allocated blocks in

2013-03-24 Thread Ben Hutchings
-by: Zheng Liu wenqing...@taobao.com Signed-off-by: Theodore Ts'o ty...@mit.edu Cc: Dmitry Monakhov dmonak...@openvz.org Signed-off-by: Ben Hutchings b...@decadent.org.uk --- fs/ext4/extents.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c

[ 047/104] sfc: Detach net device when stopping queues for reconfiguration

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings bhutchi...@solarflare.com [ Upstream commit 29c69a4882641285a854d6d03ca5adbba68c0034 ] We must only ever stop TX queues when they are full or the net device is not 'ready' so far

[ 046/104] sfc: Fix efx_rx_buf_offset() in the presence of swiotlb

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings bhutchi...@solarflare.com [ Upstream commits 06e63c57acbb1df7c35ebe846ae416a8b88dfafa, b590ace09d51cd39744e0f7662c5e4a0d1b5d952 and c73e787a8db9117d59b5180baf83203a42ecadca

[ 048/104] sfc: Disable soft interrupt handling during efx_device_detach_sync()

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings bhutchi...@solarflare.com [ Upstream commit 35205b211c8d17a8a0b5e8926cb7c73e9a7ef1ad ] efx_device_detach_sync() locks all TX queues before marking the device detached and thus

[ 049/104] sfc: Only use TX push if a single descriptor is to be written

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings bhutchi...@solarflare.com [ Upstream commit fae8563b25f73dc584a07bcda7a82750ff4f7672 ] Using TX push when notifying the NIC of multiple new descriptors in the ring will very

[ 051/104] jbd2: fix use after free in jbd2_journal_dirty_metadata()

2013-03-24 Thread Ben Hutchings
...@mit.edu Signed-off-by: Ben Hutchings b...@decadent.org.uk --- fs/jbd2/transaction.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) --- a/fs/jbd2/transaction.c +++ b/fs/jbd2/transaction.c @@ -1016,9 +1016,12 @@ out: void jbd2_journal_set_triggers(struct buffer_head *bh

[ 052/104] ext4: convert number of blocks to clusters properly

2013-03-24 Thread Ben Hutchings
systems. However, we should be using EXT4_NUM_B2C(). Signed-off-by: Lukas Czerner lczer...@redhat.com Signed-off-by: Theodore Ts'o ty...@mit.edu [bwh: Backported to 3.2: - Adjust context - Drop changes in ext4_setup_new_descs() and ext4_calculate_overhead()] Signed-off-by: Ben Hutchings b

[ 053/104] ext4: use atomic64_t for the per-flexbg free_clusters count

2013-03-24 Thread Ben Hutchings
orlav_stats's free_clusters. Signed-off-by: Theodore Ts'o ty...@mit.edu Reviewed-by: Lukas Czerner lczer...@redhat.com [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings b...@decadent.org.uk --- fs/ext4/ext4.h|6 +++--- fs/ext4/ialloc.c |4 ++-- fs/ext4/mballoc.c | 12

[ 055/104] cifs: delay super block destruction until all cifsFileInfo objects

2013-03-24 Thread Ben Hutchings
implicitly keeps VFS super block around as well. Signed-off-by: Mateusz Guzik mgu...@redhat.com Reviewed-by: Jeff Layton jlay...@redhat.com Reported-and-Tested-by: Ben Greear gree...@candelatech.com Signed-off-by: Steve French sfre...@us.ibm.com [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben

[ 058/104] tracing: Fix free of probe entry by calling call_rcu_sched()

2013-03-24 Thread Ben Hutchings
. Fix this by using call_rcu_sched(). Also fix the usage to use hlist_del_rcu() instead of hlist_del(). Cc: Paul McKenney paul...@linux.vnet.ibm.com Signed-off-by: Steven Rostedt rost...@goodmis.org Signed-off-by: Ben Hutchings b...@decadent.org.uk --- kernel/trace/ftrace.c |4 ++-- 1 file

[ 054/104] tracing: Fix race in snapshot swapping

2013-03-24 Thread Ben Hutchings
this bug. Signed-off-by: Steven Rostedt rost...@goodmis.org Signed-off-by: Ben Hutchings b...@decadent.org.uk --- kernel/trace/trace.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -652,7 +652,7 @@ __update_max_tr(struct trace_array

[ 056/104] drm/i915: restrict kernel address leak in debugfs

2013-03-24 Thread Ben Hutchings
kernel memory corruption attacks if the kptr_restrict sysctl is set. Signed-off-by: Kees Cook keesc...@chromium.org Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch [bwh: Backported to 3.2: the rest of the format string is different] Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers

[ 059/104] tracing: Protect tracer flags with trace_types_lock

2013-03-24 Thread Ben Hutchings
[bwh: Backported to 3.2: also move failure return in tracing_trace_options_write() after unlocking] Signed-off-by: Ben Hutchings b...@decadent.org.uk --- --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -2661,7 +2661,7 @@ tracing_trace_options_write(struct file char buf[64

[ 057/104] drm/i915: bounds check execbuffer relocation count

2013-03-24 Thread Ben Hutchings
-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/gpu/drm/i915/i915_gem_execbuffer.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) --- a/drivers/gpu/drm/i915/i915_gem_execbuffer.c +++ b/drivers/gpu/drm/i915/i915_gem_execbuffer.c @@ -907,15 +907,20 @@ validate_exec_list

[ 060/104] tracing: Keep overwrite in sync between regular and snapshot buffers

2013-03-24 Thread Ben Hutchings
[bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings b...@decadent.org.uk --- kernel/trace/trace.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -2650,8 +2650,12 @@ static void set_tracer_flags(unsigned

[ 065/104] ALSA: hda/cirrus - Fix the digital beep registration

2013-03-24 Thread Ben Hutchings
value for amp controls. Signed-off-by: Takashi Iwai ti...@suse.de [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings b...@decadent.org.uk --- sound/pci/hda/patch_conexant.c |8 1 file changed, 4 insertions(+), 4 deletions(-) --- a/sound/pci/hda/patch_conexant.c

[ 063/104] usb-storage: add unusual_devs entry for Samsung YP-Z3 mp3 player

2013-03-24 Thread Ben Hutchings
/module/usb_storage/parameters/quirks Add corresponding entry to unusual_devs.h Signed-off-by: Dmitry Artamonow mad_s...@inbox.ru Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/usb/storage/unusual_devs.h |7 +++ 1 file

[ 061/104] tracing: Prevent buffer overwrite disabled for latency tracers

2013-03-24 Thread Ben Hutchings
[bwh: Backported to 3.2: - Adjust context - Drop some changes that are not needed because trace_set_options() is not separate from tracing_trace_options_write()] Signed-off-by: Ben Hutchings b...@decadent.org.uk --- --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -2636,11 +2636,25

[ 062/104] USB: xhci: correctly enable interrupts

2013-03-24 Thread Ben Hutchings
...@linuxfoundation.org Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/usb/core/hcd-pci.c | 23 ++- drivers/usb/host/xhci.c|3 ++- 2 files changed, 16 insertions(+), 10 deletions(-) --- a/drivers/usb/core/hcd-pci.c +++ b/drivers/usb/core/hcd-pci.c

[ 074/104] efivars: Allow disabling use as a pstore backend

2013-03-24 Thread Ben Hutchings
...@srcf.ucam.org Cc: Seiji Aguchi seiji.agu...@hds.com Cc: Tony Luck tony.l...@intel.com Signed-off-by: Matt Fleming matt.flem...@intel.com [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings b...@decadent.org.uk --- --- a/drivers/firmware/Kconfig +++ b/drivers/firmware/Kconfig

[ 070/104] ext4: fix data=journal fast mount/umount hang

2013-03-24 Thread Ben Hutchings
: j_commit_request=-1289337090, tid=0 Signed-off-by: Theodore Ts'o ty...@mit.edu Reviewed-by: Jan Kara j...@suse.cz Signed-off-by: Ben Hutchings b...@decadent.org.uk --- fs/ext4/inode.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -142,7 +142,8 @@ void

[ 079/104] efivars: Handle duplicate names from get_next_variable()

2013-03-24 Thread Ben Hutchings
...@hds.com Signed-off-by: Matt Fleming matt.flem...@intel.com [bwh: Backported to 3.2: reason is not checked in efi_pstore_write()] Signed-off-by: Ben Hutchings b...@decadent.org.uk --- --- a/drivers/firmware/efivars.c +++ b/drivers/firmware/efivars.c @@ -159,6 +159,7 @@ efivar_create_sysfs_entry(struct

[ 077/104] efi_pstore: Introducing workqueue updating sysfs

2013-03-24 Thread Ben Hutchings
(), as it is not given as a parameter - Move up declaration of __efivars] Signed-off-by: Ben Hutchings b...@decadent.org.uk --- --- a/drivers/firmware/efivars.c +++ b/drivers/firmware/efivars.c @@ -127,6 +127,8 @@ struct efivar_attribute { ssize_t (*store)(struct efivar_entry *entry, const

[ 072/104] usb: gadget: udc-core: fix a regression during gadget driver

2013-03-24 Thread Ben Hutchings
-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/usb/gadget/udc-core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/usb/gadget/udc-core.c +++ b/drivers/usb/gadget/udc-core.c @@ -213,7 +213,7 @@ static void usb_gadget_remove_driver(str udc-driver

[ 081/104] USB: garmin_gps: fix memory leak on disconnect

2013-03-24 Thread Ben Hutchings
) which prevented queued data from being freed on disconnect. The possible IO it was supposed to prevent is long gone. Signed-off-by: Johan Hovold jhov...@gmail.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/usb/serial

[ 076/104] efivars: Fix check for CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings b...@decadent.org.uk commit ca0ba26fbbd2d81c43085df49ce0abfe34535a90 upstream. The 'CONFIG_' prefix is not implicit in IS_ENABLED(). Signed-off-by: Ben Hutchings b

[ 071/104] ALSA: hda - Fix typo in checking IEC958 emphasis bit

2013-03-24 Thread Ben Hutchings
the given value instead of the resultant value. Reported-by: Martin Weishart martin.weish...@telosalliance.com Signed-off-by: Takashi Iwai ti...@suse.de Signed-off-by: Ben Hutchings b...@decadent.org.uk --- sound/pci/hda/hda_codec.c |2 +- 1 file changed, 1 insertion(+), 1 deletion

[ 080/104] cifs: ignore everything in SPNEGO blob after mechTypes

2013-03-24 Thread Ben Hutchings
jlay...@redhat.com Signed-off-by: Steve French sfre...@us.ibm.com Signed-off-by: Ben Hutchings b...@decadent.org.uk --- fs/cifs/asn1.c | 53 + 1 file changed, 5 insertions(+), 48 deletions(-) --- a/fs/cifs/asn1.c +++ b/fs/cifs/asn1.c @@ -614,53

[ 083/104] USB: serial: fix interface refcounting

2013-03-24 Thread Ben Hutchings
not allowed to access the interface in any way that may interfere with another driver that may have gotten bound to the same interface after disconnect returns. Signed-off-by: Johan Hovold jhov...@gmail.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org Signed-off-by: Ben Hutchings b

[ 085/104] USB: ark3116: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
port data after waking up. This is is needed as the private port data (including the wait queue itself) can be gone when waking up after a disconnect. Signed-off-by: Johan Hovold jhov...@gmail.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org Signed-off-by: Ben Hutchings b

[ 088/104] USB: ftdi_sio: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/usb/serial/ftdi_sio.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c

[ 099/104] i2c: tegra: check the clk_prepare_enable() return value

2013-03-24 Thread Ben Hutchings
Dewangan ldewan...@nvidia.com Reviewed-by: Stephen Warren swar...@nvidia.com Signed-off-by: Wolfram Sang w...@the-dreams.de [bwh: Backported to 3.2: - Adjust context - Keep calling clk_enable() directly] Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/i2c/busses/i2c-tegra.c | 13

[ 101/104] mm/hugetlb: fix total hugetlbfs pages count when using memory

2013-03-24 Thread Ben Hutchings
-foundation.org Signed-off-by: Ben Hutchings b...@decadent.org.uk --- mm/hugetlb.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@ -2092,8 +2092,12 @@ int hugetlb_report_node_meminfo(int nid, /* Return the number pages of memory we physically have

[ 086/104] USB: ch341: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
port data after waking up. This is is needed as the private port data (including the wait queue itself) can be gone when waking up after a disconnect. Signed-off-by: Johan Hovold jhov...@gmail.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org Signed-off-by: Ben Hutchings b

[ 087/104] USB: cypress_m8: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/usb/serial/cypress_m8.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) --- a/drivers/usb/serial/cypress_m8.c +++ b/drivers/usb/serial/cypress_m8.c @@ -150,7

[ 092/104] USB: mos7840: fix broken TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
on termios changes regardless of whether the modem status has changed. Signed-off-by: Johan Hovold jhov...@gmail.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/usb/serial/mos7840.c

[ 089/104] USB: io_edgeport: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
port data after waking up. This is is needed as the private port data (including the wait queue itself) can be gone when waking up after a disconnect. Signed-off-by: Johan Hovold jhov...@gmail.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org Signed-off-by: Ben Hutchings b

[ 098/104] USB: ti_usb_3410_5052: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
] Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/usb/serial/ti_usb_3410_5052.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) --- a/drivers/usb/serial/ti_usb_3410_5052.c +++ b/drivers/usb/serial/ti_usb_3410_5052.c @@ -75,7 +75,6 @@ struct ti_port { int

[ 094/104] USB: oti6858: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
, indentation] Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/usb/serial/oti6858.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) --- a/drivers/usb/serial/oti6858.c +++ b/drivers/usb/serial/oti6858.c @@ -196,7 +196,6 @@ struct oti6858_private { u8 setup_done

[ 093/104] USB: mos7840: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
port data after waking up. This is is needed as the private port data (including the wait queue itself) can be gone when waking up after a disconnect. Signed-off-by: Johan Hovold jhov...@gmail.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org Signed-off-by: Ben Hutchings b

[ 095/104] USB: pl2303: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
port data after waking up. This is is needed as the private port data (including the wait queue itself) can be gone when waking up after a disconnect. Signed-off-by: Johan Hovold jhov...@gmail.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org Signed-off-by: Ben Hutchings b

[ 096/104] USB: spcp8x5: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
, indentation] Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/usb/serial/spcp8x5.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) --- a/drivers/usb/serial/spcp8x5.c +++ b/drivers/usb/serial/spcp8x5.c @@ -163,7 +163,6 @@ static struct usb_driver spcp8x5_driver struct

[ 097/104] USB: ssu100: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
] Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/usb/serial/ssu100.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) --- a/drivers/usb/serial/ssu100.c +++ b/drivers/usb/serial/ssu100.c @@ -78,7 +78,6 @@ struct ssu100_port_private { spinlock_t status_lock

[ 104/104] efivars: pstore: Do not check size when erasing variable

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings b...@decadent.org.uk In 3.2, unlike mainline, efi_pstore_erase() calls efi_pstore_write() with a size of 0, as the underlying EFI interface treats a size of 0 as meaning deletion

[ 102/104] KMS: fix EDID detailed timing vsync parsing

2013-03-24 Thread Ben Hutchings
Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/gpu/drm/drm_edid.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -852,7 +852,7 @@ static struct

[ 103/104] KMS: fix EDID detailed timing frame rate

2013-03-24 Thread Ben Hutchings
modes. Signed-off-by: Torsten Duwe d...@lst.de Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/gpu/drm/drm_edid.c |1 + 1 file changed, 1 insertion(+) --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c

[ 100/104] vfs,proc: guarantee unique inodes in /proc

2013-03-24 Thread Ben Hutchings
] Signed-off-by: Ben Hutchings b...@decadent.org.uk --- --- a/fs/proc/inode.c +++ b/fs/proc/inode.c @@ -427,12 +427,10 @@ static const struct file_operations proc struct inode *proc_get_inode(struct super_block *sb, struct proc_dir_entry *de) { - struct inode * inode; + struct inode

[ 018/104] perf: Revert duplicated commit

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings b...@decadent.org.uk This reverts commit 923415295307845e614589c1cce62abedd4d1731 'perf: Fix parsing of __print_flags() in TP_printk()'. The same change was already included

[ 001/104] TTY: do not reset masters packet mode

2013-03-24 Thread Ben Hutchings
/show_bug.cgi?id=504703 References: https://bugzilla.novell.com/show_bug.cgi?id=797042 Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/tty/pty.c |1 - 1 file changed, 1 deletion(-) --- a/drivers/tty/pty.c +++ b/drivers

[ 013/104] ipv6: stop multicast forwarding to process interface scoped addresses

2013-03-24 Thread Ben Hutchings
: a) do not use __ipv6_addr_needs_scope_id Cc: YOSHIFUJI Hideaki yoshf...@linux-ipv6.org Signed-off-by: Hannes Frederic Sowa han...@stressinduktion.org Acked-by: YOSHIFUJI Hideaki yoshf...@linux-ipv6.org Signed-off-by: David S. Miller da...@davemloft.net Signed-off-by: Ben Hutchings b

[ 006/104] rds: limit the size allocated by rds_message_alloc()

2013-03-24 Thread Ben Hutchings
venkat.x.venkatsu...@oracle.com Signed-off-by: Cong Wang amw...@redhat.com Acked-by: Venkat Venkatsubra venkat.x.venkatsu...@oracle.com Signed-off-by: David S. Miller da...@davemloft.net Signed-off-by: Ben Hutchings b...@decadent.org.uk --- net/rds/message.c | 3 +++ 1 file changed, 3 insertions(+) --- a/net

[ 020/104] s390/mm: fix flush_tlb_kernel_range()

2013-03-24 Thread Ben Hutchings
Carstens heiko.carst...@de.ibm.com Signed-off-by: Martin Schwidefsky schwidef...@de.ibm.com Signed-off-by: Ben Hutchings b...@decadent.org.uk --- arch/s390/include/asm/tlbflush.h |2 -- 1 file changed, 2 deletions(-) --- a/arch/s390/include/asm/tlbflush.h +++ b/arch/s390/include/asm/tlbflush.h

[ 011/104] netlabel: correctly list all the static label mappings

2013-03-24 Thread Ben Hutchings
-by: Paul Moore pmo...@redhat.com Signed-off-by: David S. Miller da...@davemloft.net Signed-off-by: Ben Hutchings b...@decadent.org.uk --- net/netlabel/netlabel_unlabeled.c | 27 +++ 1 file changed, 11 insertions(+), 16 deletions(-) --- a/net/netlabel/netlabel_unlabeled.c +++ b

[ 010/104] macvlan: Set IFF_UNICAST_FLT flag to prevent unnecessary promisc mode.

2013-03-24 Thread Ben Hutchings
enter PROMISC mode when macvlans are stacked. Signed-of-by: Vlad Yasevich vyase...@redhat.com Signed-off-by: David S. Miller da...@davemloft.net Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/net/macvlan.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/net/macvlan.c +++ b

[ 005/104] l2tp: Restore socket refcount when sendmsg succeeds

2013-03-24 Thread Ben Hutchings
...@davemloft.net Signed-off-by: Ben Hutchings b...@decadent.org.uk --- net/l2tp/l2tp_ppp.c | 1 + 1 file changed, 1 insertion(+) --- a/net/l2tp/l2tp_ppp.c +++ b/net/l2tp/l2tp_ppp.c @@ -360,6 +360,7 @@ static int pppol2tp_sendmsg(struct kiocb l2tp_xmit_skb(session, skb, session-hdr_len

[ 009/104] tun: add a missing nf_reset() in tun_net_xmit()

2013-03-24 Thread Ben Hutchings
into receive_queue Reported-by: Dave Jones da...@redhat.com Signed-off-by: Eric Dumazet eduma...@google.com Signed-off-by: David S. Miller da...@davemloft.net Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/net/tun.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/net/tun.c

[ 017/104] drm/i915: Increase the RC6p threshold.

2013-03-24 Thread Ben Hutchings
] Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/gpu/drm/i915/intel_pm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -8059,7 +8059,7 @@ void gen6_enable_rps(struct drm_i915_pri

[ 015/104] dcbnl: fix various netlink info leaks

2013-03-24 Thread Ben Hutchings
struct, Prevent all of the above stack info leaks by properly initializing the buffers/structures involved. Signed-off-by: Mathias Krause mini...@googlemail.com Signed-off-by: David S. Miller da...@davemloft.net Signed-off-by: Ben Hutchings b...@decadent.org.uk --- net/dcb/dcbnl.c | 7

[ 012/104] bridging: fix rx_handlers return code

2013-03-24 Thread Ben Hutchings
...@google.com Signed-off-by: David S. Miller da...@davemloft.net Signed-off-by: Ben Hutchings b...@decadent.org.uk --- net/core/dev.c | 1 + 1 file changed, 1 insertion(+) --- a/net/core/dev.c +++ b/net/core/dev.c @@ -3299,6 +3299,7 @@ ncls: } switch (rx_handler(skb

[ 014/104] rtnl: fix info leak on RTM_GETLINK request for VF devices

2013-03-24 Thread Ben Hutchings
. Miller da...@davemloft.net Signed-off-by: Ben Hutchings b...@decadent.org.uk --- net/core/rtnetlink.c | 1 + 1 file changed, 1 insertion(+) --- a/net/core/rtnetlink.c +++ b/net/core/rtnetlink.c @@ -973,6 +973,7 @@ static int rtnl_fill_ifinfo(struct sk_bu * report anything

[ 007/104] net: ipv6: Dont purge default router if accept_ra=2

2013-03-24 Thread Ben Hutchings
...@linux-ipv6.org Acked-by: Eric Dumazet eduma...@google.com Signed-off-by: David S. Miller da...@davemloft.net Signed-off-by: Ben Hutchings b...@decadent.org.uk --- net/ipv6/route.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -1920,7

[ 016/104] 6lowpan: Fix endianness issue in is_addr_link_local().

2013-03-24 Thread Ben Hutchings
. Miller da...@davemloft.net Signed-off-by: Ben Hutchings b...@decadent.org.uk --- net/ieee802154/6lowpan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/net/ieee802154/6lowpan.h +++ b/net/ieee802154/6lowpan.h @@ -87,7 +87,7 @@ (memcmp(addr1, addr2, length 3) == 0) /* local

[ 003/104] perf,x86: fix wrmsr_on_cpu() warning on suspend/resume

2013-03-24 Thread Ben Hutchings
. This duplicates the wrmsr() logic, but hopefully we can just remove the wrmsr_on_cpu() version eventually. Reported-and-tested-by: Parag Warudkar parag.l...@gmail.com Signed-off-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Ben Hutchings b...@decadent.org.uk --- arch/x86/kernel/cpu

[ 002/104] perf,x86: fix kernel crash with PEBS/BTS after suspend/resume

2013-03-24 Thread Ben Hutchings
Signed-off-by: Ben Hutchings b...@decadent.org.uk --- arch/x86/kernel/cpu/perf_event_intel_ds.c |8 arch/x86/power/cpu.c |2 ++ include/linux/perf_event.h|2 ++ 3 files changed, 12 insertions(+) --- a/arch/x86/kernel/cpu

[ 000/104] 3.2.42-stable review

2013-03-24 Thread Ben Hutchings
[511f3c5326eabe1ece35202a404c24c0aeacc246] Alex Deucher (1): drm/radeon/benchmark: make sure bo blit copy exists before using it [fa8d387dc3f62062a6b4afbbb2a3438094fd8584] Ben Hutchings (11): efivars: Fix check for CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE

<    3   4   5   6   7   8   9   10   11   12   >