[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201512150124.LFXAGO2U%fengguang.wu@intel.com>
Date: Tue, 15 Dec 2015 01:51:02 +0800
From: kbuild test robot <lkp@...el.com>
To: Lorenzo Colitti <lorenzo@...gle.com>
Cc: kbuild-all@...org, netdev@...r.kernel.org, davem@...emloft.net,
hannes@...essinduktion.org, eric.dumazet@...il.com, ek@...gle.com,
tom@...bertland.com, zenczykowski@...il.com,
Lorenzo Colitti <lorenzo@...gle.com>
Subject: Re: [PATCH v5 4/4] net: diag: Support destroying TCP sockets.
Hi Lorenzo,
[auto build test WARNING on net/master]
[also build test WARNING on v4.4-rc5]
[cannot apply to next-20151214]
url: https://github.com/0day-ci/linux/commits/Lorenzo-Colitti/net-diag-Add-the-ability-to-destroy-a-socket/20151215-013254
config: x86_64-randconfig-x013-12141150 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
In file included from net/ipv4/route.c:103:0:
>> include/net/tcp.h:1173:5: warning: "CONFIG_INET_DIAG_DESTROY" is not defined [-Wundef]
#if CONFIG_INET_DIAG_DESTROY
^
In file included from net/ipv4/route.c:103:0:
>> include/net/tcp.h:1173:5: warning: "CONFIG_INET_DIAG_DESTROY" is not defined [-Wundef]
#if CONFIG_INET_DIAG_DESTROY
^
--
In file included from net/ipv4/ip_forward.c:31:0:
>> include/net/tcp.h:1173:5: warning: "CONFIG_INET_DIAG_DESTROY" is not defined [-Wundef]
#if CONFIG_INET_DIAG_DESTROY
^
vim +/CONFIG_INET_DIAG_DESTROY +1173 include/net/tcp.h
1157
1158 bool tcp_prequeue(struct sock *sk, struct sk_buff *skb);
1159
1160 #undef STATE_TRACE
1161
1162 #ifdef STATE_TRACE
1163 static const char *statename[]={
1164 "Unused","Established","Syn Sent","Syn Recv",
1165 "Fin Wait 1","Fin Wait 2","Time Wait", "Close",
1166 "Close Wait","Last ACK","Listen","Closing"
1167 };
1168 #endif
1169 void tcp_set_state(struct sock *sk, int state);
1170
1171 void tcp_done(struct sock *sk);
1172
> 1173 #if CONFIG_INET_DIAG_DESTROY
1174 int tcp_abort(struct sock *sk);
1175 #endif
1176
1177 static inline void tcp_sack_reset(struct tcp_options_received *rx_opt)
1178 {
1179 rx_opt->dsack = 0;
1180 rx_opt->num_sacks = 0;
1181 }
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (28096 bytes)
Powered by blists - more mailing lists