[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] Re-open ethernet device on error
From: |
rekado |
Subject: |
[PATCH 0/2] Re-open ethernet device on error |
Date: |
Thu, 12 Sep 2013 14:10:53 +0800 |
Hi,
this improves on my previous patch. Before a new master_device port
is created the old port is deallocated to prevent a port leak. None
of this happens when master_file (naming the device node) is
undefined.
This patch has been tested on Debian GNU/Hurd. With this patch,
killing netdde no longer takes down pfinet. Upon encountering a
transmission error, pfinet tries to re-open the ethernet device once
(handled by devnode) and will resend the buffer.
rekado (2):
Try to re-open network device on transmission error
Look up device file name on device_open
devnode/devnode.c | 10 ++++++++++
pfinet/ethernet.c | 17 +++++++++++++++--
2 files changed, 25 insertions(+), 2 deletions(-)
--
1.8.3.1