aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2023-10-03 18:19:20 +0000
committerJakub Kicinski <[email protected]>2023-10-04 17:32:24 -0700
commitd86e5fbd4c965fdda72f99ccd54a1031ea4df51d (patch)
treee0ee9a23128b71d61e4836e0ef1a524e0c48f26a /net/ipv4/tcp_input.c
parent397f70e3be01e2a62d08a12fa135d0f13fea9fb8 (diff)
net: skb_queue_purge_reason() optimizations
1) Exit early if the list is empty. 2) splice the list into a local list, so that we block hard irqs only once. Signed-off-by: Eric Dumazet <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions