From: Govindarajulu Varadarajan <_govind@gmx.com> Date: Wed, 1 Jul 2015 08:51:57 +0000 (+0530) Subject: enic: fix issues in enic_poll X-Git-Tag: omap-for-v4.3/fixes-merge-window~247^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25c14ef86a0d5ec9320e833685c15bc96f504864;p=pandora-kernel.git enic: fix issues in enic_poll In enic_poll, we clean tx and rx queues, when low latency busy socket polling is happening, enic_poll will only clean tx queue. After cleaning tx, it should return total budget for re-poll. There is a small window between vnic_intr_unmask() and enic_poll_unlock_napi(). In this window if an irq occurs and napi is scheduled on different cpu, it tries to acquire enic_poll_lock_napi() and fails. Unlock napi_poll before unmasking the interrupt. v2: Do not change tx wonk done behaviour. Consider only rx work done for completing napi. Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com> Signed-off-by: David S. Miller --- Reading git-diff-tree failed