Skip to content
Commit d4546c25 authored by David Miller's avatar David Miller Committed by David S. Miller
Browse files

net: Convert GRO SKB handling to list_head.



Manage pending per-NAPI GRO packets via list_head.

Return an SKB pointer from the GRO receive handlers.  When GRO receive
handlers return non-NULL, it means that this SKB needs to be completed
at this time and removed from the NAPI queue.

Several operations are greatly simplified by this transformation,
especially timing out the oldest SKB in the list when gro_count
exceeds MAX_GRO_SKBS, and napi_gro_flush() which walks the queue
in reverse order.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9ff3b40e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment