This is an automated email from the git hooks/post-receive script. sthibault pushed a commit to branch upstream in repository hurd.
commit d473f407e3b168490032905e60effa3cdbbc063e Author: Samuel Thibault <[email protected]> Date: Tue Jan 28 23:58:34 2014 +0100 Also re-open Ethernet device on EMIG_SERVER_DIED * pfinet/ethernet.c (ethernet_xmit): Also call ethernet_close then ethernet_open on EMIG_SERVER_DIED error. --- pfinet/ethernet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pfinet/ethernet.c b/pfinet/ethernet.c index 74c1a08..3b0d27b 100644 --- a/pfinet/ethernet.c +++ b/pfinet/ethernet.c @@ -259,7 +259,7 @@ ethernet_xmit (struct sk_buff *skb, struct device *dev) { tried++; err = device_write (edev->ether_port, D_NOWAIT, 0, skb->data, skb->len, &count); - if (err == EMACH_SEND_INVALID_DEST) + if (err == EMACH_SEND_INVALID_DEST || err == EMIG_SERVER_DIED) { /* Device probably just died, try to reopen it. */ -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hurd/hurd.git
