Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 55c9e5be authored by Sean Tranchetti's avatar Sean Tranchetti Committed by Gerrit - the friendly Code Review server
Browse files

net: qualcomm: rmnet: Segmentation cleanup



There is a lot of repeated code in the various segmentation functions.
Introduce and use a struct to hold various pieces of metadata we'll need
later on during the segmentation process like the lengths and positions of
headers. Passing this struct allows us to only compute various values once
instead of in every function, and cleans up the parameter lists.

Change-Id: I19d36701573c818ddbd8d3f8d1c1ace717712bec
Signed-off-by: default avatarSean Tranchetti <stranche@codeaurora.org>
parent 7bc951b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment