Re: [PATCH -rt 5/9] net: fix mis-merge in qdisc_restart
* Daniel Walker <[EMAIL PROTECTED]> wrote: > This mismerge caused my networking to malfunction. The interface would > come up, but no traffic would make it in/out .. your patch only affects the !CONFIG_PREEMPT_RT case, so with that qualification indeed that happened, and i've applied your fix. Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH -rt 5/9] net: fix mis-merge in qdisc_restart
* Daniel Walker [EMAIL PROTECTED] wrote: This mismerge caused my networking to malfunction. The interface would come up, but no traffic would make it in/out .. your patch only affects the !CONFIG_PREEMPT_RT case, so with that qualification indeed that happened, and i've applied your fix. Ingo - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH -rt 5/9] net: fix mis-merge in qdisc_restart
This mismerge caused my networking to malfunction. The interface would come up, but no traffic would make it in/out .. Signed-off-by: Daniel Walker <[EMAIL PROTECTED]> --- net/sched/sch_generic.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.22/net/sched/sch_generic.c === --- linux-2.6.22.orig/net/sched/sch_generic.c +++ linux-2.6.22/net/sched/sch_generic.c @@ -156,7 +156,7 @@ static inline int qdisc_restart(struct n #ifdef CONFIG_PREEMPT_RT netif_tx_lock(dev); #else - if (netif_tx_trylock(dev)) + if (!netif_tx_trylock(dev)) /* Another CPU grabbed the driver tx lock */ return handle_dev_cpu_collision(skb, dev, q); #endif -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH -rt 5/9] net: fix mis-merge in qdisc_restart
This mismerge caused my networking to malfunction. The interface would come up, but no traffic would make it in/out .. Signed-off-by: Daniel Walker [EMAIL PROTECTED] --- net/sched/sch_generic.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6.22/net/sched/sch_generic.c === --- linux-2.6.22.orig/net/sched/sch_generic.c +++ linux-2.6.22/net/sched/sch_generic.c @@ -156,7 +156,7 @@ static inline int qdisc_restart(struct n #ifdef CONFIG_PREEMPT_RT netif_tx_lock(dev); #else - if (netif_tx_trylock(dev)) + if (!netif_tx_trylock(dev)) /* Another CPU grabbed the driver tx lock */ return handle_dev_cpu_collision(skb, dev, q); #endif -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/