Skip to content

RFC mptcp: cleanup token code

Florian Westphal mptcp 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest10 patches 5 repliesIn review
  2. v1 RFC10 patches 15 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10mptcp: token: remove token_initnet/mptcp/protocol.c net/mptcp/protocol.h net/mptcp/token.c+6 -130 replies
2/10mptcp: token: remove two unneeded helpersnet/mptcp/pm.c net/mptcp/protocol.h net/mptcp/subflow.c +1 more+27 -480 replies
3/10mptcp: token: rename token_join_responsenet/mptcp/protocol.h net/mptcp/subflow.c net/mptcp/token.c+30 -363 replies
4/10mptcp: token: remove token_join_validnet/mptcp/protocol.h net/mptcp/subflow.c net/mptcp/token.c+28 -390 replies
5/10mptcp: token: remove token_join_requestnet/mptcp/protocol.h net/mptcp/subflow.c net/mptcp/token.c+33 -460 replies
6/10mptcp: token: fold helpers into token connect/request functionsnet/mptcp/protocol.h net/mptcp/subflow.c net/mptcp/token.c+78 -670 replies
7/10mptcp: token: fold update_token into its callernet/mptcp/protocol.c net/mptcp/protocol.h net/mptcp/token.c+20 -220 replies
8/10mptcp: token: add error handling for token_new_acceptnet/mptcp/protocol.h net/mptcp/subflow.c net/mptcp/token.c+18 -180 replies
9/10mptcp: token: rename the destroy_token helpersnet/mptcp/protocol.c net/mptcp/protocol.h net/mptcp/subflow.c +1 more+26 -380 replies
10/10mptcp: token: rename token_releasenet/mptcp/protocol.h net/mptcp/subflow.c net/mptcp/token.c+11 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [MPTCP] [RFC v2 00/10] mptcp: cleanup token code

This series again marked RFC so noone bothers to squash all of this into the mptcp tree.

In this second round, I've addressed all comments from Matthieu and Peter. As a result, even more code was pruned from token.c and placed as static helper in subflow.c.

I've added a 'v2' mini-changelog to all affected patches.

 pm.c       |    6 
 protocol.c |    5 
 protocol.h |   23 +--
 subflow.c  |  152 +++++++++++++++++++--
 token.c    |  426 +++++++++++++++++++------------------------------------------
 5 files changed, 277 insertions(+), 333 deletions(-)