Re: [PATCH 1/6] net: ip4_datagram_connect: Use correct form ofstatistics update

From: Eric Dumazet
Date: Fri Oct 11 2013 - 14:32:41 EST


On Fri, 2013-10-11 at 17:54 +0000, Christoph Lameter wrote:
> ip4_datagram_connect is called with BH processing enabled. Therefore
> we cannot use IP_INC_STATS_BH but must use IP_INC_STATS which disables
> BH handling before incrementing the counter.
>
> The following trace is triggered without this patch:
...
> Cc: Eric Dumazet <edumazet@xxxxxxxxxx>
> CC: netdev@xxxxxxxxxxxxxxx
> Signed-off-by: Christoph Lameter <cl@xxxxxxxxx>


Patch is fine but was not CC to netdev and David Miller.

Acked-by: Eric Dumazet <edumazet@xxxxxxxxxx>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/