mptcp_net-next icon indicating copy to clipboard operation
mptcp_net-next copied to clipboard

notify the application (userspace) when a subflow is added/removed

Open matttbe opened this issue 4 years ago • 2 comments

Maybe using cmsg?

A userspace app would get a poll notification when something has changed with a socket (fd) it owns. If needed, another syscall could be used to retrieve the current status.

matttbe avatar Aug 07 '20 21:08 matttbe

@matttbe @fw-strlen Could Florian's commit "mptcp: add netlink event support" close this issue?

geliangtang avatar Mar 04 '21 12:03 geliangtang

@geliangtang no, this is different I think.

Clearly, we are lacking some description here but if I remember well, the idea was to get a notification via the fd without having to subscribe to events of all connections. The userspace could get a poll notification when something subflows are added or removed and it could then get the status with another request (e.g. a new getsockopt)

matttbe avatar Mar 04 '21 14:03 matttbe