Messages in this thread | | | Date | Fri, 04 May 2018 13:12:54 -0400 (EDT) | Subject | Re: [PATCH] net: sched: cls: fix a potential missing-check bug | From | David Miller <> |
| |
From: Wenwen Wang <wang6495@umn.edu> Date: Fri, 4 May 2018 02:05:05 -0500
> Given that gen_tunnel() may return a value larger than 255 based on > data, the new value of f->res.classid should be re-checked.
gen_tunnel() may not ever return a value larger than 255.
data->tgenerator is a u8 and therefore can never take on a value outside of the range of 0 to 255.
I'm not applying this patch, sorry.
| |