[PATCH 5.4 058/111] sch_red: fix off-by-one checks in red_check_params()