[lkml]   [2020]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: memory leak in tcindex_set_parms
On Tue, Feb 4, 2020 at 3:40 PM Eric Dumazet <> wrote:
> The only thing the repro fires for me on latest net tree is an UBSAN warning about a silly ->shift

Yeah, I thought HEAD commit 322bf2d3 already contains my fix,
I was wrong.

> I have not tried it on the old kernel.
> [ 170.331009] UBSAN: Undefined behaviour in net/sched/cls_tcindex.c:239:29
> [ 170.337729] shift exponent 19375 is too large for 32-bit type 'int'

Please send your patch formally, it looks reasonable to me.


 \ /
  Last update: 2020-02-05 01:43    [W:0.023 / U:21.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site