Merge 4.14.140 into android-4.14-q
authorGreg Kroah-Hartman <gregkh@google.com>
Sun, 25 Aug 2019 13:00:09 +0000 (15:00 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Sun, 25 Aug 2019 13:00:09 +0000 (15:00 +0200)
Changes in 4.14.140
scsi: mpt3sas: Use 63-bit DMA addressing on SAS35 HBA
sh: kernel: hw_breakpoint: Fix missing break in switch statement
mm/usercopy: use memory range to be accessed for wraparound check
mm/memcontrol.c: fix use after free in mem_cgroup_iter()
bpf: get rid of pure_initcall dependency to enable jits
bpf: restrict access to core bpf sysctls
bpf: add bpf_jit_limit knob to restrict unpriv allocations
x86/mm: Use WRITE_ONCE() when setting PTEs
xtensa: add missing isync to the cpu_reset TLB code
ALSA: hda - Apply workaround for another AMD chip 1022:1487
ALSA: hda - Fix a memory leak bug
ALSA: hda - Add a generic reboot_notify
ALSA: hda - Let all conexant codec enter D3 when rebooting
HID: holtek: test for sanity of intfdata
HID: hiddev: avoid opening a disconnected device
HID: hiddev: do cleanup in failure of opening a device
Input: kbtab - sanity check for endpoint type
Input: iforce - add sanity checks
net: usb: pegasus: fix improper read if get_registers() fail
netfilter: ebtables: also count base chain policies
clk: at91: generated: Truncate divisor to GENERATED_MAX_DIV + 1
clk: renesas: cpg-mssr: Fix reset control race condition
xen/pciback: remove set but not used variable 'old_state'
irqchip/gic-v3-its: Free unused vpt_page when alloc vpe table fail
irqchip/irq-imx-gpcv2: Forward irq type to parent
perf header: Fix divide by zero error if f_header.attr_size==0
perf header: Fix use of unitialized value warning
libata: zpodd: Fix small read overflow in zpodd_get_mech_type()
drm/bridge: lvds-encoder: Fix build error while CONFIG_DRM_KMS_HELPER=m
scsi: hpsa: correct scsi command status issue after reset
scsi: qla2xxx: Fix possible fcport null-pointer dereferences
ata: libahci: do not complain in case of deferred probe
kbuild: modpost: handle KBUILD_EXTRA_SYMBOLS only for external modules
arm64/efi: fix variable 'si' set but not used
arm64: unwind: Prohibit probing on return_address()
arm64/mm: fix variable 'pud' set but not used
IB/core: Add mitigation for Spectre V1
IB/mad: Fix use-after-free in ib mad completion handling
drm: msm: Fix add_gpu_components
ocfs2: remove set but not used variable 'last_hash'
asm-generic: fix -Wtype-limits compiler warnings
KVM: arm/arm64: Sync ICH_VMCR_EL2 back when about to block
staging: comedi: dt3000: Fix signed integer overflow 'divider * base'
staging: comedi: dt3000: Fix rounding up of timer divisor
iio: adc: max9611: Fix temperature reading in probe
USB: core: Fix races in character device registration and deregistraion
usb: gadget: udc: renesas_usb3: Fix sysfs interface of "role"
usb: cdc-acm: make sure a refcount is taken early enough
USB: CDC: fix sanity checks in CDC union parser
USB: serial: option: add D-Link DWM-222 device ID
USB: serial: option: Add support for ZTE MF871A
USB: serial: option: add the BroadMobi BM818 card
USB: serial: option: Add Motorola modem UARTs
bpf: fix bpf_jit_limit knob for PAGE_SIZE >= 64K
Revert "tcp: Clear sk_send_head after purging the write queue"
arm64: compat: Allow single-byte watchpoints on all addresses
arm64: ftrace: Ensure module ftrace trampoline is coherent with I-side
netfilter: conntrack: Use consistent ct id hash calculation
Input: psmouse - fix build error of multiple definition
iommu/amd: Move iommu_init_pci() to .init section
bnx2x: Fix VF's VLAN reconfiguration in reload.
net/mlx4_en: fix a memory leak bug
net/packet: fix race in tpacket_snd()
sctp: fix the transport error_count check
xen/netback: Reset nr_frags before freeing skb
net/mlx5e: Only support tx/rx pause setting for port owner
net/mlx5e: Use flow keys dissector to parse packets for ARFS
team: Add vlan tx offload to hw_enc_features
bonding: Add vlan tx offload to hw_enc_features
mmc: sdhci-of-arasan: Do now show error message in case of deffered probe
xfrm: policy: remove pcpu policy cache
Linux 4.14.140

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
1  2 
Makefile
drivers/scsi/mpt3sas/mpt3sas_base.c
include/net/tcp.h
include/net/xfrm.h
mm/usercopy.c
net/netfilter/nf_conntrack_core.c
net/xfrm/xfrm_device.c
net/xfrm/xfrm_policy.c
net/xfrm/xfrm_state.c
scripts/Makefile.modpost

diff --cc Makefile
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc mm/usercopy.c
Simple merge
Simple merge
Simple merge
index 28d8fb6a9a3587d9e12f8126477e48b67a358a13,b5006a091fd6243b6c5e2e78d9f0cd50fd99022e..3607538387f81131f33eb10dde67e9a78d8d2418
@@@ -45,11 -45,6 +45,8 @@@ struct xfrm_flo 
        u8 flags;
  };
  
- static DEFINE_PER_CPU(struct xfrm_dst *, xfrm_last_dst);
- static struct work_struct *xfrm_pcpu_work __read_mostly;
 +static DEFINE_SPINLOCK(xfrm_if_cb_lock);
 +static struct xfrm_if_cb const __rcu *xfrm_if_cb __read_mostly;
  static DEFINE_SPINLOCK(xfrm_policy_afinfo_lock);
  static struct xfrm_policy_afinfo const __rcu *xfrm_policy_afinfo[AF_INET6 + 1]
                                                __read_mostly;
@@@ -2099,18 -1947,10 +1976,15 @@@ static struct xfrm_dst *xfrm_bundle_loo
        if (num_xfrms <= 0)
                goto make_dummy_bundle;
  
-       local_bh_disable();
        xdst = xfrm_resolve_and_create_bundle(pols, num_pols, fl, family,
                                              xflo->dst_orig);
-       local_bh_enable();
        if (IS_ERR(xdst)) {
                err = PTR_ERR(xdst);
 +              if (err == -EREMOTE) {
 +                      xfrm_pols_put(pols, num_pols);
 +                      return NULL;
 +              }
 +
                if (err != -EAGAIN)
                        goto error;
                goto make_dummy_bundle;
Simple merge
Simple merge