[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160425.115006.523247588174639447.davem@davemloft.net>
Date: Mon, 25 Apr 2016 11:50:06 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: Valdis.Kletnieks@...edu, hannes@...essinduktion.org,
netdev@...r.kernel.org
Subject: Re: [PATCH v2 net-next] sock: relax WARN_ON() in
sock_owned_by_user()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 25 Apr 2016 06:34:09 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> Valdis reported tons of stack dumps caused by WARN_ON() in
> sock_owned_by_user()
>
> This test needs to be relaxed if/when lockdep disables itself.
>
> Note that other lockdep_sock_is_held() callers are all from
> rcu_dereference_protected() sections which already are disabled
> if/when lockdep has been disabled.
>
> Fixes: fafc4e1ea1a4 ("sock: tigthen lockdep checks for sock_owned_by_user")
> Reported-by: Valdis Kletnieks <Valdis.Kletnieks@...edu>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Acked-by: Hannes Frederic Sowa <hannes@...essinduktion.org>
Applied, thanks Eric.
Powered by blists - more mailing lists