aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorRichard Gobert <[email protected]>2022-06-22 16:09:03 +0000
committerJakub Kicinski <[email protected]>2022-06-24 23:24:38 +0000
commitede57d58e6f38d5bc66137368e4a1e68a157af6e (patch)
tree9a412c4d1bbf5865189ee1eba9e926ea3749561e /net/unix/sysctl_net_unix.c
parenttc-testing: gitignore, delete plugins directory (diff)
downloadkernel-ede57d58e6f38d5bc66137368e4a1e68a157af6e.tar.gz
kernel-ede57d58e6f38d5bc66137368e4a1e68a157af6e.zip
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: Richard Gobert <[email protected]> Link: https://lore.kernel.org/r/20220622160853.GA6478@debian Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions