Re: memory leak in sctp_process_init

2019-05-30 Thread Neil Horman
On Thu, May 30, 2019 at 12:17:05PM -0300, Marcelo Ricardo Leitner wrote: > On Thu, May 30, 2019 at 10:20:11AM -0400, Neil Horman wrote: > > On Wed, May 29, 2019 at 08:37:57PM -0300, Marcelo Ricardo Leitner wrote: > > > On Wed, May 29, 2019 at 03:07:09PM -0400, Neil Horman wrote:

Re: memory leak in sctp_process_init

2019-05-31 Thread Neil Horman
On Fri, May 31, 2019 at 09:42:42AM -0300, Marcelo Ricardo Leitner wrote: > On Thu, May 30, 2019 at 03:56:34PM -0400, Neil Horman wrote: > > On Thu, May 30, 2019 at 12:17:05PM -0300, Marcelo Ricardo Leitner wrote: > ... > > > --- a/net/sctp/sm_sideeffect.c > > >

Re: [PATCH] net: sctp: fix memory leak in sctp_send_reset_streams

2019-06-02 Thread Neil Horman
nstr_list slab released, if any outq is found > to be non empty. > > Freeing the slab in question before bailing out fixes it. > > Fixes: d570a59c5b5f ("sctp: only allow the out stream reset when the stream > outq is empty") > Reported-by: syzbot > Reported-by:

Re: [PATCH] sctp: Replace zero-length array with flexible-array

2020-05-07 Thread Neil Horman
__be16 hmac_id; > - __u8 hmac[0]; > + __u8 hmac[]; > }; > > struct sctp_auth_chunk { > @@ -733,7 +733,7 @@ struct sctp_infox { > > struct sctp_reconf_chunk { > struct sctp_chunkhdr chunk_hdr; > - __u8 params[0]; > + __u8 params[]; > }; > > struct sctp_strreset_outreq { > @@ -741,13 +741,13 @@ struct sctp_strreset_outreq { > __be32 request_seq; > __be32 response_seq; > __be32 send_reset_at_tsn; > - __be16 list_of_streams[0]; > + __be16 list_of_streams[]; > }; > > struct sctp_strreset_inreq { > struct sctp_paramhdr param_hdr; > __be32 request_seq; > - __be16 list_of_streams[0]; > + __be16 list_of_streams[]; > }; > > struct sctp_strreset_tsnreq { > > Acked-by: Neil Horman

Re: net: hang in unregister_netdevice: waiting for lo to become free

2018-02-20 Thread Neil Horman
On Tue, Feb 20, 2018 at 09:14:41AM +0100, Dmitry Vyukov wrote: > On Tue, Feb 20, 2018 at 8:56 AM, Tommi Rantala > wrote: > > On 19.02.2018 20:59, Dmitry Vyukov wrote: > >> > >> On Sat, Feb 3, 2018 at 1:15 PM, Xin Long wrote: > > > > On 1/30/18 1:57 PM, David Ahern wrote: > >> > >>

Re: [PATCH 0/2] i2c: ismt: Fix length handling for SMBus block reads

2017-08-29 Thread Neil Horman
; audience. for-current (v4.13) might have been also applicable, but I > don't want to apply the patches there without the driver maintainer > acks. I hope this works for you. > Sorry, I've been on vacation, yes, the patches look good to me Acked-by: Neil Horman

Re: [PATCH 0/3] net-SCTP: Fine-tuning for six function implementations

2017-05-02 Thread Neil Horman
intf() calls by seq_putc() > Combine two seq_printf() calls into one call in sctp_remaddr_seq_show() > Replace four seq_printf() calls by seq_puts() > > net/sctp/proc.c | 39 --- > 1 file changed, 16 insertions(+), 23 deletions(-) > > -- > 2.12.2 > > Acked-by: Neil Horman

Re: [PATCH][next] sctp: make array sctp_sched_ops static

2017-10-11 Thread Neil Horman
t; +static struct sctp_sched_ops *sctp_sched_ops[] = { > &sctp_sched_fcfs, > &sctp_sched_prio, > &sctp_sched_rr, > -- > 2.14.1 > > Acked-by: Neil Horman

Re: [PATCH 7/8] sctp: use IS_ENABLED() instead of checking for built-in or module

2016-09-09 Thread Neil Horman
unsubscribe from this list: send the line "unsubscribe linux-sctp" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Acked-by: Neil Horman

Re: Observing Softlockup's while running heavy IOs

2016-09-12 Thread Neil Horman
On Mon, Sep 12, 2016 at 01:48:39PM +0530, Sreekanth Reddy wrote: > On Thu, Sep 8, 2016 at 7:09 PM, Neil Horman wrote: > > On Thu, Sep 08, 2016 at 11:12:40AM +0530, Sreekanth Reddy wrote: > >> On Wed, Sep 7, 2016 at 6:54 PM, Neil Horman wrote: > >> > On Wed, Se

Re: Observing Softlockup's while running heavy IOs

2016-09-06 Thread Neil Horman
On Tue, Sep 06, 2016 at 04:52:37PM +0530, Sreekanth Reddy wrote: > On Fri, Sep 2, 2016 at 4:34 AM, Bart Van Assche > wrote: > > On 09/01/2016 03:31 AM, Sreekanth Reddy wrote: > >> > >> I reduced the ISR workload by one third in-order to reduce the time > >> that is spent per CPU in interrupt conte

[tip:x86/urgent] x86/iommu/vt-d: Expand interrupt remapping quirk to cover x58 chipset

2013-07-23 Thread tip-bot for Neil Horman
Commit-ID: 803075dba31c17af110e1d9a915fe7262165b213 Gitweb: http://git.kernel.org/tip/803075dba31c17af110e1d9a915fe7262165b213 Author: Neil Horman AuthorDate: Wed, 17 Jul 2013 07:13:59 -0400 Committer: Ingo Molnar CommitDate: Tue, 23 Jul 2013 11:29:30 +0200 x86/iommu/vt-d: Expand

[tip:x86/iommu] x86: Adjust irq remapping quirk for older revisions of 5500/5520 chipsets

2014-03-19 Thread tip-bot for Neil Horman
Commit-ID: cbceb6904f9d99d068711903fc769b84cf036689 Gitweb: http://git.kernel.org/tip/cbceb6904f9d99d068711903fc769b84cf036689 Author: Neil Horman AuthorDate: Wed, 12 Mar 2014 14:44:33 -0400 Committer: Thomas Gleixner CommitDate: Wed, 19 Mar 2014 13:57:57 +0100 x86: Adjust irq

[tip:x86/iommu] x86: Adjust irq remapping quirk for older revisions of 5500/5520 chipsets

2014-03-31 Thread tip-bot for Neil Horman
Commit-ID: 6f8a1b335fde143b7407036e2368d3cd6eb55674 Gitweb: http://git.kernel.org/tip/6f8a1b335fde143b7407036e2368d3cd6eb55674 Author: Neil Horman AuthorDate: Wed, 12 Mar 2014 14:44:33 -0400 Committer: Thomas Gleixner CommitDate: Mon, 31 Mar 2014 22:07:01 +0200 x86: Adjust irq

[tip: x86/apic] x86/apic/vector: Warn when vector space exhaustion breaks affinity

2019-08-28 Thread tip-bot2 for Neil Horman
The following commit has been merged into the x86/apic branch of tip: Commit-ID: 743dac494d61d991967ebcfab92e4f80dc7583b3 Gitweb: https://git.kernel.org/tip/743dac494d61d991967ebcfab92e4f80dc7583b3 Author:Neil Horman AuthorDate:Thu, 22 Aug 2019 10:34:21 -04:00 Committer

<    2   3   4   5   6   7