Files
linux/drivers
Colin Ian King 71ce9d92fc octeontx2-pf: Fix uninitialized boolean variable pps
In the case where act->id is FLOW_ACTION_POLICE and also
act->police.rate_bytes_ps > 0 or act->police.rate_pkt_ps is not > 0
the boolean variable pps contains an uninitialized value when
function otx2_tc_act_set_police is called. Fix this by initializing
pps to false.

Addresses-Coverity: ("Uninitialized scalar variable)"
Fixes: 68fbff68db ("octeontx2-pf: Add police action for TC flower")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-07-12 11:26:28 -07:00
..
2021-06-24 18:49:01 -06:00
2021-04-18 09:36:56 +03:00
2021-06-11 11:53:03 -06:00
2021-06-29 10:53:48 -07:00
2021-06-01 16:44:09 +01:00
2021-06-16 08:53:58 -06:00