CC: kbuild-...@lists.01.org
CC: mp...@lists.01.org
TO: Paolo Abeni <pab...@redhat.com>
CC: Mat Martineau <mathew.j.martin...@linux.intel.com>

tree:   https://github.com/multipath-tcp/mptcp_net-next.git export
head:   38c882ee9a77d857355a8dd2a220156ba7df73bc
commit: 37f6e2313ae90097187b574f1c143a42bd263f88 [654/660] mptcp: call 
tcp_cleanup_rbuf on subflows
:::::: branch date: 4 hours ago
:::::: commit date: 4 hours ago
config: i386-randconfig-s001-20200911 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.2-191-g10164920-dirty
        git checkout 37f6e2313ae90097187b574f1c143a42bd263f88
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <l...@intel.com>


sparse warnings: (new ones prefixed by >>)

   net/mptcp/protocol.c: note: in included file:
>> include/net/sock.h:1610:31: sparse: sparse: context imbalance in 
>> 'mptcp_rcv_space_adjust' - unexpected unlock
   net/mptcp/protocol.c:2042:24: sparse: sparse: context imbalance in 
'mptcp_sk_clone' - unexpected unlock

# 
https://github.com/multipath-tcp/mptcp_net-next/commit/37f6e2313ae90097187b574f1c143a42bd263f88
git remote add mptcp https://github.com/multipath-tcp/mptcp_net-next.git
git fetch --no-tags mptcp export
git checkout 37f6e2313ae90097187b574f1c143a42bd263f88
vim +/mptcp_rcv_space_adjust +1610 include/net/sock.h

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

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

:::::: TO: Eric Dumazet <eric.duma...@gmail.com>
:::::: CC: David S. Miller <da...@davemloft.net>

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- kbuild@lists.01.org
To unsubscribe send an email to kbuild-le...@lists.01.org

Reply via email to