Re: [PATCH 4/4] nvmet-fc: Use new SGL alloc/free helper for requests

2018-03-29 Thread Christoph Hellwig
On Thu, Mar 29, 2018 at 11:02:10AM -0600, Logan Gunthorpe wrote: > Per the bug in the previous patch, I don't think that was ever a valid > assumption. It doesn't have anything to do with the sgl_alloc change > either. The dma_map interface is allowed to merge SGLs and that's why it > can return fe

Re: [PATCH 2/8] PCI: Add pci_find_common_upstream_dev()

2018-03-29 Thread Christian König
Am 29.03.2018 um 18:25 schrieb Logan Gunthorpe: On 29/03/18 10:10 AM, Christian König wrote: Why not? I mean the dma_map_resource() function is for P2P while other dma_map_* functions are only for system memory. Oh, hmm, I wasn't aware dma_map_resource was exclusively for mapping P2P. Though i

[PATCH 4.9 28/28] net: hns: Fix a skb used after free bug

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Yunsheng Lin commit 27463ad99f738ed93c7c8b3e2e5bc8c4853a2ff2 upstream. skb maybe freed in hns_nic_net_xmit_hw() and return NETDEV_TX_OK, which cause hns_nic_net_xmit to use a freed skb. BUG: K

Re: [PATCH v5 2/9] proc/sysctl: Provide additional ctl_table.flags checks

2018-03-29 Thread Luis R. Rodriguez
On Mon, Mar 19, 2018 at 11:35:19AM -0400, Waiman Long wrote: > On 03/16/2018 08:54 PM, Luis R. Rodriguez wrote: > > On Fri, Mar 16, 2018 at 02:13:43PM -0400, Waiman Long wrote: > >> Checking code is added to provide the following additional > >> ctl_table.flags checks: > >> > >> 1) No unknown flag

[PATCH 4.9 04/28] ppp: avoid loop in xmit recursion detection code

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit 6d066734e9f09cdea4a3b9cb76136db3f29cfb02 ] We already detect situations where a PPP channel sends packets back to its upper PPP device. While this is enough t

[PATCH 4.9 26/28] net: systemport: Rewrite __bcm_sysport_tx_reclaim()

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit 484d802d0f2f29c335563fcac2a8facf174a1bbc ] There is no need for complex checking between the last consumed index and current consumed index, a simple subtrac

[PATCH 4.9 25/28] s390/qeth: on channel error, reject further cmd requests

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit a6c3d93963e4b333c764fde69802c3ea9eaa9d5c ] When the IRQ handler determines that one of the cmd IO channels has failed and schedules recovery, block any furthe

[PATCH 4.9 27/28] kcm: lock lower socket in kcm_attach

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Tom Herbert [ Upstream commit 2cc683e88c0c993ac3721d9b702cb0630abe2879 ] Need to lock lower socket in order to provide mutual exclusion with kcm_unattach. v2: Add Reported-by for syzbot Fixe

Re: [PATCH] xfs: always free inline data before resetting inode fork during ifree

2018-03-29 Thread Josef Bacik
On Thu, Mar 29, 2018 at 06:12:23PM +, Luis R. Rodriguez wrote: > On Thu, Mar 29, 2018 at 10:05:35AM +1100, Dave Chinner wrote: > > On Wed, Mar 28, 2018 at 07:30:06PM +, Sasha Levin wrote: > > > > > > This is actually something I want maintainers to dictate. What sort of > > > testing would

[PATCH 4.9 23/28] s390/qeth: when thread completes, wake up all waiters

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit 1063e432bb45be209427ed3f1ca3908e4aa3c7d7 ] qeth_wait_for_threads() is potentially called by multiple users, make sure to notify all of them after qeth_clear_t

[PATCH 4.9 22/28] s390/qeth: free netdevice when removing a card

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit 6be687395b3124f002a653c1a50b3260222b3cd7 ] On removal, a qeth card's netdevice is currently not properly freed because the call chain looks as follows: qeth_

[PATCH 4.9 20/28] team: Fix double free in error path

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arkadi Sharshevsky [ Upstream commit cbcc607e18422555db569b593608aec26111cb0b ] The __send_and_alloc_skb() receives a skb ptr as a parameter but in case it fails the skb is not valid: - Send f

[PATCH 4.9 18/28] net: Only honor ifindex in IP_PKTINFO if non-0

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: David Ahern [ Upstream commit 2cbb4ea7de167b02ffa63e9cdfdb07a7e7094615 ] Only allow ifindex from IP_PKTINFO to override SO_BINDTODEVICE settings if the index is actually set in the message. S

[PATCH 4.9 17/28] netlink: avoid a double skb free in genlmsg_mcast()

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel [ Upstream commit 02a2385f37a7c6594c9d89b64c4a1451276f08eb ] nlmsg_multicast() consumes always the skb, thus the original skb must be freed only when this function is called wi

Re: [PATCH v5 0/9] ipc: Clamp *mni to the real IPCMNI limit & increase that limit

2018-03-29 Thread Luis R. Rodriguez
Andrew, please drop these patches until further notice. I would recommend we avoid merging these patches until we get proper Acked-by for the entire set. Waiman has a bit more work to do and even after the 5th iteration this is not right yet. Luis

[PATCH 4.9 16/28] net/iucv: Free memory obtained by kzalloc

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arvind Yadav [ Upstream commit fa6a91e9b907231d2e38ea5ed89c537b3525df3d ] Free memory by calling put_device(), if afiucv_iucv_init is not successful. Signed-off-by: Arvind Yadav Reviewed-by:

[PATCH 4.9 15/28] net: fec: Fix unbalanced PM runtime calls

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit a069215cf5985f3aa1bba550264907d6bd05c5f7 ] When unbinding/removing the driver, we will run into the following warnings: [ 259.655198] fec 400d1000.ethernet

[PATCH 4.9 13/28] net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Christophe JAILLET [ Upstream commit 00777fac28ba3e126b9e63e789a613e8bd2cab25 ] If the optional regulator is deferred, we must release some resources. They will be re-allocated when the probe

[PATCH 4.9 01/28] scsi: sg: dont return bogus Sg_requests

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Thumshirn commit 48ae8484e9fc324b4968d33c585e54bc98e44d61 upstream. If the list search in sg_get_rq_mark() fails to find a valid request, we return a bogus element. This then can later

[PATCH 4.9 10/28] dccp: check sk for closed state in dccp_sendmsg()

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev [ Upstream commit 67f93df79aeefc3add4e4b31a752600f834236e2 ] dccp_disconnect() sets 'dp->dccps_hc_tx_ccid' tx handler to NULL, therefore if DCCP socket is disconnected and dccp_

[PATCH 4.14 20/43] net: use skb_to_full_sk() in skb_update_prio()

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 4dcb31d4649df36297296b819437709f5407059c ] Andrei Vagin reported a KASAN: slab-out-of-bounds error in skb_update_prio() Since SYNACK might be attached to a req

[PATCH 4.14 29/43] netlink: avoid a double skb free in genlmsg_mcast()

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel [ Upstream commit 02a2385f37a7c6594c9d89b64c4a1451276f08eb ] nlmsg_multicast() consumes always the skb, thus the original skb must be freed only when this function is called w

[PATCH 4.14 28/43] net/iucv: Free memory obtained by kzalloc

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Arvind Yadav [ Upstream commit fa6a91e9b907231d2e38ea5ed89c537b3525df3d ] Free memory by calling put_device(), if afiucv_iucv_init is not successful. Signed-off-by: Arvind Yadav Reviewed-by

[PATCH 4.14 24/43] l2tp: do not accept arbitrary sockets

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 17cfe79a65f98abe535261856c5aef14f306dff7 ] syzkaller found an issue caused by lack of sufficient checks in l2tp_tunnel_create() RAW sockets can not be consider

[PATCH 4.14 43/43] s390/qeth: on channel error, reject further cmd requests

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit a6c3d93963e4b333c764fde69802c3ea9eaa9d5c ] When the IRQ handler determines that one of the cmd IO channels has failed and schedules recovery, block any furth

[PATCH 4.14 42/43] s390/qeth: lock read device while queueing next buffer

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit 17bf8c9b3d499d5168537c98b61eb7a1fcbca6c2 ] For calling ccw_device_start(), issue_next_read() needs to hold the device's ccwlock. This is satisfied for the IR

[PATCH 4.14 40/43] s390/qeth: free netdevice when removing a card

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit 6be687395b3124f002a653c1a50b3260222b3cd7 ] On removal, a qeth card's netdevice is currently not properly freed because the call chain looks as follows: qeth

[PATCH 4.14 41/43] s390/qeth: when thread completes, wake up all waiters

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit 1063e432bb45be209427ed3f1ca3908e4aa3c7d7 ] qeth_wait_for_threads() is potentially called by multiple users, make sure to notify all of them after qeth_clear_

[PATCH 4.14 37/43] dpaa_eth: remove duplicate initialization

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Camelia Groza [ Upstream commit 565186362b73226a288830abe595f05f0cec0bbc ] The fd_format has already been initialized at this point. Signed-off-by: Camelia Groza Signed-off-by: David S. Mil

[PATCH 4.14 39/43] dpaa_eth: remove duplicate increment of the tx_errors counter

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Camelia Groza [ Upstream commit 82d141cd19d088ee41feafde4a6f86eeb40d93c5 ] The tx_errors counter is incremented by the dpaa_xmit caller. Signed-off-by: Camelia Groza Signed-off-by: Madalin

[PATCH 4.14 38/43] dpaa_eth: increment the RX dropped counter when needed

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Camelia Groza [ Upstream commit e4d1b37c17d000a3da9368a3e260fb9ea4927c25 ] Signed-off-by: Camelia Groza Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/et

[PATCH 4.14 35/43] soc/fsl/qbman: fix issue in qman_delete_cgr_safe()

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Madalin Bucur [ Upstream commit 96f413f47677366e0ae03797409bfcc4151dbf9e ] The wait_for_completion() call in qman_delete_cgr_safe() was triggering a scheduling while atomic bug, replacing the

[PATCH] mmc: dw_mmc-k3: Fix DDR52 mode by setting required clock divisor

2018-03-29 Thread oscardagrach
Signed-off-by: oscardagrach --- drivers/mmc/host/dw_mmc-k3.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/dw_mmc-k3.c b/drivers/mmc/host/dw_mmc-k3.c index 89cdb3d533bb..efc546cb4db8 100644 --- a/drivers/mmc/host/dw_mmc-k3.c +++ b/drivers/mmc/host

[PATCH 4.14 33/43] skbuff: Fix not waking applications when errors are enqueued

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Vinicius Costa Gomes [ Upstream commit 6e5d58fdc9bedd0255a8781b258f10bbdc63e975 ] When errors are enqueued to the error queue via sock_queue_err_skb() function, it is possible that the waitin

[PATCH 4.14 31/43] net: systemport: Rewrite __bcm_sysport_tx_reclaim()

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit 484d802d0f2f29c335563fcac2a8facf174a1bbc ] There is no need for complex checking between the last consumed index and current consumed index, a simple subtra

[PATCH 4.14 21/43] net: Fix hlist corruptions in inet_evict_bucket()

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Kirill Tkhai [ Upstream commit a560002437d3646dafccecb1bf32d1685112ddda ] inet_evict_bucket() iterates global list, and several tasks may call it in parallel. All of them hash the same fq->li

[PATCH 4.14 07/43] macvlan: filter out unsupported feature flags

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Shannon Nelson [ Upstream commit 13fbcc8dc573482dd3f27568257fd7087f8935f4 ] Adding a macvlan device on top of a lowerdev that supports the xfrm offloads fails with a new regression: # ip li

Re: [PATCH 2/6] fpga: manager: don't use drvdata in common fpga code

2018-03-29 Thread Alan Tull
On Thu, Mar 29, 2018 at 12:03 PM, Greg KH wrote: Hi Greg, > On Thu, Mar 29, 2018 at 08:36:54AM -0700, Moritz Fischer wrote: >> From: Alan Tull >> >> Change fpga_mgr_register to not set or use drvdata. >> >> Change the register/unregister function parameters to take the mgr >> struct: >> * int f

[PATCH 4.14 09/43] ipv6: old_dport should be a __be16 in __ip6_datagram_connect()

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Stefano Brivio [ Upstream commit 5f2fb802eee1df0810b47ea251942fe3fd36589a ] Fixes: 2f987a76a977 ("net: ipv6: keep sk status consistent after datagram connect failure") Signed-off-by: Stefano

[PATCH 4.14 05/43] net: phy: relax error checking when creating sysfs link netdev->phydev

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Grygorii Strashko [ Upstream commit 4414b3ed74be0e205e04e12cd83542a727d88255 ] Some ethernet drivers (like TI CPSW) may connect and manage >1 Net PHYs per one netdevice, as result such driver

[PATCH 4.14 02/43] tcp: purge write queue upon aborting the connection

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Soheil Hassas Yeganeh [ Upstream commit e05836ac07c77dd90377f8c8140bce2a44af5fe7 ] When the connection is aborted, there is no point in keeping the packets on the write queue until the connec

[PATCH 4.14 18/43] sch_netem: fix skb leak in netem_enqueue()

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev [ Upstream commit 35d889d10b649fda66121891ec05eca88150059d ] When we exceed current packets limit and we have more than one segment in the list returned by skb_gso_segment(), n

[PATCH 4.14 16/43] rhashtable: Fix rhlist duplicates insertion

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Paul Blakey [ Upstream commit d3dcf8eb615537526bd42ff27a081d46d337816e ] When inserting duplicate objects (those with the same key), current rhlist implementation messes up the chain pointers

[PATCH 4.14 15/43] ppp: avoid loop in xmit recursion detection code

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit 6d066734e9f09cdea4a3b9cb76136db3f29cfb02 ] We already detect situations where a PPP channel sends packets back to its upper PPP device. While this is enough

[PATCH 4.14 12/43] mlxsw: spectrum_buffers: Set a minimum quota for CPU port traffic

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ido Schimmel [ Upstream commit bcdd5de80a2275f7879dc278bfc747f1caf94442 ] In commit 9ffcc3725f09 ("mlxsw: spectrum: Allow packets to be trapped from any PG") I fixed a problem where packets c

Re: [PATCH] selftests/ftrace: fix spelling mistake: "tiggers" -> "triggers"

2018-03-29 Thread Steven Rostedt
On Thu, 29 Mar 2018 11:54:28 -0600 Shuah Khan wrote: > I will pick this up with your Ack Steve, unless you want include > it in your pull request. You or Janitors can take it. Thanks! -- Steve

[PATCH 4.15 44/47] net: systemport: Rewrite __bcm_sysport_tx_reclaim()

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit 484d802d0f2f29c335563fcac2a8facf174a1bbc ] There is no need for complex checking between the last consumed index and current consumed index, a simple subtra

[PATCH 4.15 47/47] team: Fix double free in error path

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Arkadi Sharshevsky [ Upstream commit cbcc607e18422555db569b593608aec26111cb0b ] The __send_and_alloc_skb() receives a skb ptr as a parameter but in case it fails the skb is not valid: - Send

[PATCH 4.14 01/43] tcp: reset sk_send_head in tcp_write_queue_purge

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Soheil Hassas Yeganeh tcp_write_queue_purge clears all the SKBs in the write queue but does not reset the sk_send_head. As a result, we can have a NULL pointer dereference anywhere that we use

[PATCH 4.14 10/43] ipv6: sr: fix NULL pointer dereference when setting encap source address

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: David Lebrun [ Upstream commit 8936ef7604c11b5d701580d779e0f5684abc7b68 ] When using seg6 in encap mode, we call ipv6_dev_get_saddr() to set the source address of the outer IPv6 header, in ca

[PATCH 4.15 46/47] skbuff: Fix not waking applications when errors are enqueued

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Vinicius Costa Gomes [ Upstream commit 6e5d58fdc9bedd0255a8781b258f10bbdc63e975 ] When errors are enqueued to the error queue via sock_queue_err_skb() function, it is possible that the waitin

[PATCH 4.15 06/47] sysfs: symlink: export sysfs_create_link_nowarn()

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Grygorii Strashko [ Upstream commit 2399ac42e762ab25c58420e25359b2921afdc55f ] The sysfs_create_link_nowarn() is going to be used in phylib framework in subsequent patch which can be built as

[PATCH 4.15 15/47] net: phy: Tell caller result of phy_change()

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Brad Mouring [ Upstream commit a2c054a896b8ac794ddcfc7c92e2dc7ec4ed4ed5 ] In 664fcf123a30e (net: phy: Threaded interrupts allow some simplification) the phy_interrupt system was changed to us

[PATCH 4.15 13/47] ipv6: sr: fix scheduling in RCU when creating seg6 lwtunnel state

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: David Lebrun [ Upstream commit 191f86ca8ef27f7a492fd1c03620498c6e94f0ac ] The seg6_build_state() function is called with RCU read lock held, so we cannot use GFP_KERNEL. This patch uses GFP_A

[PATCH 4.15 10/47] net: ipv6: keep sk status consistent after datagram connect failure

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Abeni [ Upstream commit 2f987a76a97773beafbc615b9c4d8fe79129a7f4 ] On unsuccesful ip6_datagram_connect(), if the failure is caused by ip6_datagram_dst_update(), the sk peer information

[PATCH 4.15 43/47] net: Only honor ifindex in IP_PKTINFO if non-0

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: David Ahern [ Upstream commit 2cbb4ea7de167b02ffa63e9cdfdb07a7e7094615 ] Only allow ifindex from IP_PKTINFO to override SO_BINDTODEVICE settings if the index is actually set in the message.

[PATCH 4.15 40/47] net: fec: Fix unbalanced PM runtime calls

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit a069215cf5985f3aa1bba550264907d6bd05c5f7 ] When unbinding/removing the driver, we will run into the following warnings: [ 259.655198] fec 400d1000.etherne

[PATCH 4.15 38/47] net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Christophe JAILLET [ Upstream commit 00777fac28ba3e126b9e63e789a613e8bd2cab25 ] If the optional regulator is deferred, we must release some resources. They will be re-allocated when the probe

Re: linux-next 20180327 - "SELinux: (dev dm-3, type ext4) getxattr errno 34"

2018-03-29 Thread Stephen Smalley
On 03/29/2018 02:29 PM, Stephen Smalley wrote: > On 03/29/2018 01:57 PM, valdis.kletni...@vt.edu wrote: >> Seeing this error trying to mount ext4 disks. next-20180320 was OK. >> >> SELinux: (dev dm-3, type ext4) getxattr errno 34 >> >> and for /var, it refused to mount entirely (which brought the b

[PATCH 4.15 36/47] ipv6: fix access to non-linear packet in ndisc_fill_redirect_hdr_option()

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Lorenzo Bianconi [ Upstream commit 9f62c15f28b0d1d746734666d88a79f08ba1e43e ] Fix the following slab-out-of-bounds kasan report in ndisc_fill_redirect_hdr_option when the incoming ipv6 packet

[PATCH 4.15 09/47] macvlan: filter out unsupported feature flags

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Shannon Nelson [ Upstream commit 13fbcc8dc573482dd3f27568257fd7087f8935f4 ] Adding a macvlan device on top of a lowerdev that supports the xfrm offloads fails with a new regression: # ip li

Re: [PATCH v2 08/11] block: sed-opal: ioctl for writing to shadow mbr

2018-03-29 Thread catchall
On Thu, Mar 29, 2018 at 11:16:42AM -0600, Scott Bauer wrote: > Yeah, having to autheticate to write the MBR is a real bummer. Theoretically > you could dd a the pw struct + the shador MBR into sysfs. But that's > a pretty disgusting hack just to use sysfs. The other method I thought of > was to aut

[PATCH 4.15 35/47] dccp: check sk for closed state in dccp_sendmsg()

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev [ Upstream commit 67f93df79aeefc3add4e4b31a752600f834236e2 ] dccp_disconnect() sets 'dp->dccps_hc_tx_ccid' tx handler to NULL, therefore if DCCP socket is disconnected and dccp

[PATCH 4.15 33/47] dpaa_eth: increment the RX dropped counter when needed

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Camelia Groza [ Upstream commit e4d1b37c17d000a3da9368a3e260fb9ea4927c25 ] Signed-off-by: Camelia Groza Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/et

[PATCH 4.15 31/47] dpaa_eth: fix error in dpaa_remove()

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Madalin Bucur [ Upstream commit 88075256ee817041d68c2387f29065b5cb2b342a ] The recent changes that make the driver probing compatible with DSA were not propagated in the dpa_remove() function

[PATCH 4.15 32/47] dpaa_eth: remove duplicate initialization

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Camelia Groza [ Upstream commit 565186362b73226a288830abe595f05f0cec0bbc ] The fd_format has already been initialized at this point. Signed-off-by: Camelia Groza Signed-off-by: David S. Mil

Re: [RFC PATCH for 4.17 02/21] rseq: Introduce restartable sequences system call (v12)

2018-03-29 Thread Mathieu Desnoyers
- On Mar 29, 2018, at 2:07 PM, rostedt rost...@goodmis.org wrote: > On Thu, 29 Mar 2018 14:02:33 -0400 (EDT) > Mathieu Desnoyers wrote: > >> Currently, anyone using ptrace on a process has pretty much given up all >> hopes of performance. Processes will use rseq to gain performance, not the

Re: [PATCH] xfs: always free inline data before resetting inode fork during ifree

2018-03-29 Thread Sasha Levin
On Thu, Mar 29, 2018 at 02:17:13PM -0400, Josef Bacik wrote: >On Thu, Mar 29, 2018 at 06:12:23PM +, Luis R. Rodriguez wrote: >> On Thu, Mar 29, 2018 at 10:05:35AM +1100, Dave Chinner wrote: >> > On Wed, Mar 28, 2018 at 07:30:06PM +, Sasha Levin wrote: >> > > >> > > This is actually somethin

[PATCH 4.15 29/47] s390/qeth: on channel error, reject further cmd requests

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit a6c3d93963e4b333c764fde69802c3ea9eaa9d5c ] When the IRQ handler determines that one of the cmd IO channels has failed and schedules recovery, block any furth

[PATCH 4.15 30/47] soc/fsl/qbman: fix issue in qman_delete_cgr_safe()

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Madalin Bucur [ Upstream commit 96f413f47677366e0ae03797409bfcc4151dbf9e ] The wait_for_completion() call in qman_delete_cgr_safe() was triggering a scheduling while atomic bug, replacing the

[PATCH 4.15 26/47] s390/qeth: free netdevice when removing a card

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit 6be687395b3124f002a653c1a50b3260222b3cd7 ] On removal, a qeth card's netdevice is currently not properly freed because the call chain looks as follows: qeth

Re: [PATCH v4 1/3] perf/core: store context switch out type into Perf trace

2018-03-29 Thread Alexey Budankov
Hi, On 29.03.2018 18:43, Mark Rutland wrote: > Hi, > > On Thu, Mar 29, 2018 at 06:02:48PM +0300, Alexey Budankov wrote: >> diff --git a/include/uapi/linux/perf_event.h >> b/include/uapi/linux/perf_event.h >> index 912b85b52344..cd6ad7e13824 100644 >> --- a/include/uapi/linux/perf_event.h >> +++

[PATCH 4.15 27/47] s390/qeth: when thread completes, wake up all waiters

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit 1063e432bb45be209427ed3f1ca3908e4aa3c7d7 ] qeth_wait_for_threads() is potentially called by multiple users, make sure to notify all of them after qeth_clear_

Re: [RFC PATCH for 4.17 02/21] rseq: Introduce restartable sequences system call (v12)

2018-03-29 Thread Mathieu Desnoyers
- On Mar 29, 2018, at 12:24 PM, rostedt rost...@goodmis.org wrote: > On Thu, 29 Mar 2018 11:39:00 -0400 (EDT) > Mathieu Desnoyers wrote: > >> Enforcing SIGSEGV on syscall entry when nested in a rseq critical section >> will not be free both in terms of syscall overhead, and in terms of code

[PATCH 4.15 24/47] net: use skb_to_full_sk() in skb_update_prio()

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 4dcb31d4649df36297296b819437709f5407059c ] Andrei Vagin reported a KASAN: slab-out-of-bounds error in skb_update_prio() Since SYNACK might be attached to a req

[PATCH 4.15 23/47] ieee802154: 6lowpan: fix possible NULL deref in lowpan_device_event()

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit ca0edb131bdf1e6beaeb2b8289fd6b374b74147d ] A tun device type can trivially be set to arbitrary value using TUNSETLINK ioctl(). Therefore, lowpan_device_event()

Re: [PATCH] [net-next] sctp: fix unused lable warning

2018-03-29 Thread David Miller
From: Arnd Bergmann Date: Wed, 28 Mar 2018 16:14:56 +0200 > The proc file cleanup left a label possibly unused: > > net/sctp/protocol.c: In function 'sctp_defaults_init': > net/sctp/protocol.c:1304:1: error: label 'err_init_proc' defined but not used > [-Werror=unused-label] > > This adds an #

[PATCH 4.15 25/47] net: Fix hlist corruptions in inet_evict_bucket()

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Kirill Tkhai [ Upstream commit a560002437d3646dafccecb1bf32d1685112ddda ] inet_evict_bucket() iterates global list, and several tasks may call it in parallel. All of them hash the same fq->li

Re: linux-next 20180327 - "SELinux: (dev dm-3, type ext4) getxattr errno 34"

2018-03-29 Thread Stephen Smalley
On 03/29/2018 01:57 PM, valdis.kletni...@vt.edu wrote: > Seeing this error trying to mount ext4 disks. next-20180320 was OK. > > SELinux: (dev dm-3, type ext4) getxattr errno 34 > > and for /var, it refused to mount entirely (which brought the boot > process to a screeching halt). > > git log sh

[PATCH 4.15 21/47] kcm: lock lower socket in kcm_attach

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Tom Herbert [ Upstream commit 2cc683e88c0c993ac3721d9b702cb0630abe2879 ] Need to lock lower socket in order to provide mutual exclusion with kcm_unattach. v2: Add Reported-by for syzbot Fix

[PATCH 4.15 18/47] ppp: avoid loop in xmit recursion detection code

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit 6d066734e9f09cdea4a3b9cb76136db3f29cfb02 ] We already detect situations where a PPP channel sends packets back to its upper PPP device. While this is enough

[PATCH 4.15 19/47] rhashtable: Fix rhlist duplicates insertion

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Paul Blakey [ Upstream commit d3dcf8eb615537526bd42ff27a081d46d337816e ] When inserting duplicate objects (those with the same key), current rhlist implementation messes up the chain pointers

Re: omap4-droid4: voice call support was Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard

2018-03-29 Thread Pavel Machek
On Thu 2018-03-29 09:41:13, Tony Lindgren wrote: > * Pavel Machek [180329 16:38]: > > Hi! > > > > > > > > And I do hear a voice talking over the speakerphone :) Sorry have > > > > > > not tested the > > > > > > mic yet.. > > > > > > > > And calling a person I can hear the other end but the mic

[PATCH 4.15 07/47] net: phy: relax error checking when creating sysfs link netdev->phydev

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Grygorii Strashko [ Upstream commit 4414b3ed74be0e205e04e12cd83542a727d88255 ] Some ethernet drivers (like TI CPSW) may connect and manage >1 Net PHYs per one netdevice, as result such driver

[PATCH 4.15 16/47] ipv6: Reflect MTU changes on PMTU of exceptions for MTU-less routes

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Stefano Brivio [ Upstream commit e9fa1495d738e34fcec88a3d2ec9101a9ee5b310 ] Currently, administrative MTU changes on a given netdevice are not reflected on route exceptions for MTU-less route

[PATCH 4.15 05/47] qed: Fix non TCP packets should be dropped on iWARP ll2 connection

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Michal Kalderon [ Upstream commit 16da09047d3fb991dc48af41f6d255fd578e8ca2 ] FW workaround. The iWARP LL2 connection did not expect TCP packets to arrive on it's connection. The fix drops any

[PATCH 4.15 00/47] 4.15.15-stable review

2018-03-29 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.15.15 release. There are 47 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sat Mar 31 17:57:05 UTC 2018. Anything receiv

[PATCH 4.15 02/47] openvswitch: meter: fix the incorrect calculation of max delta_t

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: zhangliping [ Usptream commit ddc502dfed600bff0b61d899f70d95b76223fdfc ] Max delat_t should be the full_bucket/rate instead of the full_bucket. Also report EINVAL if the rate is zero. Fixes:

[RFCv2 PATCH 0/3] Salted build ids via linker sections

2018-03-29 Thread Laura Abbott
Hi, This is v2 of my proposal to allow unique build-ids in the kernel. from last time: "" In Fedora, the debug information is packaged separately (foo-debuginfo) and can be installed separately. There's been a long standing issue where only one version of a debuginfo info package can be installed

[PATCH 4.15 01/47] net: dsa: Fix dsa_is_user_port() test inversion

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit 5a9f8df68ee6927f21dd3f2c75c16feb8b53a9e8 ] During the conversion to dsa_is_user_port(), a condition ended up being reversed, which would prevent the creatio

Re: [REVIEW][PATCH 00/11] ipc: Fixing the pid namespace support

2018-03-29 Thread Eric W. Biederman
Davidlohr Bueso writes: > On Fri, 23 Mar 2018, Eric W. Biederman wrote: > >>Still I would like to see this fixed and I plan on merging this code. The code is merged into my for-next tree now. > Yes, it needs fixed, but 1) there are pending issues (such as the > extra atomics) Concerns not issu

Re: [PATCH v4 2/7] phy: qcom-qmp: Enable pipe_clk before PHY initialization

2018-03-29 Thread Doug Anderson
Hi, On Thu, Mar 29, 2018 at 4:04 AM, Manu Gautam wrote: > QMP PHY for USB/PCIE requires pipe_clk for locking of > retime buffers at the pipe interface. Driver checks for > PHY_STATUS without enabling pipe_clk due to which > phy_init() fails with initialization timeout. > Though pipe_clk is output

Re: [RFC PATCH for 4.17 02/21] rseq: Introduce restartable sequences system call (v12)

2018-03-29 Thread Steven Rostedt
On Thu, 29 Mar 2018 14:35:16 -0400 (EDT) Mathieu Desnoyers wrote: > - On Mar 29, 2018, at 2:07 PM, rostedt rost...@goodmis.org wrote: > > > On Thu, 29 Mar 2018 14:02:33 -0400 (EDT) > > Mathieu Desnoyers wrote: > > > >> Currently, anyone using ptrace on a process has pretty much given up

Re: [PATCH AUTOSEL for 4.4 016/115] drm: Defer disabling the vblank IRQ until the next interrupt (for instant-off)

2018-03-29 Thread Ben Hutchings
On Thu, 2018-03-29 at 19:42 +0300, Ville Syrjälä wrote: > On Thu, Mar 29, 2018 at 05:32:13PM +0100, Ben Hutchings wrote: > > On Sat, 2018-03-03 at 22:30 +, Sasha Levin wrote: > > > > > > From: Chris Wilson > > > > > > [ Upstream commit 608b20506941969ea30d8c08dc9ae02bb87dbf7d ] > > > > I thi

Re: [RFC PATCH for 4.17 02/21] rseq: Introduce restartable sequences system call (v12)

2018-03-29 Thread Steven Rostedt
On Thu, 29 Mar 2018 14:46:05 -0400 Steven Rostedt wrote: > This gives us more incentive to help Andy make it faster ;-) And with Meltdown, I doubt this makes as big of a difference anymore :-/ -- Steve

Re: [PATCH v5 1/9] sysctl: Add flags to support min/max range clamping

2018-03-29 Thread Waiman Long
On 03/29/2018 02:15 PM, Luis R. Rodriguez wrote: > On Mon, Mar 19, 2018 at 11:39:19AM -0400, Waiman Long wrote: >> On 03/16/2018 09:10 PM, Luis R. Rodriguez wrote: >>> On Fri, Mar 16, 2018 at 02:13:42PM -0400, Waiman Long wrote: When the CTL_FLAGS_CLAMP_RANGE flag is set in the ctl_table

Re: [PATCH v5 0/9] ipc: Clamp *mni to the real IPCMNI limit & increase that limit

2018-03-29 Thread Luis R. Rodriguez
On Thu, Mar 29, 2018 at 06:19:35PM +, Luis R. Rodriguez wrote: > Andrew, > > please drop these patches until further notice. I would recommend we avoid > merging > these patches until we get proper Acked-by for the entire set. Waiman has a > bit more > work to do and even after the 5th itera

Re: [RFC][PATCH] ipc: Remove IPCMNI

2018-03-29 Thread Eric W. Biederman
Manfred Spraul writes: > Hello Mathew, > > On 03/29/2018 12:56 PM, Matthew Wilcox wrote: >> On Thu, Mar 29, 2018 at 10:47:45AM +0200, Manfred Spraul wrote: This can be implemented trivially with the current code using idr_alloc_cyclic. >>> Is there a performance impact? >>> Righ

Re: [PATCH v5 1/9] sysctl: Add flags to support min/max range clamping

2018-03-29 Thread Luis R. Rodriguez
On Thu, Mar 29, 2018 at 02:47:18PM -0400, Waiman Long wrote: > On 03/29/2018 02:15 PM, Luis R. Rodriguez wrote: > > On Mon, Mar 19, 2018 at 11:39:19AM -0400, Waiman Long wrote: > >> On 03/16/2018 09:10 PM, Luis R. Rodriguez wrote: > >>> On Fri, Mar 16, 2018 at 02:13:42PM -0400, Waiman Long wrote: >

Re: [PATCH v3 01/14] KVM: s390: refactor crypto initialization

2018-03-29 Thread Tony Krowiak
On 03/26/2018 04:44 AM, Cornelia Huck wrote: On Thu, 15 Mar 2018 15:55:39 +0100 Pierre Morel wrote: On 15/03/2018 15:48, Tony Krowiak wrote: On 03/15/2018 08:26 AM, Pierre Morel wrote: On 14/03/2018 19:25, Tony Krowiak wrote: diff --git a/arch/s390/kvm/Kconfig b/arch/s390/kvm/Kconfig index

<    3   4   5   6   7   8   9   10   11   >