diff options
| author | Eric Dumazet <[email protected]> | 2025-02-04 14:48:25 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-02-06 02:19:54 +0000 |
| commit | cbe08724c18078564abefbf6591078a7c98e5e0f (patch) | |
| tree | 11ca74131271358677628c7cd23afb29ad8ad32f /drivers/fpga/altera-fpga2sdram.c | |
| parent | s390/net: Remove LCS driver (diff) | |
| download | kernel-cbe08724c18078564abefbf6591078a7c98e5e0f.tar.gz kernel-cbe08724c18078564abefbf6591078a7c98e5e0f.zip | |
net: flush_backlog() small changes
Add READ_ONCE() around reads of skb->dev->reg_state, because
this field can be changed from other threads/cpus.
Instead of calling dev_kfree_skb_irq() and kfree_skb()
while interrupts are masked and locks held,
use a temporary list and use __skb_queue_purge_reason()
Use SKB_DROP_REASON_DEV_READY drop reason to better
describe why these skbs are dropped.
Signed-off-by: Eric Dumazet <[email protected]>
Reviewed-by: Jason Xing <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions
