aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorYoshihiro Shimoda <[email protected]>2023-09-12 10:49:36 +0900
committerPaolo Abeni <[email protected]>2023-09-14 10:26:41 +0200
commitc4f922e86c8e0f7c5fe94e0547e9835fc9711f08 (patch)
tree3ca8ecc2d5958742f08623dec337a479a4019e2f /lib/test_fortify/write_overflow-strncpy-src.c
parente7b1ef29420fe52c2c1a273a9b4b36103a522625 (diff)
net: renesas: rswitch: Add spin lock protection for irq {un}mask
Add spin lock protection for irq {un}mask registers' control. After napi_complete_done() and this protection were applied, a lot of redundant interrupts no longer occur. For example: when "iperf3 -c <ipaddr> -R" on R-Car S4-8 Spider Before the patches are applied: about 800,000 times happened After the patches were applied: about 100,000 times happened Fixes: 3590918b5d07 ("net: ethernet: renesas: Add support for "Ethernet Switch"") Signed-off-by: Yoshihiro Shimoda <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions