diff options
author | Shannon Nelson <[email protected]> | 2024-03-06 15:29:53 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-03-08 11:54:34 +0000 |
commit | 36a47c906b23240b3d7fd0cc3f36d511d5b36700 (patch) | |
tree | b913cbade0b722e8afd9642bdd21cec2715683a1 /lib | |
parent | 8599bd4cf30f0e32954ae3915f65db05a0c3d5ea (diff) |
ionic: refactor skb building
The existing ionic_rx_frags() code is a bit of a mess and can
be cleaned up by unrolling the first frag/header setup from
the loop, then reworking the do-while-loop into a for-loop. We
rename the function to a more descriptive ionic_rx_build_skb().
We also change a couple of related variable names for readability.
Reviewed-by: Brett Creeley <[email protected]>
Signed-off-by: Shannon Nelson <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions