aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorJuergen Gross <[email protected]>2023-04-03 11:27:11 +0200
committerJuergen Gross <[email protected]>2023-04-24 07:27:10 +0200
commitc66bb48edd58c3a22072b4f68312c225dc1b0009 (patch)
treebdf399e704069f895a23d42c28ba5ab080bce55b /lib/test_fortify/write_overflow-strlcpy-src.c
parentb2c042cc802fe96d431821bf1cf2f0f04a3eda7d (diff)
xen/pvcalls: don't call bind_evtchn_to_irqhandler() under lock
bind_evtchn_to_irqhandler() shouldn't be called under spinlock, as it can sleep. This requires to move the calls of create_active() out of the locked regions. This is no problem, as the worst which could happen would be a spurious call of the interrupt handler, causing a spurious wake_up(). Reported-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/lkml/Y+JUIl64UDmdkboh@kadam/ Signed-off-by: Juergen Gross <[email protected]> Reviewed-by: Oleksandr Tyshchenko <[email protected]> Reviewed-by: Stefano Stabellini <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions