Per discussion with Daniel[1] and Eric[2], these SOCK_DEBUG() calles in TCP are not needed now. We'd better clean up it.
Plus undefine SOCK_DEBUGGING by default. [1] https://patchwork.ozlabs.org/patch/1035573/ [2] https://patchwork.ozlabs.org/patch/1040533/ Yafang Shao (2): tcp: clean up SOCK_DEBUG() net: sock: undefine SOCK_DEBUGGING include/net/sock.h | 13 ++++++++----- net/core/sock.c | 3 +++ net/ipv4/tcp_input.c | 19 +------------------ net/ipv6/tcp_ipv6.c | 2 -- 4 files changed, 12 insertions(+), 25 deletions(-) -- 1.8.3.1