lkml.org 
[lkml]   [2020]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net/802/mrp: disconnect on uninit
From
From: Dan Carpenter <dan.carpenter@oracle.com>
Date: Wed, 22 Jan 2020 10:26:04 +0300

> [ I was investigating this bug and I sort of got carried away and wrote
> a patch. I'm going to see if I can find a test system to start
> testing these patches then I will resend the patch. - dan ]
>
> Syzbot discovered that mrp_attr attr structs are being leaked. They're
> supposed to be freed by mrp_attr_destroy() which is called from
> mrp_attr_event().
>
> I think that when we close everything down, we're supposed to send one
> last disconnect event but the code for that wasn't fully implemented.
>
> Reported-by: syzbot+5cfab121b54dff775399@syzkaller.appspotmail.com
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
> ---
> Not tested. Idea only.

Yes, please resend this when it is tested, somehow, by someone :-)

\
 
 \ /
  Last update: 2020-01-27 10:47    [W:0.343 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site