Skip to content

net: allow setting congctl via routing table

Daniel Borkmann netdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 1 replyIn review
  2. v24 patches 2 repliesSuperseded
  3. v14 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- Added module auto-loading as suggested by David Miller, thanks!
- Added patch 2 for handling possible sleeps in fib6
- While working on this, we discovered a bug, hence fix in patch 1
- Added auto-loading to patch 4
- Rebased, retested, rest the same.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6net: fib6: fib6_commit_metrics: fix potential NULL pointer dereferencenet/ipv6/ip6_fib.c+6 -70 replies
2/6net: fib6: convert cfg metric to u32 outside of table write lockinclude/net/ip6_fib.h net/ipv6/ip6_fib.c net/ipv6/route.c+90 -460 replies
3/6net: tcp: refactor reinitialization of congestion controlnet/ipv4/tcp_cong.c+14 -100 replies
4/6net: tcp: add key management to congestion controlinclude/net/inet_connection_sock.h include/net/tcp.h net/ipv4/tcp_cong.c+91 -180 replies
5/6net: tcp: add RTAX_CC_ALGO fib handlinginclude/net/tcp.h include/uapi/linux/rtnetlink.h net/core/rtnetlink.c +4 more+54 -80 replies
6/6net: tcp: add per route congestion controlinclude/net/tcp.h net/ipv4/tcp_ipv4.c net/ipv4/tcp_minisocks.c +2 more+57 -40 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH net-next v3 0/6] net: allow setting congctl via routing table

This is the second part of our work and allows for setting the congestion control algorithm via routing table. For details, please see individual patches.

Since patch 1 is a bug fix, we suggest applying patch 1 to net, and then merging net into net-next, for example, and following up with the remaining feature patches wrt dependencies.

Joint work with Florian Westphal, suggested by Hannes Frederic Sowa.

Patch for iproute2 is available under [1], but will be reposted with along with the man-page update when this set hits net-next.

[1] http://patchwork.ozlabs.org/patch/418149/

Thanks!

v2 -> v3:
- Added module auto-loading as suggested by David Miller, thanks!
- Added patch 2 for handling possible sleeps in fib6
- While working on this, we discovered a bug, hence fix in patch 1
- Added auto-loading to patch 4
- Rebased, retested, rest the same.
v1 -> v2:
- Very sorry, I noticed I had decnet disabled during testing. Added missing header include in decnet, rest as is.

Daniel Borkmann (5):
net: fib6: fib6_commit_metrics: fix potential NULL pointer dereference
net: tcp: refactor reinitialization of congestion control
net: tcp: add key management to congestion control
net: tcp: add RTAX_CC_ALGO fib handling
net: tcp: add per route congestion control

Florian Westphal (1):
net: fib6: convert cfg metric to u32 outside of table write lock

 include/net/inet_connection_sock.h |   3 +-
 include/net/ip6_fib.h              |  10 ++-
 include/net/tcp.h                  |  22 ++++++-
 include/uapi/linux/rtnetlink.h     |   2 +
 net/core/rtnetlink.c               |  15 ++++-
 net/decnet/dn_fib.c                |   3 +-
 net/decnet/dn_table.c              |   4 +-
 net/ipv4/fib_semantics.c           |  14 ++++-
 net/ipv4/tcp_cong.c                | 121 +++++++++++++++++++++++++++++--------
 net/ipv4/tcp_ipv4.c                |   2 +
 net/ipv4/tcp_minisocks.c           |  30 +++++++--
 net/ipv4/tcp_output.c              |  21 +++++++
 net/ipv6/ip6_fib.c                 |  68 +++++++++++----------
 net/ipv6/route.c                   |  72 ++++++++++++++++++----
 net/ipv6/tcp_ipv6.c                |   2 +
 15 files changed, 304 insertions(+), 85 deletions(-)
Signature · 1 line
1.7.11.7