[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131114.173247.1356465090660629003.davem@davemloft.net>
Date: Thu, 14 Nov 2013 17:32:47 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: davej@...hat.com, netdev@...r.kernel.org
Subject: Re: [PATCH] ipv4: fix possible seqlock deadlock
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 14 Nov 2013 13:37:54 -0800
> From: Eric Dumazet <edumazet@...gle.com>
>
> ip4_datagram_connect() being called from process context,
> it should use IP_INC_STATS() instead of IP_INC_STATS_BH()
> otherwise we can deadlock on 32bit arches, or get corruptions of
> SNMP counters.
>
> Fixes: 584bdf8cbdf6 ("[IPV4]: Fix "ipOutNoRoutes" counter error for TCP and UDP")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: Dave Jones <davej@...hat.com>
Applied and queued up for -stable, thanks!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists