]> git.baikalelectronics.ru Git - 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)
committerJakub Kicinski <kuba@kernel.org>
Wed, 23 Feb 2022 03:43:04 +0000 (19:43 -0800)
commit96dab68f287f3ca60300c80c179ce5c3d75231c2
tree79056c3ccdf5d390d6ef1033af001d6978f0ca13
parente9f08c753e5cfaff03cc0a4ee21576666f6e9915
net: add skb_set_end_offset() helper

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>
include/linux/skbuff.h
net/core/skbuff.c