Skip to content

Commit 6813b19

Browse files
matttbekuba-moo
authored andcommitted
mptcp: add missing documented NL params
'loc_id' and 'rem_id' are set in all events linked to subflows but those were missing in the events description in the comments. Fixes: b911c97 ("mptcp: add netlink event support") Signed-off-by: Matthieu Baerts <[email protected]> Signed-off-by: Mat Martineau <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 3d79e37 commit 6813b19

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

include/uapi/linux/mptcp.h

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -136,19 +136,21 @@ struct mptcp_info {
136136
* MPTCP_EVENT_REMOVED: token, rem_id
137137
* An address has been lost by the peer.
138138
*
139-
* MPTCP_EVENT_SUB_ESTABLISHED: token, family, saddr4 | saddr6,
140-
* daddr4 | daddr6, sport, dport, backup,
141-
* if_idx [, error]
139+
* MPTCP_EVENT_SUB_ESTABLISHED: token, family, loc_id, rem_id,
140+
* saddr4 | saddr6, daddr4 | daddr6, sport,
141+
* dport, backup, if_idx [, error]
142142
* A new subflow has been established. 'error' should not be set.
143143
*
144-
* MPTCP_EVENT_SUB_CLOSED: token, family, saddr4 | saddr6, daddr4 | daddr6,
145-
* sport, dport, backup, if_idx [, error]
144+
* MPTCP_EVENT_SUB_CLOSED: token, family, loc_id, rem_id, saddr4 | saddr6,
145+
* daddr4 | daddr6, sport, dport, backup, if_idx
146+
* [, error]
146147
* A subflow has been closed. An error (copy of sk_err) could be set if an
147148
* error has been detected for this subflow.
148149
*
149-
* MPTCP_EVENT_SUB_PRIORITY: token, family, saddr4 | saddr6, daddr4 | daddr6,
150-
* sport, dport, backup, if_idx [, error]
151-
* The priority of a subflow has changed. 'error' should not be set.
150+
* MPTCP_EVENT_SUB_PRIORITY: token, family, loc_id, rem_id, saddr4 | saddr6,
151+
* daddr4 | daddr6, sport, dport, backup, if_idx
152+
* [, error]
153+
* The priority of a subflow has changed. 'error' should not be set.
152154
*/
153155
enum mptcp_event_type {
154156
MPTCP_EVENT_UNSPEC = 0,

0 commit comments

Comments
 (0)