Skip to content
Commit 96b1d399 authored by Cong Wang's avatar Cong Wang Committed by Greg Kroah-Hartman
Browse files

skmsg: Pass source psock to sk_psock_skb_redirect()



[ Upstream commit 42830571 ]

sk_psock_skb_redirect() only takes skb as a parameter, we
will need to know where this skb is from, so just pass
the source psock to this function as a new parameter.
This patch prepares for the next one.

Signed-off-by: default avatarCong Wang <cong.wang@bytedance.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Acked-by: default avatarJohn Fastabend <john.fastabend@gmail.com>
Acked-by: default avatarJakub Sitnicki <jakub@cloudflare.com>
Link: https://lore.kernel.org/bpf/20210615021342.7416-8-xiyou.wangcong@gmail.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b82ffbf5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment