[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20191011115212.42c99d3d@canb.auug.org.au>
Date: Fri, 11 Oct 2019 11:52:12 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...e.hu>,
"H. Peter Anvin" <hpa@...or.com>,
Peter Zijlstra <peterz@...radead.org>,
David Miller <davem@...emloft.net>,
Networking <netdev@...r.kernel.org>
Cc: Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Qian Cai <cai@....pw>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <jakub.kicinski@...ronome.com>
Subject: linux-next: manual merge of the tip tree with the net tree
Hi all,
Today's linux-next merge of the tip tree got a conflict in:
net/core/sock.c
between commit:
8265792bf887 ("net: silence KCSAN warnings around sk_add_backlog() calls")
from the net tree and commit:
5facae4f3549 ("locking/lockdep: Remove unused @nested argument from lock_release()")
from the tip tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
--
Cheers,
Stephen Rothwell
diff --cc net/core/sock.c
index 54c06559ad8f,50b930364cb0..000000000000
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@@ -521,8 -521,8 +521,8 @@@ int __sk_receive_skb(struct sock *sk, s
rc = sk_backlog_rcv(sk, skb);
- mutex_release(&sk->sk_lock.dep_map, 1, _RET_IP_);
+ mutex_release(&sk->sk_lock.dep_map, _RET_IP_);
- } else if (sk_add_backlog(sk, skb, sk->sk_rcvbuf)) {
+ } else if (sk_add_backlog(sk, skb, READ_ONCE(sk->sk_rcvbuf))) {
bh_unlock_sock(sk);
atomic_inc(&sk->sk_drops);
goto discard_and_relse;
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists