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

From: Zoltan Kiss
Date: Thu Feb 27 2014 - 17:10:49 EST


On 27/02/14 22:04, Zoltan Kiss 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.

Just forget about this, I'll send in soon the version with *_bh locks.

Zoli
--
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/