You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I couldn't find an implementation of psock_update_sk_prot for MPTCP either upstream or in this repository, so I'm guessing that's the cause of the issue I'm seeing. I really have no idea what psock_update_sk_prot is supposed to do - I'm a user, not a Kernel developer, but I'd love to be able to add my MPTCP sockets to a socket map!
Curious if there are implementation challenges to doing this, or if this is simply a yet-unimplemented method.
The text was updated successfully, but these errors were encountered:
skeggse
changed the title
Implement psock_update_sk_prot for eBPF SOCKMAP support
Implement psock_update_sk_prot, for eBPF SOCKMAP support
Oct 14, 2024
It looks like it is an important missing feature, I guess nobody took the time to implement that. Do you have a small example on how to use this feature from the user space?
I'd like to "splice" TCP and MPTCP sockets together using an eBPF SOCKMAP in a
BPF_SK_SKB_STREAM_VERDICT
program.I managed to get a program compiled and loaded that did just that, but when running it I got an obscure errno 95 ("Operation not supported").
After some hunting, I found the following in the bpf syscall implementation:
mptcp_net-next/net/core/sock_map.c
Lines 573 to 576 in 6aac566
mptcp_net-next/net/core/sock_map.c
Lines 533 to 536 in 6aac566
I couldn't find an implementation of
psock_update_sk_prot
for MPTCP either upstream or in this repository, so I'm guessing that's the cause of the issue I'm seeing. I really have no idea whatpsock_update_sk_prot
is supposed to do - I'm a user, not a Kernel developer, but I'd love to be able to add my MPTCP sockets to a socket map!Curious if there are implementation challenges to doing this, or if this is simply a yet-unimplemented method.
The text was updated successfully, but these errors were encountered: