net: kcm: fix direct access to bv_len
authorMina Almasry <almasrymina@google.com>
Tue, 2 Jan 2024 20:59:58 +0000 (12:59 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Feb 2024 20:14:25 +0000 (20:14 +0000)
commit45d201c4335bc7d144a5b5090922da9f2120a2e9
tree56c8b4c84cdb94e3313f1a7aea58e596251d3902
parent225b254911ef2e800fe25e4bcb9fecdb693ab66b
net: kcm: fix direct access to bv_len

[ Upstream commit b15a4cfe100b9acd097d3ae7052448bd1cdc2a3b ]

Minor fix for kcm: code wanting to access the fields inside an skb
frag should use the skb_frag_*() helpers, instead of accessing the
fields directly.

Signed-off-by: Mina Almasry <almasrymina@google.com>
Link: https://lore.kernel.org/r/20240102205959.794513-1-almasrymina@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/kcm/kcmsock.c