]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net: add skb_set_end_offset() helper
authorEric Dumazet <edumazet@google.com>
Tue, 22 Feb 2022 03:21:12 +0000 (19:21 -0800)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 27 Apr 2022 09:58:53 +0000 (11:58 +0200)
commit2af25930d210d1e4184c623e324ad9a86a8478d9
treecb4825314ab68882f7bb47924731817c5adf7a72
parent725c55b7e5b69ca883182b83afc9447acca70b72
net: add skb_set_end_offset() helper

BugLink: https://bugs.launchpad.net/bugs/1969110
commit 763087dab97547230a6807c865a6a5ae53a59247 upstream.

We have multiple places where this helper is convenient,
and plan using it in the following patch.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 51e458fc0ca63a0a8e8946dfad19535ae7bb2772)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
include/linux/skbuff.h
net/core/skbuff.c