netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next 0/5] clean up SOCK_DEBUG()
@ 2019-02-15 14:49 Yafang Shao
  2019-02-15 14:49 ` [net-next 1/5] tcp: " Yafang Shao
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Yafang Shao @ 2019-02-15 14:49 UTC (permalink / raw)
  To: davem; +Cc: daniel, edumazet, netdev, shaoyafang, Yafang Shao

Per discussion with Daniel[1] and Eric[2], the SOCK_DEBUG() is a very
ancient interface, which is not very useful for debugging.
So we'd better clean up it.

After this patchset, the SO_DEBUG interface will not take any effect,
but I still keep it as-is in sock_{s,g}etsockopt() to avoid breaking
applications.

[1] https://patchwork.ozlabs.org/patch/1035573/
[2] https://patchwork.ozlabs.org/patch/1040533

Yafang Shao (5):
  tcp: clean up SOCK_DEBUG()
  x25: clean up SOCK_DEBUG()
  appletalk: clean up SOCK_DEBUG()
  dccp: clean up SOCK_DEBUG()
  net: sock: remove the definition of SOCK_DEBUG()

 include/net/sock.h       | 19 -------------------
 net/appletalk/ddp.c      | 14 --------------
 net/core/sock.c          |  3 +++
 net/dccp/ipv6.c          |  2 --
 net/ipv4/tcp_input.c     | 19 +------------------
 net/ipv6/tcp_ipv6.c      |  2 --
 net/x25/af_x25.c         | 12 ------------
 net/x25/x25_facilities.c | 32 ++++++++++----------------------
 net/x25/x25_out.c        |  4 +---
 9 files changed, 15 insertions(+), 92 deletions(-)

-- 
1.8.3.1


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

end of thread, other threads:[~2019-02-16  2:51 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-15 14:49 [net-next 0/5] clean up SOCK_DEBUG() Yafang Shao
2019-02-15 14:49 ` [net-next 1/5] tcp: " Yafang Shao
2019-02-15 14:49 ` [net-next 2/5] x25: " Yafang Shao
2019-02-15 14:49 ` [net-next 3/5] appletalk: " Yafang Shao
2019-02-15 14:49 ` [net-next 4/5] dccp: " Yafang Shao
2019-02-15 14:49 ` [net-next 5/5] net: sock: remove the definition of SOCK_DEBUG() Yafang Shao
2019-02-15 14:58   ` Eric Dumazet
2019-02-15 15:41     ` Yafang Shao
2019-02-15 15:54       ` Eric Dumazet
2019-02-15 18:12     ` Cong Wang
2019-02-15 18:22       ` Eric Dumazet
2019-02-15 18:51         ` Joe Perches
2019-02-16  2:50           ` Yafang Shao

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).