Merge 4.14.125 into android-4.14-q
authorGreg Kroah-Hartman <gregkh@google.com>
Tue, 11 Jun 2019 10:42:51 +0000 (12:42 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 11 Jun 2019 10:42:51 +0000 (12:42 +0200)
Changes in 4.14.125
ethtool: fix potential userspace buffer overflow
Fix memory leak in sctp_process_init
neighbor: Call __ipv4_neigh_lookup_noref in neigh_xmit
net/mlx4_en: ethtool, Remove unsupported SFP EEPROM high pages query
net: rds: fix memory leak in rds_ib_flush_mr_pool
pktgen: do not sleep with the thread lock held.
ipv6: fix EFAULT on sendto with icmpv6 and hdrincl
ipv6: use READ_ONCE() for inet->hdrincl as in ipv4
net: sfp: read eeprom in maximum 16 byte increments
ipv6: fix the check before getting the cookie in rt6_get_cookie
Revert "fib_rules: fix error in backport of e9919a24d302 ("fib_rules: return 0...")"
Revert "fib_rules: return 0 directly if an exactly same rule exists when NLM_F_EXCL not supplied"
rcu: locking and unlocking need to always be at least barriers
parisc: Use implicit space register selection for loading the coherence index of I/O pdirs
fuse: fallocate: fix return with locked inode
pstore: Remove needless lock during console writes
pstore: Convert buf_lock to semaphore
pstore/ram: Run without kernel crash dump region
x86/power: Fix 'nosmt' vs hibernation triple fault during resume
i2c: xiic: Add max_read_len quirk
MIPS: Bounds check virt_addr_valid
MIPS: pistachio: Build uImage.gz by default
Revert "MIPS: perf: ath79: Fix perfcount IRQ assignment"
genwqe: Prevent an integer overflow in the ioctl
test_firmware: Use correct snprintf() limit
drm/gma500/cdv: Check vbt config bits when detecting lvds panels
drm/nouveau: add kconfig option to turn off nouveau legacy contexts. (v3)
drm/amdgpu/psp: move psp version specific function pointers to early_init
drm/radeon: prefer lower reference dividers
drm/i915: Fix I915_EXEC_RING_MASK
drm/i915/fbc: disable framebuffer compression on GeminiLake
TTY: serial_core, add ->install
qmi_wwan: Add quirk for Quectel dynamic config
fs: stream_open - opener for stream-like files so that read and write can run simultaneously without deadlock
fuse: Add FOPEN_STREAM to use stream_open()
ipv4: Define __ipv4_neigh_lookup_noref when CONFIG_INET is disabled
ethtool: check the return value of get_regs_len
Linux 4.14.125

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
1  2 
Makefile
fs/fuse/file.c
fs/open.c
fs/pstore/ram.c
fs/read_write.c
include/linux/fs.h
include/uapi/linux/fuse.h
kernel/cpu.c
net/core/pktgen.c

diff --cc Makefile
Simple merge
diff --cc fs/fuse/file.c
Simple merge
diff --cc fs/open.c
Simple merge
diff --cc fs/pstore/ram.c
Simple merge
diff --cc fs/read_write.c
index 5a78420c485ab47a6a037fcdbc702546c39db0e5,d6f8bfb0f79421e5d1e00bcf546dc0addc2c96b3..b249957e44fb3fb77b891d4e53ada8f66de8aa18
@@@ -555,11 -553,9 +555,11 @@@ ssize_t vfs_write(struct file *file, co
        return ret;
  }
  
 +EXPORT_SYMBOL(vfs_write);
 +
  static inline loff_t file_pos_read(struct file *file)
  {
-       return file->f_pos;
+       return file->f_mode & FMODE_STREAM ? 0 : file->f_pos;
  }
  
  static inline void file_pos_write(struct file *file, loff_t pos)
Simple merge
Simple merge
diff --cc kernel/cpu.c
Simple merge
Simple merge