Skip to content
Commit ede57d58 authored by Richard Gobert's avatar Richard Gobert Committed by Jakub Kicinski
Browse files

net: helper function skb_len_add



Move the len fields manipulation in the skbs to a helper function.
There is a comment specifically requesting this and there are several
other areas in the code displaying the same pattern which can be
refactored.
This improves code readability.

Signed-off-by: default avatarRichard Gobert <richardbgobert@gmail.com>
Link: https://lore.kernel.org/r/20220622160853.GA6478@debian
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 1da9e274
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