netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/1] tcp: constify congestion_ops
@ 2017-08-02  2:49 Stephen Hemminger
  2017-08-02  2:49 ` [RFC 1/1] constify tcp congestion Stephen Hemminger
  2017-08-02  6:00 ` [RFC 0/1] tcp: constify congestion_ops Florian Westphal
  0 siblings, 2 replies; 6+ messages in thread
From: Stephen Hemminger @ 2017-08-02  2:49 UTC (permalink / raw)
  To: netdev; +Cc: Stephen Hemminger

This is a proposed method of making TCP congestion_ops structure const.

I wonder if restricting congestion control choices is still necessary?
It seems like being overly paranoid, and better enforced by having a more
limited kernel config, seccomp or other mechanism.

Stephen Hemminger (1):
  constify tcp congestion

 include/net/tcp.h        |  10 ++-
 net/ipv4/tcp.c           |   2 -
 net/ipv4/tcp_bbr.c       |   2 +-
 net/ipv4/tcp_bic.c       |   2 +-
 net/ipv4/tcp_cdg.c       |   2 +-
 net/ipv4/tcp_cong.c      | 162 +++++++++++++++++++++++++++++------------------
 net/ipv4/tcp_cubic.c     |   2 +-
 net/ipv4/tcp_dctcp.c     |   6 +-
 net/ipv4/tcp_highspeed.c |   2 +-
 net/ipv4/tcp_htcp.c      |   2 +-
 net/ipv4/tcp_hybla.c     |   2 +-
 net/ipv4/tcp_illinois.c  |   2 +-
 net/ipv4/tcp_lp.c        |   2 +-
 net/ipv4/tcp_nv.c        |   2 +-
 net/ipv4/tcp_scalable.c  |   2 +-
 net/ipv4/tcp_vegas.c     |   2 +-
 net/ipv4/tcp_veno.c      |   2 +-
 net/ipv4/tcp_westwood.c  |   2 +-
 net/ipv4/tcp_yeah.c      |   2 +-
 19 files changed, 124 insertions(+), 86 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-08-08 15:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-02  2:49 [RFC 0/1] tcp: constify congestion_ops Stephen Hemminger
2017-08-02  2:49 ` [RFC 1/1] constify tcp congestion Stephen Hemminger
2017-08-02  7:56   ` Eric Dumazet
2017-08-02  8:13     ` Eric Dumazet
2017-08-08 15:18       ` Stephen Hemminger
2017-08-02  6:00 ` [RFC 0/1] tcp: constify congestion_ops Florian Westphal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).