Re: [PATCH v2] openvswitch: Disable bottom half when grabbing stats lock in userspace context

From: Pravin Shelar
Date: Thu Feb 27 2014 - 18:11:07 EST


On Thu, Feb 27, 2014 at 2:10 PM, Zoltan Kiss <zoltan.kiss@xxxxxxxxxx> wrote:
> The megaflow feature introduced per-CPU stats, and the new code did some
> refactoring as well [1]. However the new functions doesn't disable bottom halves
> when locking the stat, and as they can be called from userspace context, they
> can be interrupted by netif_receive_skb.
>
> [1] e298e50570: openvswitch: Per cpu flow stats.
>
This bug is fixed in openvswitch repo by commit "datapath: Fix
deadlock during stats update."


Thanks.
--
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/