[vfs:base.set_fs 14/14] net/sctp/socket.c:7793:12: warning: stack frame size of 1040 bytes in function 'sctp_getsockopt'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git base.set_fs
head:   5d6382ce08928178bb36704a743534fdcc28044e
commit: 5d6382ce08928178bb36704a743534fdcc28044e [14/14] powerpc: remove address space overrides using set_fs()
config: powerpc64-randconfig-r003-20200904 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 781a43840863b85603a710857691a9b5032b0c27)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install powerpc64 cross compiling tool for clang build
        # apt-get install binutils-powerpc64-linux-gnu
        git checkout 5d6382ce08928178bb36704a743534fdcc28044e
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> net/sctp/socket.c:7793:12: warning: stack frame size of 1040 bytes in function 'sctp_getsockopt' [-Wframe-larger-than=]
   static int sctp_getsockopt(struct sock *sk, int level, int optname,
              ^
   1 warning generated.

# https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git/commit/?id=5d6382ce08928178bb36704a743534fdcc28044e
git remote add vfs https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git
git fetch --no-tags vfs base.set_fs
git checkout 5d6382ce08928178bb36704a743534fdcc28044e
vim +/sctp_getsockopt +7793 net/sctp/socket.c

8d2a6935d842f1 Xin Long                2019-11-08  7792  
dda9192851dcf9 Daniel Borkmann         2013-06-17 @7793  static int sctp_getsockopt(struct sock *sk, int level, int optname,
^1da177e4c3f41 Linus Torvalds          2005-04-16  7794  			   char __user *optval, int __user *optlen)
^1da177e4c3f41 Linus Torvalds          2005-04-16  7795  {
^1da177e4c3f41 Linus Torvalds          2005-04-16  7796  	int retval = 0;
^1da177e4c3f41 Linus Torvalds          2005-04-16  7797  	int len;
^1da177e4c3f41 Linus Torvalds          2005-04-16  7798  
bb33381d0c97cd Daniel Borkmann         2013-06-28  7799  	pr_debug("%s: sk:%p, optname:%d\n", __func__, sk, optname);
^1da177e4c3f41 Linus Torvalds          2005-04-16  7800  
^1da177e4c3f41 Linus Torvalds          2005-04-16  7801  	/* I can hardly begin to describe how wrong this is.  This is
^1da177e4c3f41 Linus Torvalds          2005-04-16  7802  	 * so broken as to be worse than useless.  The API draft
^1da177e4c3f41 Linus Torvalds          2005-04-16  7803  	 * REALLY is NOT helpful here...  I am not convinced that the
^1da177e4c3f41 Linus Torvalds          2005-04-16  7804  	 * semantics of getsockopt() with a level OTHER THAN SOL_SCTP
^1da177e4c3f41 Linus Torvalds          2005-04-16  7805  	 * are at all well-founded.
^1da177e4c3f41 Linus Torvalds          2005-04-16  7806  	 */
^1da177e4c3f41 Linus Torvalds          2005-04-16  7807  	if (level != SOL_SCTP) {
^1da177e4c3f41 Linus Torvalds          2005-04-16  7808  		struct sctp_af *af = sctp_sk(sk)->pf->af;
^1da177e4c3f41 Linus Torvalds          2005-04-16  7809  
^1da177e4c3f41 Linus Torvalds          2005-04-16  7810  		retval = af->getsockopt(sk, level, optname, optval, optlen);
^1da177e4c3f41 Linus Torvalds          2005-04-16  7811  		return retval;
^1da177e4c3f41 Linus Torvalds          2005-04-16  7812  	}
^1da177e4c3f41 Linus Torvalds          2005-04-16  7813  
^1da177e4c3f41 Linus Torvalds          2005-04-16  7814  	if (get_user(len, optlen))
^1da177e4c3f41 Linus Torvalds          2005-04-16  7815  		return -EFAULT;
^1da177e4c3f41 Linus Torvalds          2005-04-16  7816  
a4b8e71b05c27b Jiri Slaby              2016-10-21  7817  	if (len < 0)
a4b8e71b05c27b Jiri Slaby              2016-10-21  7818  		return -EINVAL;
a4b8e71b05c27b Jiri Slaby              2016-10-21  7819  
048ed4b6266144 wangweidong             2014-01-21  7820  	lock_sock(sk);
^1da177e4c3f41 Linus Torvalds          2005-04-16  7821  
^1da177e4c3f41 Linus Torvalds          2005-04-16  7822  	switch (optname) {
^1da177e4c3f41 Linus Torvalds          2005-04-16  7823  	case SCTP_STATUS:
^1da177e4c3f41 Linus Torvalds          2005-04-16  7824  		retval = sctp_getsockopt_sctp_status(sk, len, optval, optlen);
^1da177e4c3f41 Linus Torvalds          2005-04-16  7825  		break;
^1da177e4c3f41 Linus Torvalds          2005-04-16  7826  	case SCTP_DISABLE_FRAGMENTS:
^1da177e4c3f41 Linus Torvalds          2005-04-16  7827  		retval = sctp_getsockopt_disable_fragments(sk, len, optval,
^1da177e4c3f41 Linus Torvalds          2005-04-16  7828  							   optlen);
^1da177e4c3f41 Linus Torvalds          2005-04-16  7829  		break;
^1da177e4c3f41 Linus Torvalds          2005-04-16  7830  	case SCTP_EVENTS:
^1da177e4c3f41 Linus Torvalds          2005-04-16  7831  		retval = sctp_getsockopt_events(sk, len, optval, optlen);
^1da177e4c3f41 Linus Torvalds          2005-04-16  7832  		break;
^1da177e4c3f41 Linus Torvalds          2005-04-16  7833  	case SCTP_AUTOCLOSE:
^1da177e4c3f41 Linus Torvalds          2005-04-16  7834  		retval = sctp_getsockopt_autoclose(sk, len, optval, optlen);
^1da177e4c3f41 Linus Torvalds          2005-04-16  7835  		break;
^1da177e4c3f41 Linus Torvalds          2005-04-16  7836  	case SCTP_SOCKOPT_PEELOFF:
^1da177e4c3f41 Linus Torvalds          2005-04-16  7837  		retval = sctp_getsockopt_peeloff(sk, len, optval, optlen);
^1da177e4c3f41 Linus Torvalds          2005-04-16  7838  		break;
2cb5c8e378d10a Neil Horman             2017-06-30  7839  	case SCTP_SOCKOPT_PEELOFF_FLAGS:
2cb5c8e378d10a Neil Horman             2017-06-30  7840  		retval = sctp_getsockopt_peeloff_flags(sk, len, optval, optlen);
2cb5c8e378d10a Neil Horman             2017-06-30  7841  		break;
^1da177e4c3f41 Linus Torvalds          2005-04-16  7842  	case SCTP_PEER_ADDR_PARAMS:
^1da177e4c3f41 Linus Torvalds          2005-04-16  7843  		retval = sctp_getsockopt_peer_addr_params(sk, len, optval,
^1da177e4c3f41 Linus Torvalds          2005-04-16  7844  							  optlen);
^1da177e4c3f41 Linus Torvalds          2005-04-16  7845  		break;
4580ccc04ddd8c Shan Wei                2011-01-18  7846  	case SCTP_DELAYED_SACK:
d364d9276b54af Wei Yongjun             2008-05-09  7847  		retval = sctp_getsockopt_delayed_ack(sk, len, optval,
7708610b1bff4a Frank Filz              2005-12-22  7848  							  optlen);
7708610b1bff4a Frank Filz              2005-12-22  7849  		break;
^1da177e4c3f41 Linus Torvalds          2005-04-16  7850  	case SCTP_INITMSG:
^1da177e4c3f41 Linus Torvalds          2005-04-16  7851  		retval = sctp_getsockopt_initmsg(sk, len, optval, optlen);
^1da177e4c3f41 Linus Torvalds          2005-04-16  7852  		break;
^1da177e4c3f41 Linus Torvalds          2005-04-16  7853  	case SCTP_GET_PEER_ADDRS:
^1da177e4c3f41 Linus Torvalds          2005-04-16  7854  		retval = sctp_getsockopt_peer_addrs(sk, len, optval,
^1da177e4c3f41 Linus Torvalds          2005-04-16  7855  						    optlen);
^1da177e4c3f41 Linus Torvalds          2005-04-16  7856  		break;
^1da177e4c3f41 Linus Torvalds          2005-04-16  7857  	case SCTP_GET_LOCAL_ADDRS:
^1da177e4c3f41 Linus Torvalds          2005-04-16  7858  		retval = sctp_getsockopt_local_addrs(sk, len, optval,
^1da177e4c3f41 Linus Torvalds          2005-04-16  7859  						     optlen);
^1da177e4c3f41 Linus Torvalds          2005-04-16  7860  		break;
c6ba68a26645db Vlad Yasevich           2009-06-01  7861  	case SCTP_SOCKOPT_CONNECTX3:
c6ba68a26645db Vlad Yasevich           2009-06-01  7862  		retval = sctp_getsockopt_connectx3(sk, len, optval, optlen);
c6ba68a26645db Vlad Yasevich           2009-06-01  7863  		break;
^1da177e4c3f41 Linus Torvalds          2005-04-16  7864  	case SCTP_DEFAULT_SEND_PARAM:
^1da177e4c3f41 Linus Torvalds          2005-04-16  7865  		retval = sctp_getsockopt_default_send_param(sk, len,
^1da177e4c3f41 Linus Torvalds          2005-04-16  7866  							    optval, optlen);
^1da177e4c3f41 Linus Torvalds          2005-04-16  7867  		break;
6b3fd5f3a2bbc8 Geir Ola Vaagland       2014-07-12  7868  	case SCTP_DEFAULT_SNDINFO:
6b3fd5f3a2bbc8 Geir Ola Vaagland       2014-07-12  7869  		retval = sctp_getsockopt_default_sndinfo(sk, len,
6b3fd5f3a2bbc8 Geir Ola Vaagland       2014-07-12  7870  							 optval, optlen);
6b3fd5f3a2bbc8 Geir Ola Vaagland       2014-07-12  7871  		break;
^1da177e4c3f41 Linus Torvalds          2005-04-16  7872  	case SCTP_PRIMARY_ADDR:
^1da177e4c3f41 Linus Torvalds          2005-04-16  7873  		retval = sctp_getsockopt_primary_addr(sk, len, optval, optlen);
^1da177e4c3f41 Linus Torvalds          2005-04-16  7874  		break;
^1da177e4c3f41 Linus Torvalds          2005-04-16  7875  	case SCTP_NODELAY:
^1da177e4c3f41 Linus Torvalds          2005-04-16  7876  		retval = sctp_getsockopt_nodelay(sk, len, optval, optlen);
^1da177e4c3f41 Linus Torvalds          2005-04-16  7877  		break;
^1da177e4c3f41 Linus Torvalds          2005-04-16  7878  	case SCTP_RTOINFO:
^1da177e4c3f41 Linus Torvalds          2005-04-16  7879  		retval = sctp_getsockopt_rtoinfo(sk, len, optval, optlen);
^1da177e4c3f41 Linus Torvalds          2005-04-16  7880  		break;
^1da177e4c3f41 Linus Torvalds          2005-04-16  7881  	case SCTP_ASSOCINFO:
^1da177e4c3f41 Linus Torvalds          2005-04-16  7882  		retval = sctp_getsockopt_associnfo(sk, len, optval, optlen);
^1da177e4c3f41 Linus Torvalds          2005-04-16  7883  		break;
^1da177e4c3f41 Linus Torvalds          2005-04-16  7884  	case SCTP_I_WANT_MAPPED_V4_ADDR:
^1da177e4c3f41 Linus Torvalds          2005-04-16  7885  		retval = sctp_getsockopt_mappedv4(sk, len, optval, optlen);
^1da177e4c3f41 Linus Torvalds          2005-04-16  7886  		break;
^1da177e4c3f41 Linus Torvalds          2005-04-16  7887  	case SCTP_MAXSEG:
^1da177e4c3f41 Linus Torvalds          2005-04-16  7888  		retval = sctp_getsockopt_maxseg(sk, len, optval, optlen);
^1da177e4c3f41 Linus Torvalds          2005-04-16  7889  		break;
^1da177e4c3f41 Linus Torvalds          2005-04-16  7890  	case SCTP_GET_PEER_ADDR_INFO:
^1da177e4c3f41 Linus Torvalds          2005-04-16  7891  		retval = sctp_getsockopt_peer_addr_info(sk, len, optval,
^1da177e4c3f41 Linus Torvalds          2005-04-16  7892  							optlen);
^1da177e4c3f41 Linus Torvalds          2005-04-16  7893  		break;
0f3fffd8ab1db7 Ivan Skytte Jorgensen   2006-12-20  7894  	case SCTP_ADAPTATION_LAYER:
0f3fffd8ab1db7 Ivan Skytte Jorgensen   2006-12-20  7895  		retval = sctp_getsockopt_adaptation_layer(sk, len, optval,
^1da177e4c3f41 Linus Torvalds          2005-04-16  7896  							optlen);
^1da177e4c3f41 Linus Torvalds          2005-04-16  7897  		break;
6ab792f5770123 Ivan Skytte Jorgensen   2006-12-13  7898  	case SCTP_CONTEXT:
6ab792f5770123 Ivan Skytte Jorgensen   2006-12-13  7899  		retval = sctp_getsockopt_context(sk, len, optval, optlen);
6ab792f5770123 Ivan Skytte Jorgensen   2006-12-13  7900  		break;
b6e1331f3ce25a Vlad Yasevich           2007-04-20  7901  	case SCTP_FRAGMENT_INTERLEAVE:
b6e1331f3ce25a Vlad Yasevich           2007-04-20  7902  		retval = sctp_getsockopt_fragment_interleave(sk, len, optval,
b6e1331f3ce25a Vlad Yasevich           2007-04-20  7903  							     optlen);
b6e1331f3ce25a Vlad Yasevich           2007-04-20  7904  		break;
d49d91d79a8dc5 Vlad Yasevich           2007-03-23  7905  	case SCTP_PARTIAL_DELIVERY_POINT:
d49d91d79a8dc5 Vlad Yasevich           2007-03-23  7906  		retval = sctp_getsockopt_partial_delivery_point(sk, len, optval,
d49d91d79a8dc5 Vlad Yasevich           2007-03-23  7907  								optlen);
d49d91d79a8dc5 Vlad Yasevich           2007-03-23  7908  		break;
703315712cfccf Vlad Yasevich           2007-03-23  7909  	case SCTP_MAX_BURST:
703315712cfccf Vlad Yasevich           2007-03-23  7910  		retval = sctp_getsockopt_maxburst(sk, len, optval, optlen);
703315712cfccf Vlad Yasevich           2007-03-23  7911  		break;
65b07e5d0d09c7 Vlad Yasevich           2007-09-16  7912  	case SCTP_AUTH_KEY:
65b07e5d0d09c7 Vlad Yasevich           2007-09-16  7913  	case SCTP_AUTH_CHUNK:
65b07e5d0d09c7 Vlad Yasevich           2007-09-16  7914  	case SCTP_AUTH_DELETE_KEY:
601590ec155aad Xin Long                2018-03-14  7915  	case SCTP_AUTH_DEACTIVATE_KEY:
65b07e5d0d09c7 Vlad Yasevich           2007-09-16  7916  		retval = -EOPNOTSUPP;
65b07e5d0d09c7 Vlad Yasevich           2007-09-16  7917  		break;
65b07e5d0d09c7 Vlad Yasevich           2007-09-16  7918  	case SCTP_HMAC_IDENT:
65b07e5d0d09c7 Vlad Yasevich           2007-09-16  7919  		retval = sctp_getsockopt_hmac_ident(sk, len, optval, optlen);
65b07e5d0d09c7 Vlad Yasevich           2007-09-16  7920  		break;
65b07e5d0d09c7 Vlad Yasevich           2007-09-16  7921  	case SCTP_AUTH_ACTIVE_KEY:
65b07e5d0d09c7 Vlad Yasevich           2007-09-16  7922  		retval = sctp_getsockopt_active_key(sk, len, optval, optlen);
65b07e5d0d09c7 Vlad Yasevich           2007-09-16  7923  		break;
65b07e5d0d09c7 Vlad Yasevich           2007-09-16  7924  	case SCTP_PEER_AUTH_CHUNKS:
65b07e5d0d09c7 Vlad Yasevich           2007-09-16  7925  		retval = sctp_getsockopt_peer_auth_chunks(sk, len, optval,
65b07e5d0d09c7 Vlad Yasevich           2007-09-16  7926  							optlen);
65b07e5d0d09c7 Vlad Yasevich           2007-09-16  7927  		break;
65b07e5d0d09c7 Vlad Yasevich           2007-09-16  7928  	case SCTP_LOCAL_AUTH_CHUNKS:
65b07e5d0d09c7 Vlad Yasevich           2007-09-16  7929  		retval = sctp_getsockopt_local_auth_chunks(sk, len, optval,
65b07e5d0d09c7 Vlad Yasevich           2007-09-16  7930  							optlen);
65b07e5d0d09c7 Vlad Yasevich           2007-09-16  7931  		break;
aea3c5c05d2c40 Wei Yongjun             2008-12-25  7932  	case SCTP_GET_ASSOC_NUMBER:
aea3c5c05d2c40 Wei Yongjun             2008-12-25  7933  		retval = sctp_getsockopt_assoc_number(sk, len, optval, optlen);
aea3c5c05d2c40 Wei Yongjun             2008-12-25  7934  		break;
209ba424c2c6e5 Wei Yongjun             2011-04-17  7935  	case SCTP_GET_ASSOC_ID_LIST:
209ba424c2c6e5 Wei Yongjun             2011-04-17  7936  		retval = sctp_getsockopt_assoc_ids(sk, len, optval, optlen);
209ba424c2c6e5 Wei Yongjun             2011-04-17  7937  		break;
7dc04d712203ee Michio Honda            2011-04-26  7938  	case SCTP_AUTO_ASCONF:
7dc04d712203ee Michio Honda            2011-04-26  7939  		retval = sctp_getsockopt_auto_asconf(sk, len, optval, optlen);
7dc04d712203ee Michio Honda            2011-04-26  7940  		break;
5aa93bcf66f4af Neil Horman             2012-07-21  7941  	case SCTP_PEER_ADDR_THLDS:
d467ac0a38551a Xin Long                2019-11-08  7942  		retval = sctp_getsockopt_paddr_thresholds(sk, optval, len,
d467ac0a38551a Xin Long                2019-11-08  7943  							  optlen, false);
d467ac0a38551a Xin Long                2019-11-08  7944  		break;
d467ac0a38551a Xin Long                2019-11-08  7945  	case SCTP_PEER_ADDR_THLDS_V2:
d467ac0a38551a Xin Long                2019-11-08  7946  		retval = sctp_getsockopt_paddr_thresholds(sk, optval, len,
d467ac0a38551a Xin Long                2019-11-08  7947  							  optlen, true);
5aa93bcf66f4af Neil Horman             2012-07-21  7948  		break;
196d67593439b0 Michele Baldessari      2012-12-01  7949  	case SCTP_GET_ASSOC_STATS:
196d67593439b0 Michele Baldessari      2012-12-01  7950  		retval = sctp_getsockopt_assoc_stats(sk, len, optval, optlen);
196d67593439b0 Michele Baldessari      2012-12-01  7951  		break;
0d3a421d284812 Geir Ola Vaagland       2014-07-12  7952  	case SCTP_RECVRCVINFO:
0d3a421d284812 Geir Ola Vaagland       2014-07-12  7953  		retval = sctp_getsockopt_recvrcvinfo(sk, len, optval, optlen);
0d3a421d284812 Geir Ola Vaagland       2014-07-12  7954  		break;
2347c80ff127b9 Geir Ola Vaagland       2014-07-12  7955  	case SCTP_RECVNXTINFO:
2347c80ff127b9 Geir Ola Vaagland       2014-07-12  7956  		retval = sctp_getsockopt_recvnxtinfo(sk, len, optval, optlen);
2347c80ff127b9 Geir Ola Vaagland       2014-07-12  7957  		break;
28aa4c26fce220 Xin Long                2016-07-09  7958  	case SCTP_PR_SUPPORTED:
28aa4c26fce220 Xin Long                2016-07-09  7959  		retval = sctp_getsockopt_pr_supported(sk, len, optval, optlen);
28aa4c26fce220 Xin Long                2016-07-09  7960  		break;
f959fb442c35f4 Xin Long                2016-07-09  7961  	case SCTP_DEFAULT_PRINFO:
f959fb442c35f4 Xin Long                2016-07-09  7962  		retval = sctp_getsockopt_default_prinfo(sk, len, optval,
f959fb442c35f4 Xin Long                2016-07-09  7963  							optlen);
f959fb442c35f4 Xin Long                2016-07-09  7964  		break;
826d253d57b11f Xin Long                2016-07-09  7965  	case SCTP_PR_ASSOC_STATUS:
826d253d57b11f Xin Long                2016-07-09  7966  		retval = sctp_getsockopt_pr_assocstatus(sk, len, optval,
826d253d57b11f Xin Long                2016-07-09  7967  							optlen);
826d253d57b11f Xin Long                2016-07-09  7968  		break;
d229d48d183fbc Xin Long                2017-04-01  7969  	case SCTP_PR_STREAM_STATUS:
d229d48d183fbc Xin Long                2017-04-01  7970  		retval = sctp_getsockopt_pr_streamstatus(sk, len, optval,
d229d48d183fbc Xin Long                2017-04-01  7971  							 optlen);
d229d48d183fbc Xin Long                2017-04-01  7972  		break;
c0d8bab6ae518c Xin Long                2017-03-10  7973  	case SCTP_RECONFIG_SUPPORTED:
c0d8bab6ae518c Xin Long                2017-03-10  7974  		retval = sctp_getsockopt_reconfig_supported(sk, len, optval,
c0d8bab6ae518c Xin Long                2017-03-10  7975  							    optlen);
c0d8bab6ae518c Xin Long                2017-03-10  7976  		break;
9fb657aec0e20b Xin Long                2017-01-18  7977  	case SCTP_ENABLE_STREAM_RESET:
9fb657aec0e20b Xin Long                2017-01-18  7978  		retval = sctp_getsockopt_enable_strreset(sk, len, optval,
9fb657aec0e20b Xin Long                2017-01-18  7979  							 optlen);
9fb657aec0e20b Xin Long                2017-01-18  7980  		break;
13aa8770fe42d2 Marcelo Ricardo Leitner 2017-10-03  7981  	case SCTP_STREAM_SCHEDULER:
13aa8770fe42d2 Marcelo Ricardo Leitner 2017-10-03  7982  		retval = sctp_getsockopt_scheduler(sk, len, optval,
13aa8770fe42d2 Marcelo Ricardo Leitner 2017-10-03  7983  						   optlen);
13aa8770fe42d2 Marcelo Ricardo Leitner 2017-10-03  7984  		break;
0ccdf3c7fdeda5 Marcelo Ricardo Leitner 2017-10-03  7985  	case SCTP_STREAM_SCHEDULER_VALUE:
0ccdf3c7fdeda5 Marcelo Ricardo Leitner 2017-10-03  7986  		retval = sctp_getsockopt_scheduler_value(sk, len, optval,
0ccdf3c7fdeda5 Marcelo Ricardo Leitner 2017-10-03  7987  							 optlen);
0ccdf3c7fdeda5 Marcelo Ricardo Leitner 2017-10-03  7988  		break;
772a58693fc311 Xin Long                2017-12-08  7989  	case SCTP_INTERLEAVING_SUPPORTED:
772a58693fc311 Xin Long                2017-12-08  7990  		retval = sctp_getsockopt_interleaving_supported(sk, len, optval,
772a58693fc311 Xin Long                2017-12-08  7991  								optlen);
772a58693fc311 Xin Long                2017-12-08  7992  		break;
b0e9a2fe3ff971 Xin Long                2018-06-28  7993  	case SCTP_REUSE_PORT:
b0e9a2fe3ff971 Xin Long                2018-06-28  7994  		retval = sctp_getsockopt_reuse_port(sk, len, optval, optlen);
b0e9a2fe3ff971 Xin Long                2018-06-28  7995  		break;
480ba9c18a27ff Xin Long                2018-11-18  7996  	case SCTP_EVENT:
480ba9c18a27ff Xin Long                2018-11-18  7997  		retval = sctp_getsockopt_event(sk, len, optval, optlen);
480ba9c18a27ff Xin Long                2018-11-18  7998  		break;
df2c71ffdfae58 Xin Long                2019-08-19  7999  	case SCTP_ASCONF_SUPPORTED:
df2c71ffdfae58 Xin Long                2019-08-19  8000  		retval = sctp_getsockopt_asconf_supported(sk, len, optval,
df2c71ffdfae58 Xin Long                2019-08-19  8001  							  optlen);
df2c71ffdfae58 Xin Long                2019-08-19  8002  		break;
56dd525abd56f7 Xin Long                2019-08-19  8003  	case SCTP_AUTH_SUPPORTED:
56dd525abd56f7 Xin Long                2019-08-19  8004  		retval = sctp_getsockopt_auth_supported(sk, len, optval,
56dd525abd56f7 Xin Long                2019-08-19  8005  							optlen);
56dd525abd56f7 Xin Long                2019-08-19  8006  		break;
d5886b919a720f Xin Long                2019-08-26  8007  	case SCTP_ECN_SUPPORTED:
d5886b919a720f Xin Long                2019-08-26  8008  		retval = sctp_getsockopt_ecn_supported(sk, len, optval, optlen);
d5886b919a720f Xin Long                2019-08-26  8009  		break;
8d2a6935d842f1 Xin Long                2019-11-08  8010  	case SCTP_EXPOSE_POTENTIALLY_FAILED_STATE:
8d2a6935d842f1 Xin Long                2019-11-08  8011  		retval = sctp_getsockopt_pf_expose(sk, len, optval, optlen);
8d2a6935d842f1 Xin Long                2019-11-08  8012  		break;
^1da177e4c3f41 Linus Torvalds          2005-04-16  8013  	default:
^1da177e4c3f41 Linus Torvalds          2005-04-16  8014  		retval = -ENOPROTOOPT;
^1da177e4c3f41 Linus Torvalds          2005-04-16  8015  		break;
3ff50b7997fe06 Stephen Hemminger       2007-04-20  8016  	}
^1da177e4c3f41 Linus Torvalds          2005-04-16  8017  
048ed4b6266144 wangweidong             2014-01-21  8018  	release_sock(sk);
^1da177e4c3f41 Linus Torvalds          2005-04-16  8019  	return retval;
^1da177e4c3f41 Linus Torvalds          2005-04-16  8020  }
^1da177e4c3f41 Linus Torvalds          2005-04-16  8021  

:::::: The code at line 7793 was first introduced by commit
:::::: dda9192851dcf904b4d1095480834f2a4f814ae3 net: sctp: remove SCTP_STATIC macro

:::::: TO: Daniel Borkmann <dborkman@xxxxxxxxxx>
:::::: CC: David S. Miller <davem@xxxxxxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux