]> 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>
Fri, 20 May 2022 12:40:20 +0000 (14:40 +0200)
commit704d34ae3a92fec875a48b4a43aa20e0b64a1b4b
tree2109c758d22a1d5ef0148a515147b54c111af265
parent6c2b55a15d2b8eb81f4b210c7065508f2d421c24
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