diff options
| author | Colin Ian King <[email protected]> | 2021-07-12 14:37:50 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-07-12 18:26:28 +0000 |
| commit | 71ce9d92fc7089f287c3e95a981bdec7545a8588 (patch) | |
| tree | ce2372cf64209e40989a12aab9d40944e5a078fa /net/unix/diag.c | |
| parent | ipv6: allocate enough headroom in ip6_finish_output2() (diff) | |
| download | kernel-71ce9d92fc7089f287c3e95a981bdec7545a8588.tar.gz kernel-71ce9d92fc7089f287c3e95a981bdec7545a8588.zip | |
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: 68fbff68dbea ("octeontx2-pf: Add police action for TC flower")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/diag.c')
0 files changed, 0 insertions, 0 deletions
