]> www.infradead.org Git - users/willy/xarray.git/commit
net: skb: add compatibility warnings to skb_shift()
authorJakub Kicinski <kuba@kernel.org>
Thu, 30 May 2024 23:36:16 +0000 (16:36 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 4 Jun 2024 11:23:30 +0000 (13:23 +0200)
commit99b8add01f98a8ecf498de1467e8bf13dbf02daa
treeaeb134a7f8d387285bb7b9c541a070966a92f5b9
parent1be68a87ab333af37b02ad928a724a722a5a8203
net: skb: add compatibility warnings to skb_shift()

According to current semantics we should never try to shift data
between skbs which differ on decrypted or pp_recycle status.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/core/skbuff.c