Thread (29 messages) 29 messages, 4 authors, 2019-09-03

Re: [PATCH v5 11/17] net: sgi: ioc3-eth: no need to stop queue set_multicast_list

From: Thomas Bogendoerfer <hidden>
Date: 2019-08-21 12:40:38
Also in: linux-doc, linux-input, linux-mips, linux-rtc, lkml, netdev

On Mon, 19 Aug 2019 17:04:53 -0700
Jakub Kicinski [off-list ref] wrote:
On Mon, 19 Aug 2019 18:31:34 +0200, Thomas Bogendoerfer wrote:
quoted
netif_stop_queue()/netif_wake_qeue() aren't needed for changing
multicast filters. Use spinlocks instead for proper protection
of private struct.
I thought it may protect ip->emcr, but that one is accessed with no
locking from the ioc3_timer() -> ioc3_setup_duplex() path..
it should protect ip->emcr ... I'll add spin_lock/unlock to setup_duplex and
respin the patch.

Thomas.

-- 
SUSE Linux GmbH
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help