From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zoltan Kiss Subject: Re: [PATCH] openvswitch: Disable bottom half when grabbing stats lock in userspace context Date: Thu, 27 Feb 2014 22:10:37 +0000 Message-ID: <530FB7DD.6000500@citrix.com> References: <1393538677-21268-1-git-send-email-zoltan.kiss@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jesse Gross , , Return-path: In-Reply-To: <1393538677-21268-1-git-send-email-zoltan.kiss-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-yBygre7rU0TnMu66kgdUjQ@public.gmane.org Sender: "dev" List-Id: netdev.vger.kernel.org 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