diff options
author | Eric Dumazet <[email protected]> | 2023-04-21 09:43:54 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-04-23 13:35:07 +0100 |
commit | 931e93bdf8ca71cef1f8759c43bc2c5385392b8b (patch) | |
tree | a75f366dac74b28ef860605937bbc15caabfe971 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | e8e1ce8454c9cc8ad2e4422bef346428e52455e3 (diff) |
net: do not provide hard irq safety for sd->defer_lock
kfree_skb() can be called from hard irq handlers,
but skb_attempt_defer_free() is meant to be used
from process or BH contexts, and skb_defer_free_flush()
is meant to be called from BH contexts.
Not having to mask hard irq can save some cycles.
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions