[PATCH 3.16 192/202] brcmfmac: assure SSID length from firmware is limited

2019-04-27 Thread Ben Hutchings
overflow. Reviewed-by: Hante Meuleman Reviewed-by: Pieter-Paul Giesberts Reviewed-by: Franky Lin Signed-off-by: Arend van Spriel Signed-off-by: Kalle Valo [bwh: Backported to 3.16: adjust filename, context] Signed-off-by: Ben Hutchings --- drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c

[PATCH 3.16 199/202] binfmt_elf: Fix missing SIGKILL for empty PIE

2019-04-27 Thread Ben Hutchings
3.16.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings Commit ea08dc5191d9 "fs/binfmt_elf.c: fix bug in loading of PIE binaries", which was a backport of commit a87938b2e246 upstream, added a new failure path to load_

[PATCH 3.16 163/202] assoc_array: Fix shortcut creation

2019-04-27 Thread Ben Hutchings
nd thus a 'blank' of all 1s. This would then be inverted and AND'd onto the index_key, incorrectly clearing the entire last word. Fixes: 3cb989501c26 ("Add a generic associative array implementation.") Signed-off-by: David Howells Signed-off-by: James Morris Signed-off-by: Ben Hutchings

[PATCH 3.16 197/202] brcmfmac: revise handling events in receive path

2019-04-27 Thread Ben Hutchings
btype check for event handling in data path" - Drop changes to PCIe bus support - Adjust filenames] Signed-off-by: Ben Hutchings --- --- a/drivers/net/wireless/brcm80211/brcmfmac/dhd_bus.h +++ b/drivers/net/wireless/brcm80211/brcmfmac/dhd_bus.h @@ -168,7 +168,7 @@ bool brcmf_c_prec_enq(str

[PATCH 3.16 202/202] tty: mark Siemens R3964 line discipline as BROKEN

2019-04-27 Thread Ben Hutchings
ds Signed-off-by: Ben Hutchings --- drivers/char/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -380,7 +380,7 @@ config XILINX_HWICAP config R3964 tristate "Siemens R3964 line discipline" - depends on

[PATCH 3.16 176/202] x86/uaccess: Don't leak the AC flag into __put_user() value evaluation

2019-04-27 Thread Ben Hutchings
f-by: Andy Lutomirski Signed-off-by: Borislav Petkov Acked-by: Linus Torvalds Cc: Peter Zijlstra Cc: Brian Gerst Cc: Josh Poimboeuf Cc: Denys Vlasenko Link: http://lkml.kernel.org/r/20190225125231.845656...@infradead.org [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings ---

[PATCH 3.16 193/202] brcmfmac: consolidate ifp lookup in driver core

2019-04-27 Thread Ben Hutchings
to 3.16: - Drop changes to PCIe bus support - Adjust filenames] Signed-off-by: Ben Hutchings --- --- a/drivers/net/wireless/brcm80211/brcmfmac/bcdc.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/bcdc.c @@ -276,6 +276,7 @@ brcmf_proto_bcdc_hdrpull(struct brcmf_pu struct

[PATCH 3.16 190/202] coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping

2019-04-27 Thread Ben Hutchings
d to 3.16: - Drop changes in Infiniband and userfaultfd - In clear_refs_write(), use up_read() as we never upgrade to a write lock - Adjust filename, context] Signed-off-by: Ben Hutchings --- --- a/fs/proc/task_mmu.c +++ b/fs/proc/task_mmu.c @@ -809,8 +809,27 @@ static ssize_t cl

[PATCH 3.16 169/202] KEYS: user: Align the payload buffer

2019-04-27 Thread Ben Hutchings
ed-off-by: Eric Biggers Tested-by: Aaro Koskinen Signed-off-by: David Howells Signed-off-by: James Morris Signed-off-by: Ben Hutchings --- include/keys/user-type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/include/keys/user-type.h +++ b/include/keys/user-type.h @@ -29,7 +29,7 @@

[PATCH 3.16 198/202] brcmfmac: add subtype check for event handling in data path

2019-04-27 Thread Ben Hutchings
-off-by: Kalle Valo [bwh: Backported to 3.16: - Drop changes to PCIe bus support - Adjust filenames] Signed-off-by: Ben Hutchings --- --- a/drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/dhd_linux.c @@ -553,7 +553,8 @@ void brcmf_rx_frame(struct

[PATCH 3.16 191/202] perf/core: Fix perf_event_open() vs. execve() race

2019-04-27 Thread Ben Hutchings
) Cc: Alexander Shishkin Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Gleixner Cc: Vince Weaver Signed-off-by: Ingo Molnar [bwh: Backported to 3.16: - Update another failure path in perf_event_open() - Adjust context] Signed-off-by: Ben

[PATCH 3.16 001/202] batman-adv: Avoid WARN on net_device without parent in netns

2019-04-27 Thread Ben Hutchings
by: Dmitry Vyukov Signed-off-by: Sven Eckelmann Signed-off-by: Simon Wunderlich [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- --- a/net/batman-adv/hard-interface.c +++ b/net/batman-adv/hard-interface.c @@ -89,8 +89,10 @@ static bool batadv_is_on_batma

[PATCH 3.16 164/202] scsi: libsas: Fix rphy phy_identifier for PHYs with end devices attached

2019-04-27 Thread Ben Hutchings
-HISI0162:01-sas-exp0x500e004aaa1f-phy8-lun-0-part3 -> ../../sdf3 Fixes: 2908d778ab3e ("[SCSI] aic94xx: new driver") Reported-by: dann frazier Signed-off-by: John Garry Reviewed-by: Jason Yan Tested-by: dann frazier Signed-off-by: Martin K. Petersen Signed-off-by: Ben Hutch

[PATCH 3.16 178/202] net: phy: Micrel KSZ8061: link failure after cable connect

2019-04-27 Thread Ben Hutchings
n - Adjust context] Signed-off-by: Ben Hutchings --- --- a/drivers/net/phy/micrel.c +++ b/drivers/net/phy/micrel.c @@ -26,6 +26,7 @@ #include #include #include +#include /* Operation Mode Strap Override */ #define MII_KSZPHY_OMSO0x16 @@ -211,6 +2

[PATCH 3.16 184/202] ipc/shm: Fix pid freeing.

2019-04-27 Thread Ben Hutchings
leanup path to the no_id error cleanup path. Ensuring that an early error exit won't cause the oops above. Reported-by: kernel test robot Reviewed-by: Nagarathnam Muthusamy Signed-off-by: Eric W. Biederman [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- ipc/shm.c | 4

[PATCH 3.16 183/202] net: netem: fix skb length BUG_ON in __skb_to_sgvec

2019-04-27 Thread Ben Hutchings
_enqueue()") Signed-off-by: Sheng Lan Reported-by: Qin Ji Suggested-by: Eric Dumazet Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller [bwh: Backported to 3.16: netem_enqueue() may call qdisc_reshape_fail(); keep returning NET_XMIT_SUCCESS if that succeeds] Signed-off-by:

[PATCH 3.16 187/202] Bluetooth: Verify that l2cap_get_conf_opt provides large enough buffer

2019-04-27 Thread Ben Hutchings
r uses a too short opt->len value, then garbage will be parsed, but that is protected by the unknown option handling and also the option parameter size checks. Signed-off-by: Marcel Holtmann Reviewed-by: Greg Kroah-Hartman Signed-off-by: Johan Hedberg Signed-off-by: Ben Hutchings ---

[PATCH 3.16 186/202] media: em28xx: Fix use-after-free when disconnecting

2019-04-27 Thread Ben Hutchings
ed-off-by: Mauro Carvalho Chehab [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- drivers/media/usb/em28xx/em28xx-dvb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/drivers/media/usb/em28xx/em28xx-dvb.c +++ b/drivers/media/usb/em28xx/em28xx-dvb.c @@ -1651,6 +

[PATCH 3.16 185/202] [media] media: em28xx-dvb - fix em28xx_dvb_resume() to not unregister i2c and dvb

2019-04-27 Thread Ben Hutchings
, and dvb devices unregistered and removed during resume. This error is a result of merge conflict between two patches that went into 3.15. Signed-off-by: Shuah Khan Reviewed-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Ben Hutchings --- drivers/media/usb/em28xx/em28xx

[PATCH 3.16 195/202] brcmfmac: screening firmware event packet

2019-04-27 Thread Ben Hutchings
-by: Franky Lin Signed-off-by: Arend van Spriel Signed-off-by: Kalle Valo [bwh: Backported to 3.16: - Drop changes to PCIe bus support - Adjust filenames] Signed-off-by: Ben Hutchings --- --- a/drivers/net/wireless/brcm80211/brcmfmac/dhd_bus.h +++ b/drivers/net/wireless/brcm80211/brcmfmac/dhd_bus.h

[PATCH 3.16 196/202] brcmfmac: fix incorrect event channel deduction

2019-04-27 Thread Ben Hutchings
("brcmfmac: screening firmware event packet") Signed-off-by: Gavin Li Acked-by: Arend van Spriel [kv...@codeaurora.org: improve commit logs based on email discussion] Signed-off-by: Kalle Valo [bwh: Backported to 3.16: adjust filename] Signed-off-by: Ben Hutchings --- drivers/ne

[PATCH 3.16 159/202] dm thin: fix bug where bio that overwrites thin block ignores FUA

2019-04-27 Thread Ben Hutchings
-by: Joe Thornber Acked-by: Mikulas Patocka Signed-off-by: Mike Snitzer [bwh: Backported to 3.16: - bio_endio() takes an error parameter - Adjust context] Signed-off-by: Ben Hutchings --- drivers/md/dm-thin.c | 55 1 file changed, 50 insertions(+), 5

[PATCH 3.16 051/202] ARC: mm: do_page_fault fixes #1: relinquish mmap_sem if signal arrives while handle_mm_fault

2019-04-27 Thread Ben Hutchings
kported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- arch/arc/mm/fault.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) --- a/arch/arc/mm/fault.c +++ b/arch/arc/mm/fault.c @@ -131,12 +131,17 @@ good_area: */ fault = handle_mm_fault(mm, vma, add

[PATCH 3.16 054/202] tty/n_hdlc: fix __might_sleep warning

2019-04-27 Thread Ben Hutchings
?id=17d5de7f1fcab794cb8c40032f893f52de899324 Signed-off-by: Paul Fulghum Reported-by: syzbot Cc: Tetsuo Handa Cc: Alan Cox Acked-by: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/tty/n_hdlc.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/tty

[PATCH 3.16 031/202] CIFS: Do not hide EINTR after sending network packets

2019-04-27 Thread Ben Hutchings
successfully completed the network operation which is not true. Fix this by properly returning EINTR to callers. Signed-off-by: Pavel Shilovsky Reviewed-by: Jeff Layton Signed-off-by: Steve French Signed-off-by: Ben Hutchings --- fs/cifs/transport.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 3.16 032/202] cifs: Fix potential OOB access of lock element array

2019-04-27 Thread Ben Hutchings
OOB. Signed-off-by: Ross Lagerwall Signed-off-by: Steve French Signed-off-by: Ben Hutchings --- fs/cifs/file.c | 8 fs/cifs/smb2file.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) --- a/fs/cifs/file.c +++ b/fs/cifs/file.c @@ -1066,10 +1066,10

[PATCH 3.16 044/202] fuse: call pipe_buf_release() under pipe lock

2019-04-27 Thread Ben Hutchings
uot;fuse: support splice() writing to fuse device") Signed-off-by: Jann Horn Signed-off-by: Miklos Szeredi [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- fs/fuse/dev.c | 2 ++ 1 file changed, 2 insertions(+) --- a/fs/fuse/dev.c +++ b/fs/fuse/dev.c @@ -1978,10 +1978

[PATCH 3.16 030/202] i2c: dev: prevent adapter retries and timeout being set as minus value

2019-04-27 Thread Ben Hutchings
or grammar updates to commit message] Signed-off-by: Wolfram Sang Signed-off-by: Ben Hutchings --- drivers/i2c/i2c-dev.c | 6 ++ 1 file changed, 6 insertions(+) --- a/drivers/i2c/i2c-dev.c +++ b/drivers/i2c/i2c-dev.c @@ -467,9 +467,15 @@ static long i2cdev_ioctl(struct file *fi

[PATCH 3.16 048/202] USB: serial: pl2303: add new PID to support PL2303TB

2019-04-27 Thread Ben Hutchings
3.16.66-rc1 review patch. If anyone has any objections, please let me know. -- From: Charles Yeh commit 4dcf9ddc9ad5ab649abafa98c5a4d54b1a33dabb upstream. Add new PID to support PL2303TB (TYPE_HX) Signed-off-by: Charles Yeh Signed-off-by: Johan Hovold Signed-off-by: Ben

[PATCH 3.16 024/202] drm/fb-helper: Partially bring back workaround for bugs of SDL 1.2

2019-04-27 Thread Ben Hutchings
p.org/patch/msgid/20190108072353.28078-2-mironov.i...@gmail.com Link: https://patchwork.freedesktop.org/patch/msgid/20190108072353.28078-2-mironov.i...@gmail.com [bwh: Backported to 3.16: - Use fb->depth instead of fb->format->depth - Adjust context] Signed-off-by: Ben Hutc

[PATCH 3.16 042/202] net: phy: micrel: set soft_reset callback to genphy_soft_reset for KSZ9031

2019-04-27 Thread Ben Hutchings
ekhar Nori Reviewed-by: Florian Fainelli Signed-off-by: David S. Miller [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- drivers/net/phy/micrel.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/net/phy/micrel.c +++ b/drivers/net/phy/micrel.c @@ -596,6 +596,7 @@ sta

[PATCH 3.16 050/202] ARC: show_regs: lockdep: avoid page allocator...

2019-04-27 Thread Ben Hutchings
thru when debugging pesky crashes. FWIW, this patch doesn't cure the lockdep splat (which next patch does). Reviewed-by: William Kucharski Signed-off-by: Vineet Gupta Signed-off-by: Ben Hutchings --- arch/arc/kernel/troubleshoot.c | 26 -- 1 file changed, 12 insertions(+), 14

[PATCH 3.16 041/202] net: phy: micrel: ksz9031: reconfigure autoneg after phy autoneg workaround

2019-04-27 Thread Ben Hutchings
1G switch. Fix the issue by reconfiguring autonegotiation after PHY reset in ksz9031_read_status(). Fixes: d2fd719bcb0e ("net/phy: micrel: Add workaround for bad autoneg") Signed-off-by: Grygorii Strashko Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- drivers/net/p

[PATCH 3.16 049/202] arc: do not export symbols in troubleshoot.c

2019-04-27 Thread Ben Hutchings
the EXPORT_SYMBOL. Signed-off-by: Davidlohr Bueso Acked-by: Vineet Gupta Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds [bwh: Backported to 3.16 as dependency of commit ab6c03676cb1 "ARC: show_regs: lockdep: avoid page allocator..."] Signed-off-by: Ben Hutchings --- arch/

[PATCH 3.16 055/202] vt: always call notifier with the console lock held

2019-04-27 Thread Ben Hutchings
fix that. Signed-off-by: Nicolas Pitre Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/tty/vt/vt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/tty/vt/vt.c +++ b/drivers/tty/vt/vt.c @@ -2415,8 +2415,8 @@ rescan_last_byte

[PATCH 3.16 047/202] Yama: Check for pid death before checking ancestry

2019-04-27 Thread Ben Hutchings
be detached. Instead, check for death first before doing the walk. Reported-by: syzbot+a9ac39bf55329e206...@syzkaller.appspotmail.com Fixes: 2d514487faf1 ("security: Yama LSM") Suggested-by: Oleg Nesterov Signed-off-by: Kees Cook Signed-off-by: James Morris Signed-off-by: Ben

[PATCH 3.16 150/202] net/packet: fix 4gb buffer limit due to overflow check

2019-04-27 Thread Ben Hutchings
miting the total buffer size to UINT_MAX. This change fixes support for packet ring buffers >= UINT_MAX. Fixes: 8f8d28e4d6d8 ("net/packet: fix overflow in check for tp_frame_nr") Signed-off-by: Kal Conley Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- net/packet/af

[PATCH 3.16 182/202] netlabel: fix out-of-bounds memory accesses

2019-04-27 Thread Ben Hutchings
Fixes: 446fda4f2682 ("[NetLabel]: CIPSOv4 engine") Fixes: 3faa8f982f95 ("netlabel: Move bitmap manipulation functions to the NetLabel core.") Signed-off-by: Paul Moore Signed-off-by: David S. Miller [bwh: Backported to 3.16 following Paul's hint] Signed-off-by: Ben Hutchings

[PATCH 3.16 158/202] netfilter: nft_compat: use-after-free when deleting targets

2019-04-27 Thread Ben Hutchings
x use-after-free when deleting compat expressions") Fixes: 0ca743a55991 ("netfilter: nf_tables: add compatibility layer for x_tables") Signed-off-by: Pablo Neira Ayuso Signed-off-by: Ben Hutchings --- net/netfilter/nft_compat.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[PATCH 3.16 152/202] team: avoid complex list operations in team_nl_cmd_options_set()

2019-04-27 Thread Ben Hutchings
260...@syzkaller.appspotmail.com Cc: Jiri Pirko Cc: Paolo Abeni Signed-off-by: Cong Wang Acked-by: Jiri Pirko Reviewed-by: Paolo Abeni Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- drivers/net/team/team.c | 27 +-- 1 file changed, 5 insertions(+), 22 d

[PATCH 3.16 151/202] net/packet: Set __GFP_NOWARN upon allocation in alloc_pg_vec

2019-04-27 Thread Ben Hutchings
ovalov Fixes: fc62814d690c ("net/packet: fix 4gb buffer limit due to overflow check") Signed-off-by: Christoph Paasch Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- net/packet/af_packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/net/packet/af_pa

[PATCH 3.16 180/202] mm/mmap.c: expand_downwards: don't require the gap if !vm_prev

2019-04-27 Thread Ben Hutchings
end and thus underflow is not possible. Link: http://lkml.kernel.org/r/20170628175258.ga24...@redhat.com Signed-off-by: Oleg Nesterov Acked-by: Michal Hocko Cc: Hugh Dickins Cc: Larry Woodman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- mm/mma

[PATCH 3.16 153/202] perf/core: Fix impossible ring-buffer sizes warning

2019-04-27 Thread Ben Hutchings
nder Shishkin Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Linus Torvalds Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Greg Kroah-Hartman Fixes: 9dff0aa95a32 ("perf/core: Don't WARN() for impossible ring-buffer sizes") Signed-off-by: Ingo Molnar Signed-off-b

[PATCH 3.16 155/202] signal: Restore the stop PTRACE_EVENT_EXIT

2019-04-27 Thread Ben Hutchings
eg Nesterov Reported-by: Oleg Nesterov Reported-by: Ivan Delalande Fixes: 35634ffa1751 ("signal: Always notice exiting tasks") Signed-off-by: "Eric W. Biederman" Signed-off-by: Ben Hutchings --- kernel/signal.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletio

[PATCH 3.16 181/202] mm: enforce min addr even if capable() in expand_downwards()

2019-04-27 Thread Ben Hutchings
Signed-off-by: Ben Hutchings --- mm/mmap.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) --- a/mm/mmap.c +++ b/mm/mmap.c @@ -2244,12 +2244,11 @@ int expand_downwards(struct vm_area_stru unsigned long address) { struct vm_area_st

[PATCH 3.16 019/202] packet: Do not leak dev refcounts on error exit

2019-04-27 Thread Ben Hutchings
de Bruijn Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- net/packet/af_packet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c @@ -2302,7 +2302,7 @@ static int tpacket_snd(struct packet_soc

[PATCH 3.16 132/202] unicore32: Fix build error

2019-04-27 Thread Ben Hutchings
: Richard Weinberger Signed-off-by: Guenter Roeck Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- arch/unicore32/kernel/signal.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) --- a/arch/unicore32/kernel/signal.c +++ b/arch/unicore32/kernel/signal.c @@ -254,7

[PATCH 3.16 134/202] tracehook_signal_handler: Remove sig, info, ka and regs

2019-04-27 Thread Ben Hutchings
to 3.16 as dependency of commit 35634ffa1751 "signal: Always notice exiting tasks"] Signed-off-by: Ben Hutchings --- include/linux/tracehook.h | 8 +--- kernel/signal.c | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) --- a/include/linux/tracehook.h +++ b/inc

[PATCH 3.16 156/202] netfilter: nft_compat: fix crash when related match/target module is removed

2019-04-27 Thread Ben Hutchings
ra Ayuso Signed-off-by: Ben Hutchings --- net/netfilter/nft_compat.c | 43 ++ 1 file changed, 20 insertions(+), 23 deletions(-) --- a/net/netfilter/nft_compat.c +++ b/net/netfilter/nft_compat.c @@ -22,6 +22,20 @@ #include /* for set_fs */ #include +struct nft

[PATCH 3.16 137/202] signal: Always notice exiting tasks

2019-04-27 Thread Ben Hutchings
ic W. Biederman" Signed-off-by: Ben Hutchings --- kernel/signal.c | 6 ++ 1 file changed, 6 insertions(+) --- a/kernel/signal.c +++ b/kernel/signal.c @@ -2231,6 +2231,11 @@ relock: goto relock; } + /* Has this task already been marked for death? */ +

[PATCH 3.16 147/202] net: fix IPv6 prefix route residue

2019-04-27 Thread Ben Hutchings
refix route for IFA_F_NOPREFIXROUTE") Signed-off-by: Zhiqiang Liu Reported-by: Wenhao Zhang Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- net/ipv6/addrconf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c

[PATCH 3.16 130/202] um: Use get_signal() signal_setup_done()

2019-04-27 Thread Ben Hutchings
Weinberger [bwh: Backported to 3.16 as dependency of commit 35634ffa1751 "signal: Always notice exiting tasks"] Signed-off-by: Ben Hutchings --- arch/um/include/shared/frame_kern.h | 12 +++- arch/um/kernel/signal.c | 27 +++-- arch/x86/um/signal.c

[PATCH 3.16 133/202] xtensa: Use get_signal() signal_setup_done()

2019-04-27 Thread Ben Hutchings
Weinberger [bwh: Backported to 3.16 as dependency of commit 35634ffa1751 "signal: Always notice exiting tasks"] Signed-off-by: Ben Hutchings --- arch/xtensa/kernel/signal.c | 43 ++--- 1 file changed, 16 insertions(+), 27 deletions(-) diff --git a/arch/xte

[PATCH 3.16 043/202] fuse: handle zero sized retrieve correctly

2019-04-27 Thread Ben Hutchings
416289...@syzkaller.appspotmail.com Tested-by: syzbot+c1e36d30ee3416289...@syzkaller.appspotmail.com Fixes: b2430d7567a3 ("fuse: add per-page descriptor to fuse_req") Signed-off-by: Miklos Szeredi Signed-off-by: Ben Hutchings --- fs/fuse/dev.c | 2 +- 1 file changed, 1 insertion(+), 1 delet

[PATCH 3.16 146/202] vxlan: test dev->flags & IFF_UP before calling netif_rx()

2019-04-27 Thread Ben Hutchings
a Prabhu Cc: Stefano Brivio Signed-off-by: David S. Miller [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- drivers/net/vxlan.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) --- a/drivers/net/vxlan.c +++ b/drivers/net/vxlan.c @@ -1772,7 +1772,7 @@

[PATCH 3.16 148/202] x86/kvm/nVMX: read from MSR_IA32_VMX_PROCBASED_CTLS2 only when it is available

2019-04-27 Thread Ben Hutchings
Signed-off-by: Paolo Bonzini [bwh: Backported to 3.16: - The MSR values are stored in static variables - Adjust filename] Signed-off-by: Ben Hutchings --- --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -2320,8 +2320,11 @@ static __init void nested_vmx_setup_ctls ne

[PATCH 3.16 135/202] Clean up signal_delivered()

2019-04-27 Thread Ben Hutchings
of kernel/signal.c is used Signed-off-by: Richard Weinberger [bwh: Backported to 3.16 as dependency of commit 35634ffa1751 "signal: Always notice exiting tasks"] Signed-off-by: Ben Hutchings --- include/linux/signal.h | 1 - kernel/signal.c| 21 - 2 files

[PATCH 3.16 149/202] batman-adv: fix uninit-value in batadv_interface_tx()

2019-04-27 Thread Ben Hutchings
orted-by: syzbot Cc: Marek Lindner Cc: Simon Wunderlich Cc: Antonio Quartulli Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- net/batman-adv/soft-interface.c | 2 ++ 1 file changed, 2 insertions(+) --- a/net/batman-adv/soft-interface.c +++ b/net/batman-adv/

[PATCH 3.16 145/202] perf/x86: Add check_period PMU callback

2019-04-27 Thread Ben Hutchings
previously exist here - Adjust filenames, context] Signed-off-by: Ben Hutchings --- --- a/arch/x86/kernel/cpu/perf_event.c +++ b/arch/x86/kernel/cpu/perf_event.c @@ -1920,6 +1920,14 @@ void perf_check_microcode(void) } EXPORT_SYMBOL_GPL(perf_check_microcode); +static int x86_pmu_check_period

[PATCH 3.16 128/202] sh: Use get_signal() signal_setup_done()

2019-04-27 Thread Ben Hutchings
Weinberger [bwh: Backported to 3.16 as dependency of commit 35634ffa1751 "signal: Always notice exiting tasks"] Signed-off-by: Ben Hutchings --- arch/sh/kernel/signal_32.c | 79 +++- arch/sh/kernel/signal_64.c | 82 +++--

[PATCH 3.16 118/202] microblaze: Use get_signal() signal_setup_done()

2019-04-27 Thread Ben Hutchings
Weinberger [bwh: Backported to 3.16 as dependency of commit 35634ffa1751 "signal: Always notice exiting tasks"] Signed-off-by: Ben Hutchings --- arch/microblaze/kernel/signal.c | 48 - 1 file changed, 17 insertions(+), 31 deletions(-) --- a/arch/microbl

[PATCH 3.16 124/202] powerpc: Use sigsp()

2019-04-27 Thread Ben Hutchings
as dependency of commit 35634ffa1751 "signal: Always notice exiting tasks"] Signed-off-by: Ben Hutchings --- arch/powerpc/kernel/signal.c| 10 ++ arch/powerpc/kernel/signal_32.c | 4 ++-- arch/powerpc/kernel/signal_64.c | 2 +- 3 files changed, 5 insertions(+), 11 deletions(-)

[PATCH 3.16 035/202] s390/mm: always force a load of the primary ASCE on context switch

2019-04-27 Thread Ben Hutchings
chwidefsky [bwh: Backported to 3.16: - Keep the updates of mm_context_t::attach_count conditional on prev != next - Keep the update of mm_context_t::cpu_attach_mask conditional on both MACHINE_HAS_TLB_LC and prev != next - Adjust context] Signed-off-by: Ben Hutchings --- --- a/arch/

[PATCH 3.16 120/202] mips: Use sigsp()

2019-04-27 Thread Ben Hutchings
as dependency of commit 35634ffa1751 "signal: Always notice exiting tasks"] Signed-off-by: Ben Hutchings --- arch/mips/kernel/signal.c | 10 -- arch/mips/kernel/signal32.c | 4 ++-- arch/mips/kernel/signal_n32.c | 2 +- 3 files changed, 7 insertions(+), 9 deletions(-) --- a

[PATCH 3.16 046/202] media: v4l: ioctl: Validate num_planes for debug messages

2019-04-27 Thread Ben Hutchings
a debug message in this case, just cap the value to the maximum allowed. Signed-off-by: Sakari Ailus Reviewed-by: Thierry Reding Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- drivers/media/v4l2-core

[PATCH 3.16 108/202] arm64: Use get_signal() signal_setup_done()

2019-04-27 Thread Ben Hutchings
Weinberger [bwh: Backported to 3.16 as dependency of commit 35634ffa1751 "signal: Always notice exiting tasks"] Signed-off-by: Ben Hutchings --- arch/arm64/include/asm/signal32.h | 11 --- arch/arm64/kernel/signal.c| 48 +-- arch/arm64/kernel/

[PATCH 3.16 125/202] powerpc/signal: Properly handle return value from uprobe_deny_signal()

2019-04-27 Thread Ben Hutchings
lanchard Signed-off-by: Naveen N. Rao Signed-off-by: Michael Ellerman Signed-off-by: Ben Hutchings --- arch/powerpc/kernel/signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/powerpc/kernel/signal.c +++ b/arch/powerpc/kernel/signal.c @@ -102,7 +102,7 @@ static void check_sy

[PATCH 3.16 123/202] powerpc: Use get_signal() signal_setup_done()

2019-04-27 Thread Ben Hutchings
codes of setup_*frame() to follow the kernel convention. Signed-off-by: Richard Weinberger [bwh: Backported to 3.16 as dependency of commit 35634ffa1751 "signal: Always notice exiting tasks"] Signed-off-by: Ben Hutchings --- arch/powerpc/kernel/signal

[PATCH 3.16 126/202] s390: Use get_signal() signal_setup_done()

2019-04-27 Thread Ben Hutchings
Weinberger [bwh: Backported to 3.16 as dependency of commit 35634ffa1751 "signal: Always notice exiting tasks"] Signed-off-by: Ben Hutchings --- arch/s390/kernel/compat_signal.c | 79 ++-- arch/s390/kernel/entry.h | 4 +- arch/s390/kernel/signal.c

[PATCH 3.16 115/202] ia64: Use get_signal() signal_setup_done()

2019-04-27 Thread Ben Hutchings
codes of force_sigsegv_info() and setup_frame() to follow the kernel convention. Signed-off-by: Richard Weinberger [bwh: Backported to 3.16 as dependency of commit 35634ffa1751 "signal: Always notice exiting tasks"] Signed-off-by: Ben Hutchings --- arch/ia64/kernel/sig

[PATCH 3.16 107/202] arc: Use get_signal() signal_setup_done()

2019-04-27 Thread Ben Hutchings
Weinberger Acked-by: Vineet Gupta [bwh: Backported to 3.16 as dependency of commit 35634ffa1751 "signal: Always notice exiting tasks" - Adjust to apply after "ARC: signal handling robustify"] Signed-off-by: Ben Hutchings --- arch/arc/kernel/signal.c | 39 +++---

[PATCH 3.16 121/202] mn10300: Use get_signal() signal_setup_done()

2019-04-27 Thread Ben Hutchings
Weinberger [bwh: Backported to 3.16 as dependency of commit 35634ffa1751 "signal: Always notice exiting tasks"] Signed-off-by: Ben Hutchings --- arch/mn10300/kernel/signal.c | 89 +++- 1 file changed, 36 insertions(+), 53 deletions(-) --- a/arch/mn10

[PATCH 3.16 119/202] mips: Use get_signal() signal_setup_done()

2019-04-27 Thread Ben Hutchings
Weinberger [bwh: Backported to 3.16 as dependency of commit 35634ffa1751 "signal: Always notice exiting tasks"] Signed-off-by: Ben Hutchings --- arch/mips/include/asm/abi.h | 10 ++--- arch/mips/kernel/signal-common.h | 2 +- arch/mips/kernel/signal.c

[PATCH 3.16 111/202] c6x: Use get_signal() signal_setup_done()

2019-04-27 Thread Ben Hutchings
Acked-by: Mark Salter Signed-off-by: Richard Weinberger [bwh: Backported to 3.16 as dependency of commit 35634ffa1751 "signal: Always notice exiting tasks"] Signed-off-by: Ben Hutchings --- arch/c6x/kernel/signal.c | 43 +--- 1 file changed, 18 inserti

[PATCH 3.16 036/202] s390/smp: fix CPU hotplug deadlock with CPU rescan

2019-04-27 Thread Ben Hutchings
gt; device_attach() -> device_lock(new CPU dev) -> deadlock with (**) Fix this by taking the device_hotplug_lock in the CPU rescan path. Signed-off-by: Gerald Schaefer Signed-off-by: Martin Schwidefsky Signed-off-by: Ben Hutchings --- arch/s390/kernel/smp.c | 4

[PATCH 3.16 109/202] avr32: Use get_signal() signal_setup_done()

2019-04-27 Thread Ben Hutchings
Weinberger Acked-by: Hans-Christian Egtvedt [bwh: Backported to 3.16 as dependency of commit 35634ffa1751 "signal: Always notice exiting tasks"] Signed-off-by: Ben Hutchings --- arch/avr32/kernel/signal.c | 43 -- 1 file changed, 18 insertions(+), 25

[PATCH 3.16 112/202] cris: Use get_signal() signal_setup_done()

2019-04-27 Thread Ben Hutchings
Weinberger [bwh: Backported to 3.16 as dependency of commit 35634ffa1751 "signal: Always notice exiting tasks"] Signed-off-by: Ben Hutchings --- arch/cris/arch-v10/kernel/signal.c | 79 +- arch/cris/arch-v32/kernel/signal.c | 77

[PATCH 3.16 117/202] m68k: Use get_signal() signal_setup_done()

2019-04-27 Thread Ben Hutchings
Weinberger [bwh: Backported to 3.16 as dependency of commit 35634ffa1751 "signal: Always notice exiting tasks"] Signed-off-by: Ben Hutchings --- arch/m68k/kernel/signal.c | 63 +++ 1 file changed, 24 insertions(+), 39 deletions(-) --- a/arch/m68k/kerne

[PATCH 3.16 116/202] m32r: Use get_signal() signal_setup_done()

2019-04-27 Thread Ben Hutchings
Weinberger [bwh: Backported to 3.16 as dependency of commit 35634ffa1751 "signal: Always notice exiting tasks"] Signed-off-by: Ben Hutchings --- arch/m32r/kernel/signal.c | 47 +-- 1 file changed, 20 insertions(+), 27 deletions(-) --- a/arch/m32r/kerne

[PATCH 3.16 144/202] alpha: fix page fault handling for r16-r18 targets

2019-04-27 Thread Ben Hutchings
t; Bug: https://bugs.gentoo.org/672040 Signed-off-by: Sergei Trofimovich Signed-off-by: Matt Turner Signed-off-by: Ben Hutchings --- arch/alpha/mm/fault.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/alpha/mm/fault.c +++ b/arch/alpha/mm/fault.c @@ -78,7 +78,7 @@ __lo

[PATCH 3.16 113/202] frv: Use get_signal() signal_setup_done()

2019-04-27 Thread Ben Hutchings
Weinberger [bwh: Backported to 3.16 as dependency of commit 35634ffa1751 "signal: Always notice exiting tasks"] Signed-off-by: Ben Hutchings --- arch/frv/kernel/signal.c | 99 1 file changed, 40 insertions(+), 59 deletions(-) --- a/arch/frv/kerne

[PATCH 3.16 105/202] Input: bma150 - register input device after setting private data

2019-04-27 Thread Ben Hutchings
(input_event) from [] (0xa5e2817c) Code: e1a08148 eaa8 e351001f 812fff1e (e590c018) ---[ end trace 1c691ee85f2ff243 ]--- Signed-off-by: Jonathan Bakker Signed-off-by: Paweł Chmiel Signed-off-by: Dmitry Torokhov Signed-off-by: Ben Hutchings --- drivers/input/misc/bma150.c | 9 + 1 file changed,

[PATCH 3.16 106/202] libata: Add NOLPM quirk for SAMSUNG MZ7TE512HMHP-000L1 SSD

2019-04-27 Thread Ben Hutchings
/show_bug.cgi?id=1571330 Signed-off-by: Hans de Goede Signed-off-by: Jens Axboe Signed-off-by: Ben Hutchings --- drivers/ata/libata-core.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c @@ -4250,6 +4250,7 @@ static const struct

[PATCH 3.16 092/202] dmaengine: dmatest: unmap data on a single code-path when xfer done

2019-04-27 Thread Ben Hutchings
-by: Alexandru Ardelean Signed-off-by: Vinod Koul [bwh: Backported to 3.16 as dependency of commit 6454368a804c "dmaengine: dmatest: Abort test in case of mapping error"] Signed-off-by: Ben Hutchings --- drivers/dma/dmatest.c | 6 ++ 1 file changed, 2 insertions(+), 4

[PATCH 3.16 095/202] perf test: Fix failure of 'evsel-tp-sched' test on s390

2019-04-27 Thread Ben Hutchings
9153639.31267-1-tmri...@linux.ibm.com Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Ben Hutchings --- tools/perf/tests/evsel-tp-sched.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/tools/perf/tests/evsel-tp-sched.c +++ b/tools/perf/tests/evsel-tp-sched.

[PATCH 3.16 090/202] perf/x86/intel/uncore: Add Node ID mask

2019-04-27 Thread Ben Hutchings
ngo Molnar [bwh: Backported to 3.16: adjust filename] Signed-off-by: Ben Hutchings --- arch/x86/kernel/cpu/perf_event_intel_uncore.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/arch/x86/kernel/cpu/perf_event_intel_uncore.c +++ b/arch/x86/kernel/cpu/perf_event_intel_uncore.c

[PATCH 3.16 038/202] staging: rtl8188eu: Add device code for D-Link DWA-121 rev B1

2019-04-27 Thread Ben Hutchings
://github.com/lwfinger/rtl8188eu/commit/a0619a07cd1e Signed-off-by: Michael Straube Acked-by: Larry Finger Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/staging/rtl8188eu/os_dep/usb_intf.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/staging/rtl8188eu/os_dep

[PATCH 3.16 079/202] fs/dcache: Fix incorrect nr_dentry_unused accounting in shrink_dcache_sb()

2019-04-27 Thread Ben Hutchings
, the decrement in the shrink_dcache_sb() function is taken out. Fixes: 4e717f5c1083 ("list_lru: remove special case function list_lru_dispose_all." Signed-off-by: Waiman Long Reviewed-by: Dave Chinner Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- fs/dcache.c | 6 +---

[PATCH 3.16 086/202] dmaengine: imx-dma: fix wrong callback invoke

2019-04-27 Thread Ben Hutchings
= 0x30004900) That often lead to file system corruption. Signed-off-by: Leonid Iziumtsev Signed-off-by: Vinod Koul Signed-off-by: Ben Hutchings --- drivers/dma/imx-dma.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) --- a/drivers/dma/imx-dma.c +++ b/drivers/dma/

[PATCH 3.16 080/202] l2tp: copy 4 more bytes to linear part if necessary

2019-04-27 Thread Ben Hutchings
Signed-off-by: Ben Hutchings --- net/l2tp/l2tp_core.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- a/net/l2tp/l2tp_core.c +++ b/net/l2tp/l2tp_core.c @@ -82,8 +82,7 @@ #define L2TP_SLFLAG_S 0x4000 #define L2TP_SL_SEQ_MASK 0x00ff -#define L2TP_HDR_SIZE_SEQ

[PATCH 3.16 140/202] ALSA: usb-audio: Fix implicit fb endpoint setup by quirk

2019-04-27 Thread Ben Hutchings
arate function") Signed-off-by: Manuel Reinhardt Signed-off-by: Takashi Iwai Signed-off-by: Ben Hutchings --- sound/usb/pcm.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) --- a/sound/usb/pcm.c +++ b/sound/usb/pcm.c @@ -313,6 +313,9 @@ static int search_roland_implicit_fb(

[PATCH 3.16 104/202] mtd: rawnand: gpmi: fix MX28 bus master lockup problem

2019-04-27 Thread Ben Hutchings
tup problems") Signed-off-by: Manfred Schlaegl Signed-off-by: Martin Kepplinger Reviewed-by: Miquel Raynal Reviewed-by: Fabio Estevam Acked-by: Han Xu Signed-off-by: Boris Brezillon [bwh: Backported to 3.16: adjust filename] Signed-off-by: Ben Hutchings --- drivers/mtd/nand/gpmi-nand/gp

[PATCH 3.16 094/202] perf tests evsel-tp-sched: Fix bitwise operator

2019-04-27 Thread Ben Hutchings
Peter Zijlstra Fixes: 6a6cd11d4e57 ("perf test: Add test for the sched tracepoint format fields") Link: http://lkml.kernel.org/r/20190122233439.GA5868@embeddedor Signed-off-by: Arnaldo Carvalho de Melo [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- tools/per

[PATCH 3.16 088/202] dmaengine: bcm2835: Fix interrupt race on RT

2019-04-27 Thread Ben Hutchings
Cc: Clive Messer Cc: Matthias Reichl Tested-by: Stefan Wahren Acked-by: Florian Kauer Signed-off-by: Vinod Koul [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- drivers/dma/bcm2835-dma.c | 33 ++--- 1 file changed, 18 insertions(+), 15

[PATCH 3.16 070/202] usb: gadget: udc: net2272: Fix bitwise and boolean operations

2019-04-27 Thread Ben Hutchings
t2272: driver for PLX NET2272 USB device controller") Signed-off-by: Gustavo A. R. Silva Signed-off-by: Felipe Balbi [bwh: Backported to 3.16: adjust filename] Signed-off-by: Ben Hutchings --- drivers/usb/gadget/net2272.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/

[PATCH 3.16 089/202] dmaengine: bcm2835: Fix abort of transactions

2019-04-27 Thread Ben Hutchings
chl Tested-by: Stefan Wahren Acked-by: Florian Kauer Signed-off-by: Vinod Koul Signed-off-by: Ben Hutchings --- drivers/dma/bcm2835-dma.c | 41 +-- 1 file changed, 9 insertions(+), 32 deletions(-) --- a/drivers/dma/bcm2835-dma.c +++ b/drivers/dma/bcm2835-dma.c @

[PATCH 3.16 142/202] Input: elantech - enable 3rd button support on Fujitsu CELSIUS H780

2019-04-27 Thread Ben Hutchings
to enable the middle touchpad button. The elantech_dmi_force_crc_enabled quirk was not necessary with the H780. Also document the fw_version and caps values detected for both H760 and H780 models. Signed-off-by: Matti Kurkela Signed-off-by: Dmitry Torokhov Signed-off-by: Ben Hutchings --- drivers

[PATCH 3.16 078/202] usb: gadget: musb: fix short isoc packets with inventra dma

2019-04-27 Thread Ben Hutchings
n the earlier commit fb91cddc54e7 "usb: musb: Remove DMA ifdef for musb_gadget.c short_packet" - Adjust context] Signed-off-by: Ben Hutchings --- drivers/usb/musb/musb_gadget.c | 13 + drivers/usb/musb/musbhsdma.c | 21 +++-- 2 files changed, 12 inse

[PATCH 3.16 076/202] CIFS: Do not consider -ENODATA as stat failure for reads

2019-04-27 Thread Ben Hutchings
to -ENODATA. Currently we report it as a failure which confuses read stats. Change it to not consider -ENODATA as failure for stat purposes. Signed-off-by: Pavel Shilovsky Signed-off-by: Steve French [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- fs/cifs/smb2pdu.c | 2 +- 1

[PATCH 3.16 060/202] can: bcm: check timer values before ktime conversion

2019-04-27 Thread Ben Hutchings
to be positive. Reported-by: Kyungtae Kim Tested-by: Oliver Hartkopp Signed-off-by: Oliver Hartkopp Tested-by: Kyungtae Kim Acked-by: Andre Naujoks Signed-off-by: Marc Kleine-Budde [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- net/can/bcm.c | 27

<    5   6   7   8   9   10   11   12   13   14   >