Re: [PATCH] tty: plug a use-after-free in TIOCGETD ioctl

2016-01-07 Thread Greg Kroah-Hartman
On Thu, Jan 07, 2016 at 03:58:00PM +0100, Mateusz Guzik wrote: > When the line discipline is being changed, the old one is freed. > However, the handler for TIOCGETD would dereference it without taking > any locks, in effect possibly reading freed memory. > > Line discipline changes are protected

Re: [PATCH] tty: plug a use-after-free in TIOCGETD ioctl

2016-01-07 Thread Greg Kroah-Hartman
On Thu, Jan 07, 2016 at 08:38:04AM -0800, Peter Hurley wrote: > On 01/07/2016 08:14 AM, Greg Kroah-Hartman wrote: > > Adding Peter and linux-serial to the list here, as Peter has been doing > > a ton of work in this area... > > > > Peter, does this seem sane

Re: [PATCH v2 1/1] usb: cdc-acm: handle unlinked urb in acm read callback

2015-12-29 Thread Greg Kroah-Hartman
On Wed, Dec 30, 2015 at 08:42:01AM +0800, Lu Baolu wrote: > In current acm driver, the bulk-in callback function ignores the > URBs unlinked in usb core. > > This causes unexpected data loss in some cases. For example, > runtime suspend entry will unlinked all urbs and set urb->status > to

Re: [PATCH 4.3 36/71] tipc: fix error handling of expanding buffer headroom

2015-12-14 Thread Greg Kroah-Hartman
On Mon, Dec 14, 2015 at 05:46:54PM +, Ben Hutchings wrote: > On Sat, 2015-12-12 at 12:06 -0800, Greg Kroah-Hartman wrote: > > 4.3-stable review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From:

Re: [PATCH 4.3 34/71] vrf: fix double free and memory corruption on register_netdevice failure

2015-12-14 Thread Greg Kroah-Hartman
On Mon, Dec 14, 2015 at 11:59:15AM -0700, David Ahern wrote: > On 12/14/15 10:45 AM, Ben Hutchings wrote: > >On Sat, 2015-12-12 at 12:05 -0800, Greg Kroah-Hartman wrote: > >>4.3-stable review patch. If anyone has any objections, please let me > >>know. > >>

Re: [PATCH 4.3 23/71] net: thunder: Check for driver data in nicvf_remove()

2015-12-14 Thread 'Greg Kroah-Hartman'
On Mon, Dec 14, 2015 at 10:17:52AM +0300, Pavel Fedin wrote: > Hello! > > It's good to apply this to stable, however IMHO commit message should be > changed. Actually, this was fix for a fix, so in theory > 5883d9c6d7e680bcdc7a8a9ed2509cd10dd98206 and >

Re: [PATCH 4.3 00/71] 4.3.3-stable review

2015-12-13 Thread Greg Kroah-Hartman
On Sun, Dec 13, 2015 at 08:01:31AM -0800, Guenter Roeck wrote: > On 12/12/2015 12:05 PM, Greg Kroah-Hartman wrote: > >This is the start of the stable review cycle for the 4.3.3 release. > >There are 71 patches in this series, all will be posted as a response > >to this on

Re: [PATCH 4.3 00/71] 4.3.3-stable review

2015-12-12 Thread Greg Kroah-Hartman
On Sat, Dec 12, 2015 at 08:05:22PM -0700, Shuah Khan wrote: > On 12/12/2015 01:05 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.3.3 release. > > There are 71 patches in this series, all will be posted as a response > > to this on

[PATCH 4.1 00/45] 4.1.15-stable review

2015-12-12 Thread Greg Kroah-Hartman
received after that time might be too late. The whole patch series can be found in one patch at: kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.1.15-rc1.gz and the diffstat can be found below. thanks, greg k-h - Pseudo-Shortlog of commits: Greg Kroah-Hartman <

[PATCH 4.1 09/45] ip_tunnel: disable preemption when updating per-cpu tstats

2015-12-12 Thread Greg Kroah-Hartman
onenfeld <ja...@zx2c4.com> Acked-by: Hannes Frederic Sowa <han...@stressinduktion.org> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- include/net/ip6_tunnel.h |3 ++- include/net/ip_tunnels.h |3 +

[PATCH 4.1 22/45] bpf, array: fix heap out-of-bounds access when updating elements

2015-12-12 Thread Greg Kroah-Hartman
d-by: Alexei Starovoitov <a...@kernel.org> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- kernel/bpf/arraymap.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/kernel/bpf/arraymap.c +++

[PATCH 4.1 40/45] debugfs: fix refcount imbalance in start_creating

2015-12-12 Thread Greg Kroah-Hartman
("debugfs: split the beginning and the end of __create_file() off") Signed-off-by: Daniel Borkmann <dan...@iogearbox.net> Signed-off-by: Al Viro <v...@zeniv.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- fs/debugfs/inode.c |

[PATCH 4.1 42/45] nfs: if we have no valid attrs, then dont declare the attribute cache valid

2015-12-12 Thread Greg Kroah-Hartman
on <jeff.lay...@primarydata.com> Signed-off-by: Trond Myklebust <trond.mykleb...@primarydata.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- fs/nfs/inode.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c @@

[PATCH 4.1 41/45] nfs4: start callback_ident at idr 1

2015-12-12 Thread Greg Kroah-Hartman
d Myklebust <trond.mykleb...@primarydata.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- fs/nfs/nfs4client.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/nfs/nfs4client.c +++ b/fs/nfs/nfs4client.c @@ -33,7 +33,7 @@ static int nfs_get_cb_ident_id

[PATCH 4.1 38/45] nfsd: serialize state seqid morphing operations

2015-12-12 Thread Greg Kroah-Hartman
LOCKU however always take the write lock as there is no opportunity for parallelizing those. Reported-and-Tested-by: Andrew W Elble <awe...@rit.edu> Signed-off-by: Jeff Layton <jeff.lay...@primarydata.com> Signed-off-by: J. Bruce Fields <bfie...@redhat.com> Signed-off-by:

[PATCH 4.1 43/45] ocfs2: fix umask ignored issue

2015-12-12 Thread Greg Kroah-Hartman
undation.org> Signed-off-by: Linus Torvalds <torva...@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- fs/ocfs2/namei.c |2 ++ 1 file changed, 2 insertions(+) --- a/fs/ocfs2/namei.c +++ b/fs/ocfs2/namei.c @@ -365,6 +365,8 @@ static int ocfs2

[PATCH 4.1 03/45] packet: do skb_probe_transport_header when we actually have data

2015-12-12 Thread Greg Kroah-Hartman
d-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- net/packet/af_packet.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c @@ -2151,8 +2151,6 @@ stat

[PATCH 4.1 20/45] ipv6: distinguish frag queues by device for multicast and link-local packets

2015-12-12 Thread Greg Kroah-Hartman
9/ but got lost and forgotten for some reason. Signed-off-by: Michal Kubecek <mkube...@suse.cz> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- include/net/ipv6.h |1 + net/ipv6/net

[PATCH 4.1 04/45] packet: always probe for transport header

2015-12-12 Thread Greg Kroah-Hartman
: http://thread.gmane.org/gmane.linux.network/386173/ Signed-off-by: Daniel Borkmann <dan...@iogearbox.net> Acked-by: Jason Wang <jasow...@redhat.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- net/packet

[PATCH 4.1 14/45] tcp: fix potential huge kmalloc() calls in TCP_REPAIR

2015-12-12 Thread Greg Kroah-Hartman
d S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- net/ipv4/tcp_input.c | 22 +++--- 1 file changed, 19 insertions(+), 3 deletions(-) --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c @@ -4438,19 +4438,34 @@ static int

[PATCH 4.1 13/45] tcp: disable Fast Open on timeouts after handshake

2015-12-12 Thread Greg Kroah-Hartman
mazet <eduma...@google.com> Reported-by: Christoph Paasch <cpaa...@apple.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- net/ipv4/tcp_timer.c | 12 1 file changed, 12 insertions(+) --- a

[PATCH 4.1 12/45] tcp: md5: fix lockdep annotation

2015-12-12 Thread Greg Kroah-Hartman
ill...@google.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- net/ipv4/tcp_ipv4.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -922,7 +922

[PATCH 4.2 00/61] 4.2.8-stable review

2015-12-12 Thread Greg Kroah-Hartman
. The whole patch series can be found in one patch at: kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.2.8-rc1.gz and the diffstat can be found below. thanks, greg k-h - Pseudo-Shortlog of commits: Greg Kroah-Hartman <gre...@linuxfoundation.org> Linux 4.2.8-rc1

[PATCH 4.2 18/61] net: switchdev: fix return code of fdb_dump stub

2015-12-12 Thread Greg Kroah-Hartman
pport for fdb add/del/dump via switchdev_port_obj ops.") Signed-off-by: Dragos Tatulea <dra...@endocode.com> Acked-by: Jiri Pirko <j...@mellanox.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> ---

[PATCH 4.2 05/61] af-unix: passcred support for sendpage

2015-12-12 Thread Greg Kroah-Hartman
age support") Reported-by: Al Viro <v...@zeniv.linux.org.uk> Cc: Al Viro <v...@zeniv.linux.org.uk> Cc: Eric Dumazet <eduma...@google.com> Signed-off-by: Hannes Frederic Sowa <han...@stressinduktion.org> Signed-off-by: David S. Miller <da...@davemloft.

[PATCH 4.2 16/61] net/mlx4_core: Fix sleeping while holding spinlock at rem_slave_counters

2015-12-12 Thread Greg Kroah-Hartman
ted-by: Moni Shoua <mo...@mellanox.com> Signed-off-by: Jack Morgenstein <ja...@dev.mellanox.co.il> Signed-off-by: Eran Ben Elisha <era...@mellanox.com> Signed-off-by: Or Gerlitz <ogerl...@mellanox.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-of

[PATCH 4.2 19/61] net: thunder: Check for driver data in nicvf_remove()

2015-12-12 Thread Greg Kroah-Hartman
if we try to feed the device to vfio after the probe has failed for some reason. So, move the check to better place. Signed-off-by: Pavel Fedin <p.fe...@samsung.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.

[PATCH 4.2 08/61] ipv6: Check rt->dst.from for the DST_NOCACHE route

2015-12-12 Thread Greg Kroah-Hartman
ka...@fb.com> Cc: Hannes Frederic Sowa <han...@stressinduktion.org> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- include/net/ip6_fib.h |3 ++- net/ipv6/route.c |3 ++- 2 files changed, 4 inser

[PATCH 4.3 58/71] ext4, jbd2: ensure entering into panic after recording an error in superblock

2015-12-12 Thread Greg Kroah-Hartman
Signed-off-by: Daeho Jeong <daeho.je...@samsung.com> Signed-off-by: Theodore Ts'o <ty...@mit.edu> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- fs/ext4/super.c | 12 ++-- fs/jbd2/journal.c|6 +- include/linux/jbd2.h |1 + 3 fi

[PATCH 4.3 60/71] nfsd: serialize state seqid morphing operations

2015-12-12 Thread Greg Kroah-Hartman
LOCKU however always take the write lock as there is no opportunity for parallelizing those. Reported-and-Tested-by: Andrew W Elble <awe...@rit.edu> Signed-off-by: Jeff Layton <jeff.lay...@primarydata.com> Signed-off-by: J. Bruce Fields <bfie...@redhat.com> Signed-off-by:

[PATCH 4.3 59/71] firewire: ohci: fix JMicron JMB38x IT context discovery

2015-12-12 Thread Greg Kroah-Hartman
ntMask is always reported correctly, even though it is probed right before IsoXmitIntMask. Reported-by: Clifford Dunn Reported-by: Craig Moore <craig.mo...@qenos.com> Signed-off-by: Stefan Richter <stef...@s5r6.in-berlin.de> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org

[PATCH 4.3 51/71] Btrfs: fix race leading to BUG_ON when running delalloc for nodatacow

2015-12-12 Thread Greg Kroah-Hartman
n offset smaller then the delalloc's range end. So fix this by skipping keys with a type smaller than BTRFS_EXTENT_DATA_KEY. Signed-off-by: Filipe Manana <fdman...@suse.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- fs/btrfs/inode.c | 10 -- 1 file c

[PATCH 4.2 60/61] ALSA: hda/hdmi - apply Skylake fix-ups to Broxton display codec

2015-12-12 Thread Greg Kroah-Hartman
Skylake fix-ups to Broxton. Signed-off-by: Lu, Han <han...@intel.com> Signed-off-by: Takashi Iwai <ti...@suse.de> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- sound/pci/hda/patch_hdmi.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/sound/pci/hd

[PATCH 4.2 59/61] ceph: fix message length computation

2015-12-12 Thread Greg Kroah-Hartman
MDS request") Signed-off-by: Arnd Bergmann <a...@arndb.de> Signed-off-by: Yan, Zheng <z...@redhat.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- fs/ceph/mds_client.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/ceph/mds_c

[PATCH 4.3 68/71] ceph: fix message length computation

2015-12-12 Thread Greg Kroah-Hartman
MDS request") Signed-off-by: Arnd Bergmann <a...@arndb.de> Signed-off-by: Yan, Zheng <z...@redhat.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- fs/ceph/mds_client.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/ceph/mds_c

[PATCH 4.1 15/45] tcp: initialize tp->copied_seq in case of cross SYN connection

2015-12-12 Thread Greg Kroah-Hartman
k proper tcp->copied_seq initialization. Thanks again Dmitry for your report and testings. Signed-off-by: Eric Dumazet <eduma...@google.com> Reported-by: Dmitry Vyukov <dvyu...@google.com> Tested-by: Dmitry Vyukov <dvyu...@google.com> Signed-off-by: David S. Miller <da...@

[PATCH 4.1 36/45] ext4, jbd2: ensure entering into panic after recording an error in superblock

2015-12-12 Thread Greg Kroah-Hartman
Signed-off-by: Daeho Jeong <daeho.je...@samsung.com> Signed-off-by: Theodore Ts'o <ty...@mit.edu> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- fs/ext4/super.c | 12 ++-- fs/jbd2/journal.c|6 +- include/linux/jbd2.h |1 + 3 fi

[PATCH 4.1 26/45] net_sched: fix qdisc_tree_decrease_qlen() races

2015-12-12 Thread Greg Kroah-Hartman
; Signed-off-by: Eric Dumazet <eduma...@google.com> Cc: Cong Wang <cw...@twopensource.com> Cc: Jamal Hadi Salim <j...@mojatatu.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- include/net/sch_gen

[PATCH 4.1 21/45] RDS: fix race condition when sending a message on unbound socket

2015-12-12 Thread Greg Kroah-Hartman
e.com> Reviewed-by: Sasha Levin <sasha.le...@oracle.com> Acked-by: Santosh Shilimkar <santosh.shilim...@oracle.com> Signed-off-by: Quentin Casasnovas <quentin.casasno...@oracle.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman &l

[PATCH 4.1 37/45] firewire: ohci: fix JMicron JMB38x IT context discovery

2015-12-12 Thread Greg Kroah-Hartman
ntMask is always reported correctly, even though it is probed right before IsoXmitIntMask. Reported-by: Clifford Dunn Reported-by: Craig Moore <craig.mo...@qenos.com> Signed-off-by: Stefan Richter <stef...@s5r6.in-berlin.de> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org

[PATCH 4.1 35/45] ext4: fix potential use after free in __ext4_journal_stop

2015-12-12 Thread Greg Kroah-Hartman
ndle. Fixes: 9705acd63b125dee8b15c705216d7186daea4625 Signed-off-by: Lukas Czerner <lczer...@redhat.com> Reviewed-by: Andreas Dilger <adil...@dilger.ca> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- fs/ext4/ext4_jbd2.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -

[PATCH 4.1 24/45] net/neighbour: fix crash at dumping device-agnostic proxy entries

2015-12-12 Thread Greg Kroah-Hartman
bnikov <koc...@gmail.com> Fixes: 84920c1420e2 ("net: Allow ipv6 proxies and arp proxies be shown with iproute2") Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- net/core/neighbour.c |4 ++--

[PATCH 4.1 18/45] net: ip6mr: fix static mfc/dev leaks on table destruction

2015-12-12 Thread Greg Kroah-Hartman
: Benjamin Thery <benjamin.th...@bull.net> Signed-off-by: Nikolay Aleksandrov <niko...@cumulusnetworks.com> Reviewed-by: Cong Wang <cw...@twopensource.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> -

[PATCH 4.1 16/45] net, scm: fix PaX detected msg_controllen overflow in scm_detach_fds

2015-12-12 Thread Greg Kroah-Hartman
ail.com> Cc: Brad Spengler <spen...@grsecurity.net> Cc: Wei Yongjun <yongjun_...@trendmicro.com.cn> Cc: Eric Dumazet <eduma...@google.com> Reviewed-by: Hannes Frederic Sowa <han...@stressinduktion.org> Signed-off-by: Daniel Borkmann <dan...@iogearbox.net> Signed-

[PATCH 4.1 17/45] net: ipmr: fix static mfc/dev leaks on table destruction

2015-12-12 Thread Greg Kroah-Hartman
cumulusnetworks.com> Reviewed-by: Cong Wang <cw...@twopensource.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- net/ipv4/ipmr.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) ---

[PATCH 4.1 45/45] ALSA: hda/hdmi - apply Skylake fix-ups to Broxton display codec

2015-12-12 Thread Greg Kroah-Hartman
Skylake fix-ups to Broxton. Signed-off-by: Lu, Han <han...@intel.com> Signed-off-by: Takashi Iwai <ti...@suse.de> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- sound/pci/hda/patch_hdmi.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/sound/pci/hd

[PATCH 4.1 19/45] broadcom: fix PHY_ID_BCM5481 entry in the id table

2015-12-12 Thread Greg Kroah-Hartman
gned-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- drivers/net/phy/broadcom.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/phy/broadcom.c +++ b/drivers/net/phy/broadcom.c @@ -675,7 +675,7

[PATCH 4.1 44/45] ceph: fix message length computation

2015-12-12 Thread Greg Kroah-Hartman
MDS request") Signed-off-by: Arnd Bergmann <a...@arndb.de> Signed-off-by: Yan, Zheng <z...@redhat.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- fs/ceph/mds_client.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/ceph/mds_c

[PATCH 4.3 00/71] 4.3.3-stable review

2015-12-12 Thread Greg Kroah-Hartman
received after that time might be too late. The whole patch series can be found in one patch at: kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.3.3-rc1.gz and the diffstat can be found below. thanks, greg k-h - Pseudo-Shortlog of commits: Greg Kroah-Hartman <

[PATCH 4.2 45/61] Btrfs: fix race when listing an inodes xattrs

2015-12-12 Thread Greg Kroah-Hartman
he application doesn't get any xattr listed for our inode So fix this by breaking the loop only if the key's type is greater than BTRFS_XATTR_ITEM_KEY and skip the current key if its type is smaller. Signed-off-by: Filipe Manana <fdman...@suse.com> Signed-off-by: Greg Kroah-Hartman &

[PATCH 4.2 43/61] Btrfs: fix race leading to incorrect item deletion when dropping extents

2015-12-12 Thread Greg Kroah-Hartman
for a lower inode number by skipping that key and issuing a warning. Signed-off-by: Filipe Manana <fdman...@suse.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- fs/btrfs/file.c | 16 1 file changed, 12 insertions(+), 4 deletion

[PATCH 4.2 13/61] packet: infer protocol from ethernet header if unset

2015-12-12 Thread Greg Kroah-Hartman
ted-by: Eric Dumazet <eduma...@google.com> Signed-off-by: Daniel Borkmann <dan...@iogearbox.net> Acked-by: Willem de Bruijn <will...@google.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- net/

[PATCH 4.2 20/61] snmp: Remove duplicate OUTMCAST stat increment

2015-12-12 Thread Greg Kroah-Hartman
gt; CC: David Miller <da...@davemloft.net> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- net/ipv6/mcast.c |2 -- 1 file changed, 2 deletions(-) --- a/net/ipv6/mcast.c +++ b/net/ipv6/mcast.c @

[PATCH 4.2 12/61] packet: only allow extra vlan len on ethernet devices

2015-12-12 Thread Greg Kroah-Hartman
et: allow to transmit +4 byte in TX_RING slot for VLAN case") Signed-off-by: Daniel Borkmann <dan...@iogearbox.net> Acked-by: Willem de Bruijn <will...@google.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linux

[PATCH 4.2 31/61] RDS: fix race condition when sending a message on unbound socket

2015-12-12 Thread Greg Kroah-Hartman
e.com> Reviewed-by: Sasha Levin <sasha.le...@oracle.com> Acked-by: Santosh Shilimkar <santosh.shilim...@oracle.com> Signed-off-by: Quentin Casasnovas <quentin.casasno...@oracle.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman &l

[PATCH 4.2 33/61] ipv6: add complete rcu protection around np->opt

2015-12-12 Thread Greg Kroah-Hartman
tressinduktion.org> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- include/linux/ipv6.h |2 +- include/net/ipv6.h | 21 - net/dccp/ipv6.c | 3

[PATCH 4.2 44/61] Btrfs: fix race leading to BUG_ON when running delalloc for nodatacow

2015-12-12 Thread Greg Kroah-Hartman
n offset smaller then the delalloc's range end. So fix this by skipping keys with a type smaller than BTRFS_EXTENT_DATA_KEY. Signed-off-by: Filipe Manana <fdman...@suse.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- fs/btrfs/inode.c | 10 -- 1 file c

[PATCH 4.3 17/71] packet: fix tpacket_snd max frame len

2015-12-12 Thread Greg Kroah-Hartman
es: 69e3c75f4d54 ("net: TX_RING and packet mmap") Signed-off-by: Daniel Borkmann <dan...@iogearbox.net> Acked-by: Willem de Bruijn <will...@google.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>

[PATCH 4.3 08/71] ipv6: Avoid creating RTF_CACHE from a rt that is not managed by fib6 tree

2015-12-12 Thread Greg Kroah-Hartman
i Lau <ka...@fb.com> Reported-by: Chris Siebenmann <cks-rhbugzi...@cs.toronto.edu> Cc: Chris Siebenmann <cks-rhbugzi...@cs.toronto.edu> Cc: Hannes Frederic Sowa <han...@stressinduktion.org> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-H

[PATCH 4.3 07/71] af-unix: passcred support for sendpage

2015-12-12 Thread Greg Kroah-Hartman
age support") Reported-by: Al Viro <v...@zeniv.linux.org.uk> Cc: Al Viro <v...@zeniv.linux.org.uk> Cc: Eric Dumazet <eduma...@google.com> Signed-off-by: Hannes Frederic Sowa <han...@stressinduktion.org> Signed-off-by: David S. Miller <da...@davemloft.

[PATCH 4.3 12/71] tools/net: Use include/uapi with __EXPORTED_HEADERS__

2015-12-12 Thread Greg Kroah-Hartman
d #define's (e.g. SKF_AD_VLAN_TPID). Refactored CFLAGS, and bpf_asm doesn't need -I. Fixes: 3f356385e8a4 ("filter: bpf_asm: add minimal bpf asm tool") Signed-off-by: Kamal Mostafa <ka...@canonical.com> Acked-by: Daniel Borkmann <dan...@iogearbox.net> Signed-off-by: David S. Miller <da...

[PATCH 4.3 09/71] ipv6: Check expire on DST_NOCACHE route

2015-12-12 Thread Greg Kroah-Hartman
..@fb.com> Cc: Hannes Frederic Sowa <han...@stressinduktion.org> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- net/ipv6/route.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) --- a/n

[PATCH 4.2 14/61] packet: fix tpacket_snd max frame len

2015-12-12 Thread Greg Kroah-Hartman
es: 69e3c75f4d54 ("net: TX_RING and packet mmap") Signed-off-by: Daniel Borkmann <dan...@iogearbox.net> Acked-by: Willem de Bruijn <will...@google.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>

[PATCH 4.2 26/61] net, scm: fix PaX detected msg_controllen overflow in scm_detach_fds

2015-12-12 Thread Greg Kroah-Hartman
ail.com> Cc: Brad Spengler <spen...@grsecurity.net> Cc: Wei Yongjun <yongjun_...@trendmicro.com.cn> Cc: Eric Dumazet <eduma...@google.com> Reviewed-by: Hannes Frederic Sowa <han...@stressinduktion.org> Signed-off-by: Daniel Borkmann <dan...@iogearbox.net> Signed-

[PATCH 4.3 61/71] nfsd: eliminate sending duplicate and repeated delegations

2015-12-12 Thread Greg Kroah-Hartman
ted-by: Eric Meddaugh <etm...@rit.edu> Cc: Trond Myklebust <trond.mykleb...@primarydata.com> Cc: Olga Kornievskaia <a...@umich.edu> Signed-off-by: Andrew Elble <awe...@rit.edu> Signed-off-by: J. Bruce Fields <bfie...@redhat.com> Signed-off-by: Greg Kroah-Hartman <g

[PATCH 4.3 50/71] Btrfs: fix race leading to incorrect item deletion when dropping extents

2015-12-12 Thread Greg Kroah-Hartman
for a lower inode number by skipping that key and issuing a warning. Signed-off-by: Filipe Manana <fdman...@suse.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- fs/btrfs/file.c | 16 1 file changed, 12 insertions(+), 4 deletion

[PATCH 4.3 21/71] ip_tunnel: disable preemption when updating per-cpu tstats

2015-12-12 Thread Greg Kroah-Hartman
onenfeld <ja...@zx2c4.com> Acked-by: Hannes Frederic Sowa <han...@stressinduktion.org> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- include/net/ip6_tunnel.h |3 ++- include/net/ip_tunnels.h |3 +

[PATCH 4.3 23/71] net: thunder: Check for driver data in nicvf_remove()

2015-12-12 Thread Greg Kroah-Hartman
if we try to feed the device to vfio after the probe has failed for some reason. So, move the check to better place. Signed-off-by: Pavel Fedin <p.fe...@samsung.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.

[PATCH 4.3 20/71] net/mlx4_core: Fix sleeping while holding spinlock at rem_slave_counters

2015-12-12 Thread Greg Kroah-Hartman
ted-by: Moni Shoua <mo...@mellanox.com> Signed-off-by: Jack Morgenstein <ja...@dev.mellanox.co.il> Signed-off-by: Eran Ben Elisha <era...@mellanox.com> Signed-off-by: Or Gerlitz <ogerl...@mellanox.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-of

[PATCH 4.3 22/71] net: switchdev: fix return code of fdb_dump stub

2015-12-12 Thread Greg Kroah-Hartman
pport for fdb add/del/dump via switchdev_port_obj ops.") Signed-off-by: Dragos Tatulea <dra...@endocode.com> Acked-by: Jiri Pirko <j...@mellanox.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> ---

[PATCH 4.3 34/71] vrf: fix double free and memory corruption on register_netdevice failure

2015-12-12 Thread Greg Kroah-Hartman
RIP [] putname+0x43/0x60 [ 28.796016] RSP Fixes: 193125dbd8eb ("net: Introduce VRF device driver") Signed-off-by: Nikolay Aleksandrov <niko...@cumulusnetworks.com> Acked-by: David Ahern <d...@cumulusnetworks.com> Signed-off-by: David S. Miller <da...@dav

[PATCH 4.3 32/71] net: ipmr: fix static mfc/dev leaks on table destruction

2015-12-12 Thread Greg Kroah-Hartman
cumulusnetworks.com> Reviewed-by: Cong Wang <cw...@twopensource.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- net/ipv4/ipmr.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) ---

[PATCH 4.3 33/71] net: ip6mr: fix static mfc/dev leaks on table destruction

2015-12-12 Thread Greg Kroah-Hartman
: Benjamin Thery <benjamin.th...@bull.net> Signed-off-by: Nikolay Aleksandrov <niko...@cumulusnetworks.com> Reviewed-by: Cong Wang <cw...@twopensource.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> -

[PATCH 4.3 31/71] net, scm: fix PaX detected msg_controllen overflow in scm_detach_fds

2015-12-12 Thread Greg Kroah-Hartman
ail.com> Cc: Brad Spengler <spen...@grsecurity.net> Cc: Wei Yongjun <yongjun_...@trendmicro.com.cn> Cc: Eric Dumazet <eduma...@google.com> Reviewed-by: Hannes Frederic Sowa <han...@stressinduktion.org> Signed-off-by: Daniel Borkmann <dan...@iogearbox.net> Signed-

[PATCH 4.3 27/71] tcp: md5: fix lockdep annotation

2015-12-12 Thread Greg Kroah-Hartman
ill...@google.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- net/ipv4/tcp_ipv4.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -922,7 +922

[PATCH 4.3 35/71] broadcom: fix PHY_ID_BCM5481 entry in the id table

2015-12-12 Thread Greg Kroah-Hartman
gned-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- drivers/net/phy/broadcom.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/phy/broadcom.c +++ b/drivers/net/phy/broadcom.c @@ -675,7 +675,7

[PATCH 4.2 04/61] unix: avoid use-after-free in ep_remove_wait_queue

2015-12-12 Thread Greg Kroah-Hartman
i.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- include/net/af_unix.h |1 net/unix/af_unix.c| 183 -- 2 files changed, 165 insertions(+), 19 deletions(-)

[PATCH 4.2 03/61] af_unix: take receive queue lock while appending new skb

2015-12-12 Thread Greg Kroah-Hartman
ment stream sendpage support") Cc: Eric Dumazet <eduma...@google.com> Signed-off-by: Hannes Frederic Sowa <han...@stressinduktion.org> Reported-by: Eric Dumazet <eduma...@google.com> Acked-by: Eric Dumazet <eduma...@google.com> Signed-off-by: David S. Miller <da.

[PATCH 4.2 07/61] ipv6: Check expire on DST_NOCACHE route

2015-12-12 Thread Greg Kroah-Hartman
..@fb.com> Cc: Hannes Frederic Sowa <han...@stressinduktion.org> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- net/ipv6/route.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) --- a/n

[PATCH 4.2 02/61] af_unix: dont append consumed skbs to sk_receive_queue

2015-12-12 Thread Greg Kroah-Hartman
> Cc: Dmitry Vyukov <dvyu...@google.com> Cc: Eric Dumazet <eric.duma...@gmail.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: Greg Kroa

[PATCH 4.2 17/61] ip_tunnel: disable preemption when updating per-cpu tstats

2015-12-12 Thread Greg Kroah-Hartman
onenfeld <ja...@zx2c4.com> Acked-by: Hannes Frederic Sowa <han...@stressinduktion.org> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- include/net/ip6_tunnel.h |3 ++- include/net/ip_tunnels.h |3 +

[PATCH 4.1 33/45] rbd: dont put snap_context twice in rbd_queue_workfn()

2015-12-12 Thread Greg Kroah-Hartman
eads to an extra put. Fix it. Signed-off-by: Ilya Dryomov <idryo...@gmail.com> Reviewed-by: Josh Durgin <jdur...@redhat.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- drivers/block/rbd.c |1 + 1 file changed, 1 insertion(+) --- a/drivers/blo

[PATCH 4.1 23/45] ipv6: add complete rcu protection around np->opt

2015-12-12 Thread Greg Kroah-Hartman
tressinduktion.org> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- include/linux/ipv6.h |2 +- include/net/ipv6.h | 21 - net/dccp/ipv6.c | 3

[PATCH 4.1 31/45] Btrfs: fix race leading to BUG_ON when running delalloc for nodatacow

2015-12-12 Thread Greg Kroah-Hartman
n offset smaller then the delalloc's range end. So fix this by skipping keys with a type smaller than BTRFS_EXTENT_DATA_KEY. Signed-off-by: Filipe Manana <fdman...@suse.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- fs/btrfs/inode.c | 10 -- 1 file c

[PATCH 4.1 25/45] ipv6: sctp: implement sctp_v6_destroy_sock()

2015-12-12 Thread Greg Kroah-Hartman
y_sock() to properly release inet6 specific fields. Reported-by: Dmitry Vyukov <dvyu...@google.com> Signed-off-by: Eric Dumazet <eduma...@google.com> Acked-by: Daniel Borkmann <dan...@iogearbox.net> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-o

[PATCH 4.1 34/45] ext4 crypto: fix memory leak in ext4_bio_write_page()

2015-12-12 Thread Greg Kroah-Hartman
store hasn't been allocated yet. In that case, we need to skip the call to ext4_encrypt_page(), since in addition to wasting CPU, it leads to a bounce page and an ext4 crypto context getting leaked. Signed-off-by: Theodore Ts'o <ty...@mit.edu> Signed-off-by: Greg Kroah-Hartman <gre...@linu

[PATCH 4.2 46/61] btrfs: fix signed overflows in btrfs_sync_file

2015-12-12 Thread Greg Kroah-Hartman
com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- fs/btrfs/file.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c @@ -1876,8 +1876,13 @@ int btrfs_sync_file(struct file *file, l struct btrfs_log_ctx

[PATCH 4.2 10/61] packet: do skb_probe_transport_header when we actually have data

2015-12-12 Thread Greg Kroah-Hartman
d-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- net/packet/af_packet.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c @@ -2249,8 +2249,6 @@ stat

[PATCH 4.2 11/61] packet: always probe for transport header

2015-12-12 Thread Greg Kroah-Hartman
: http://thread.gmane.org/gmane.linux.network/386173/ Signed-off-by: Daniel Borkmann <dan...@iogearbox.net> Acked-by: Jason Wang <jasow...@redhat.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- net/packet

[PATCH 4.2 01/61] af-unix: fix use-after-free with concurrent readers while splicing

2015-12-12 Thread Greg Kroah-Hartman
Eric Dumazet <eduma...@google.com> Signed-off-by: Hannes Frederic Sowa <han...@stressinduktion.org> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- net/unix/af_unix.c | 18 ++ 1 file

[PATCH 4.3 04/71] af_unix: dont append consumed skbs to sk_receive_queue

2015-12-12 Thread Greg Kroah-Hartman
> Cc: Dmitry Vyukov <dvyu...@google.com> Cc: Eric Dumazet <eric.duma...@gmail.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: Greg Kroa

[PATCH 4.3 02/71] r8169: fix kasan reported skb use-after-free.

2015-12-12 Thread Greg Kroah-Hartman
ted-by: Dave Jones <da...@codemonkey.org.uk> Fixes: d7d2d89d4b0af ("r8169: Add software counter for multicast packages") Acked-by: Eric Dumazet <eduma...@google.com> Acked-by: Corinna Vinschen <vinsc...@redhat.com> Signed-off-by: David S. Miller <da...@davemloft.

[PATCH 4.2 37/61] via-rhine: fix VLAN receive handling regression.

2015-12-12 Thread Greg Kroah-Hartman
: Francois Romieu <rom...@fr.zoreil.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- drivers/net/ethernet/via/via-rhine.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/drivers/net/ethernet/via/vi

[PATCH 4.2 38/61] btrfs: fix resending received snapshot with parent

2015-12-12 Thread Greg Kroah-Hartman
ap1 | btrfs receive 3/ btrfs send -p 2/snap1 2/snap2 | btrfs receive 3/ Signed-off-by: Robin Ruede <rruede+...@gmail.com> Fixes: 37b8d27de5d0 ("Btrfs: use received_uuid of parent during send") Reviewed-by: Filipe Manana <fdman...@suse.com> Tested-by: Ed Tomlinso

[PATCH 4.2 41/61] Btrfs: fix truncation of compressed and inlined extents

2015-12-12 Thread Greg Kroah-Hartman
lso because the foo's inline extent was not shrunk by the truncate # operation, btrfs' fsck, which is run by the fstests framework everytime a # test completes, failed reporting the following error: # # root 5 inode 257 errors 400, nbytes wrong status=0 exit Signed-off-by: Fili

[PATCH 4.2 39/61] btrfs: check unsupported filters in balance arguments

2015-12-12 Thread Greg Kroah-Hartman
<dste...@suse.com> Signed-off-by: Chris Mason <c...@fb.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- fs/btrfs/ioctl.c |5 + fs/btrfs/volumes.h |8 2 files changed, 13 insertions(+) --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -4

[PATCH 4.2 40/61] Btrfs: fix file corruption and data loss after cloning inline extents

2015-12-12 Thread Greg Kroah-Hartman
ature...\n" test_cloning_inline_extents echo -e "\nTesting with compression and without the no-holes feature...\n" test_cloning_inline_extents "" "-o compress" echo -e "\nTesting without compression and with the no-holes feature...\n&

[PATCH 4.2 35/61] ipv6: sctp: implement sctp_v6_destroy_sock()

2015-12-12 Thread Greg Kroah-Hartman
y_sock() to properly release inet6 specific fields. Reported-by: Dmitry Vyukov <dvyu...@google.com> Signed-off-by: Eric Dumazet <eduma...@google.com> Acked-by: Daniel Borkmann <dan...@iogearbox.net> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-o

[PATCH 4.2 36/61] net_sched: fix qdisc_tree_decrease_qlen() races

2015-12-12 Thread Greg Kroah-Hartman
; Signed-off-by: Eric Dumazet <eduma...@google.com> Cc: Cong Wang <cw...@twopensource.com> Cc: Jamal Hadi Salim <j...@mojatatu.com> Signed-off-by: David S. Miller <da...@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- include/net/sch_gen

[PATCH 4.2 56/61] nfs4: start callback_ident at idr 1

2015-12-12 Thread Greg Kroah-Hartman
d Myklebust <trond.mykleb...@primarydata.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- fs/nfs/nfs4client.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/nfs/nfs4client.c +++ b/fs/nfs/nfs4client.c @@ -33,7 +33,7 @@ static int nfs_get_cb_ident_id

  1   2   3   4   5   6   7   8   9   10   >