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)
commit763087dab97547230a6807c865a6a5ae53a59247
tree79056c3ccdf5d390d6ef1033af001d6978f0ca13
parent0ebea8f9b81cc02bbef2ec720a4c19e841c03217
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