lkml.org 
[lkml]   [2013]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] udp: fix possible seqlock deadlock
From
Date
On Thu, 2013-11-28 at 09:23 -0800, Eric Dumazet wrote:
> From: Eric Dumazet <edumazet@google.com>
>
> In commit c9e9042994d3 ("ipv4: fix possible seqlock deadlock") I left
> another spot where IP_INC_STATS_BH() was improperly used.
>
> udp_sendmsg() is called from process context, not from softirq context.
>
> This was detected by lockdep seqlock support.
>
> Reported-by: jongman heo <jongman.heo@samsung.com>
> Fixes: 584bdf8cbdf6 ("[IPV4]: Fix "ipOutNoRoutes" counter error for TCP and UDP")
> Signed-off-by: Eric Dumazet <edumazet@google.com>
> Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>
> ---

Scrap this, I'll send a v2 with a complete check.




\
 
 \ /
  Last update: 2013-11-28 18:41    [W:0.087 / U:1.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site