Re: [PATCH] [NETPOLL] Avoid recursive NAPI poll calls on UP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 03, 2006 at 10:20:11AM -0700, I wrote:
> Add a flag to prevent simultaneous, recursive, calls to a driver's
> NAPI poll function by net_rx_action() and poll_napi().  This is
> already prevented by locks on SMP, but the flag is needed for UP.

This patch may be unnecessary.  While it does fix the problem I saw,
the root cause of the problem is a call to spin_unlock_irq() instead
of spin_unlock_irqrestore() in gfar_start_xmit().

-Dale
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux