CC: [email protected]
CC: [email protected]
TO: Paolo Abeni <[email protected]>
CC: Mat Martineau <[email protected]>

tree:   https://github.com/multipath-tcp/mptcp_net-next.git export
head:   bdef4aa8ad1928bcec942c460865c91139e84fbe
commit: 427c749c2d23de6f088292a079b3777de5e04a82 [30/35] mptcp: keep unaccepted 
MPC subflow into join list
:::::: branch date: 2 hours ago
:::::: commit date: 2 hours ago
config: h8300-randconfig-s032-20201023 (attached as .config)
compiler: h8300-linux-gcc (GCC) 9.3.0
reproduce:
        wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-17-g2d3af347-dirty
        # 
https://github.com/multipath-tcp/mptcp_net-next/commit/427c749c2d23de6f088292a079b3777de5e04a82
        git remote add mptcp https://github.com/multipath-tcp/mptcp_net-next.git
        git fetch --no-tags mptcp export
        git checkout 427c749c2d23de6f088292a079b3777de5e04a82
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 
CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=h8300 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>


"sparse warnings: (new ones prefixed by >>)"
   net/mptcp/protocol.c: note: in included file:
   include/net/sock.h:1608:31: sparse: sparse: context imbalance in 
'mptcp_rcv_space_adjust' - unexpected unlock
   include/net/sock.h:1608:31: sparse: sparse: context imbalance in 
'__mptcp_move_skbs' - unexpected unlock
   include/net/sock.h:1608:31: sparse: sparse: context imbalance in 
'mptcp_close' - unexpected unlock
   net/mptcp/protocol.c:2271:24: sparse: sparse: context imbalance in 
'mptcp_sk_clone' - unexpected unlock
>> include/net/sock.h:1608:31: sparse: sparse: context imbalance in 
>> 'mptcp_stream_accept' - unexpected unlock
   include/net/sock.h:1608:31: sparse: sparse: context imbalance in 
'mptcp_check_writeable' - unexpected unlock

vim +/mptcp_stream_accept +1608 include/net/sock.h

^1da177e4c3f41 Linus Torvalds 2005-04-16  1593  
69336bd2d3ddce Joe Perches    2013-09-22  1594  bool lock_sock_fast(struct sock 
*sk);
8a74ad60a546b1 Eric Dumazet   2010-05-26  1595  /**
8a74ad60a546b1 Eric Dumazet   2010-05-26  1596   * unlock_sock_fast - 
complement of lock_sock_fast
8a74ad60a546b1 Eric Dumazet   2010-05-26  1597   * @sk: socket
8a74ad60a546b1 Eric Dumazet   2010-05-26  1598   * @slow: slow mode
8a74ad60a546b1 Eric Dumazet   2010-05-26  1599   *
8a74ad60a546b1 Eric Dumazet   2010-05-26  1600   * fast unlock socket for user 
context.
8a74ad60a546b1 Eric Dumazet   2010-05-26  1601   * If slow mode is on, we call 
regular release_sock()
8a74ad60a546b1 Eric Dumazet   2010-05-26  1602   */
8a74ad60a546b1 Eric Dumazet   2010-05-26  1603  static inline void 
unlock_sock_fast(struct sock *sk, bool slow)
4b0b72f7dd617b Eric Dumazet   2010-04-28  1604  {
8a74ad60a546b1 Eric Dumazet   2010-05-26  1605          if (slow)
8a74ad60a546b1 Eric Dumazet   2010-05-26  1606                  
release_sock(sk);
8a74ad60a546b1 Eric Dumazet   2010-05-26  1607          else
4b0b72f7dd617b Eric Dumazet   2010-04-28 @1608                  
spin_unlock_bh(&sk->sk_lock.slock);
4b0b72f7dd617b Eric Dumazet   2010-04-28  1609  }
4b0b72f7dd617b Eric Dumazet   2010-04-28  1610  

:::::: The code at line 1608 was first introduced by commit
:::::: 4b0b72f7dd617b13abd1b04c947e15873e011a24 net: speedup udp receive path

:::::: TO: Eric Dumazet <[email protected]>
:::::: CC: David S. Miller <[email protected]>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to