[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] Hurd branch, master, updated. v0.5-27-g218cae5
From: |
Richard Braun |
Subject: |
[SCM] Hurd branch, master, updated. v0.5-27-g218cae5 |
Date: |
Wed, 06 Nov 2013 01:14:36 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".
The branch, master has been updated
via 218cae5a714342b5d82a5b004d58f0a9ebbbfe5e (commit)
from 880dd56f468b57a198ab2136767d03ddaa586eef (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 218cae5a714342b5d82a5b004d58f0a9ebbbfe5e
Author: Richard Braun <address@hidden>
Date: Wed Nov 6 01:44:09 2013 +0100
pfinet: fix emission on the loopback device
Unlike other devices, sending packets on the loopback device causes the
netif_rx() function to be called from the net_bh worker thread. Since
the thread is already running, it can't wake itself up when calling
mark_bh(). Use a new variable to indicate when net_bh work is pending.
* glue-include/linux/interrupt.h (net_bh_raised): Declare new global
variable.
(mark_bh): Set net_bh_raised to 1 before waking up net_bh worker thread.
* loopback.c (loopback_xmit): Add comment giving details about locking.
* sched.c (net_bh_raised): Define new global variable.
(net_bh_worker): Wait for net_bh_raised to become true and reset it
before processing net_bh work.
-----------------------------------------------------------------------
Summary of changes:
pfinet/glue-include/linux/interrupt.h | 2 ++
pfinet/loopback.c | 7 +++++++
pfinet/sched.c | 7 ++++++-
3 files changed, 15 insertions(+), 1 deletions(-)
hooks/post-receive
--
Hurd
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] Hurd branch, master, updated. v0.5-27-g218cae5,
Richard Braun <=