aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSabrina Dubroca <[email protected]>2022-11-02 22:33:15 +0100
committerDavid S. Miller <[email protected]>2022-11-04 10:43:56 +0000
commit80df4706357a5a06bbbc70273bf2611df1ceee04 (patch)
tree6acbb17cae9d4a447bca2902524d1dde987b01e1 /tools/perf/scripts/python/stackcollapse.py
parent73a4b31c9d11f98ae3bc5286d5382930adb0e9c7 (diff)
macsec: fix detection of RXSCs when toggling offloading
macsec_is_configured incorrectly uses secy->n_rx_sc to check if some RXSCs exist. secy->n_rx_sc only counts the number of active RXSCs, but there can also be inactive SCs as well, which may be stored in the driver (in case we're disabling offloading), or would have to be pushed to the device (in case we're trying to enable offloading). As long as RXSCs active on creation and never turned off, the issue is not visible. Fixes: dcb780fb2795 ("net: macsec: add nla support for changing the offloading selection") Signed-off-by: Sabrina Dubroca <[email protected]> Reviewed-by: Antoine Tenart <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions