Thread (89 messages) 89 messages, 6 authors, 2012-12-03

Re: [PATCH] solos-pci: don't call vcc->pop() after pclose()

From: Krzysztof Mazur <hidden>
Date: 2012-11-29 14:55:14
Also in: lkml

On Thu, Nov 29, 2012 at 02:42:17PM +0000, David Woodhouse wrote:
On Thu, 2012-11-29 at 14:20 +0100, Krzysztof Mazur wrote:
quoted
                if (card->tx_skb[port] == skb) {
                        skb_get(skb);
                        solos_pop(SKB_CB(skb)->vcc, skb);
                        SKB_CB(skb)->vcc = NULL;
Um... yes, that would probably work. But it's subtle enough that it
bothers me. And if it *did* cause any strange issues, it's a rare case
and would be hard to reproduce/debug. Is it *really* necessary, just to
speed up the vcc close? I'm inclined to stick with the 'KISS' approach.
That's why I proposed that simple loop that just calls ->pop() and
sets vcc to NULL.

Forget about that, Chas said that we cannot leave close() until we
close that vcc, so we really need to wait.

Krzysiek
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help