On 7/19/19 3:30 AM, Navid Emamdoost wrote:
> call to kzalloc may fail and return null. So the result should be checked
> against null. Added the check to cover kzalloc failure case.
>
> Signed-off-by: Navid Emamdoost
> ---
> net/sched/sch_gred.c | 3 +++
> 1 file changed, 3 insertions(+)
>
call to kzalloc may fail and return null. So the result should be checked
against null. Added the check to cover kzalloc failure case.
Signed-off-by: Navid Emamdoost
---
net/sched/sch_gred.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net/sched/sch_gred.c b/net/sched/sch_gred.c
index
2 matches
Mail list logo