aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/altera-fpga2sdram.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2025-02-04 14:48:25 +0000
committerJakub Kicinski <[email protected]>2025-02-06 02:19:54 +0000
commitcbe08724c18078564abefbf6591078a7c98e5e0f (patch)
tree11ca74131271358677628c7cd23afb29ad8ad32f /drivers/fpga/altera-fpga2sdram.c
parents390/net: Remove LCS driver (diff)
downloadkernel-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