Displaying 20 results from an estimated 200 matches similar to: "[PATCH]: Exiting -1 if dhcp client failed"
2010 Aug 25
0
[patch] ipconfig fixes + run-init nit
hello,
Preparing my first klibc maintainenace release. :)
My plan is to have the patches cook in klibc-queue and once
everythings is fine deploy them in the main klibc repo.
Please test/review belows patches.
I plan to release the current queue really soon for klibc 1.5.20
due to the urgent ipconfig fixes. For now you find my patch queue on:
2003 Apr 29
0
[PATCH] Add configurable timeout to ipconfig
Knocking a small item off Russell's feature list. This applies on top
of my earlier bugfix+options patch.
README | 15 ++++-----------
main.c | 28 +++++++++++++++++++++++-----
2 files changed, 27 insertions(+), 16 deletions(-)
diff -Nru a/ipconfig/README b/ipconfig/README
--- a/ipconfig/README Tue Apr 29 13:03:14 2003
+++ b/ipconfig/README Tue Apr 29 13:03:14 2003
@@ -10,22 +10,15 @@
2017 Feb 04
0
[PATCH] ipconfig: handle multiple interfaces correctly
When configuring multiple interfaces, the existing logic in
ipconfig can fail if DHCP replies are received out of the expected order,
or if one or more interfaces never receive replies.
The current ipconfig logic uses a single packet socket to handle
all incoming DHCP replies. If, for example, the host has two interfaces,
A and B, and only B will be sent a DHCP reply, the order of events goes
2019 Jan 18
0
[klibc:master] ipconfig: handle multiple interfaces correctly
Commit-ID: 31810c21e6e7ee7c0478e80cee35b0b7e51de826
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=31810c21e6e7ee7c0478e80cee35b0b7e51de826
Author: Jay Vosburgh <jay.vosburgh at canonical.com>
AuthorDate: Fri, 3 Feb 2017 16:36:51 -0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Wed, 2 Jan 2019 02:23:46 +0000
[klibc] ipconfig: handle
2008 Jun 14
2
PATCH: ipconfig may discard useful packets
Thank you Maximilian, this was much easier!
I still have problems with my email setup, I haven't found the time to
migrate my mailbox from Windows yet. And gmail (webmail) doesn't allow
many customizations, so I'm also uploading the patch to
http://users.sch.gr/alkisg/temp/0001-Signed-off-by.patch
I'm sending a patch regarding the discard_packet() function, please
consider it for
2011 Jun 14
0
[PATCH] ipconfig: do_pkt_recv() refix ret initialisation
fix:
usr/kinit/ipconfig/main.c: In function ?ipconfig_main?:
usr/kinit/ipconfig/main.c:350:7: warning: ?ret? may be used uninitialized in this function [-Wuninitialized]
usr/kinit/ipconfig/main.c:346:6: note: ?ret? was declared here
I think the initialisation change in 6df362216a2e5beb4f29feafeabc630034a76914
was unintentional.
Cc: Ulrich Dangel <uli at spamt.net>
Signed-off-by:
2020 Jul 25
0
[kvm-unit-tests PATCH v3 0/4] Update patch set
On Sat, Jul 25, 2020 at 1:57 PM Ben Hutchings <ben at decadent.org.uk> wrote:
>
> On Sat, 2020-07-25 at 17:47 +0100, Ben Hutchings wrote:
> > On Sun, 2020-03-29 at 04:38 -0700, Bill Wendling wrote:
> > > - Renamed IMAGE_BASE to LD_IMAGE_BASE_OPT.
> > > - Moved "-fcommon" to KLIBCREQFLAGS in scripts/Kbuild.klibc.
> > > - Remove "dash"
2020 Jul 25
2
[kvm-unit-tests PATCH v3 0/4] Update patch set
On Sat, 2020-07-25 at 17:47 +0100, Ben Hutchings wrote:
> On Sun, 2020-03-29 at 04:38 -0700, Bill Wendling wrote:
> > - Renamed IMAGE_BASE to LD_IMAGE_BASE_OPT.
> > - Moved "-fcommon" to KLIBCREQFLAGS in scripts/Kbuild.klibc.
> > - Remove "dash" warning fixes which have been upstreamed.
> > - Conditionalize the inclusion of compiler flags by using the
2003 Apr 29
0
[PATCH] Fix busy-looping behaviour in ipconfig
The ipconfig code does not drop incoming packets that it can't handle.
Since the packet socket sends ipconfig its own broadcast requests,
ipconfig has the unfortunate behaviour of eating 100% of the CPU time
when it does not receive an immediate response to its outgoing requests.
This patch fixes the problem, by ensuring that packets are dropped if
they are not handled. It also introduces a
2009 Jul 19
0
[PATCH] pcitest: fix wrong statements about file locations
The module tries to access the files in the current directory.
Signed-off-by: Sebastian Herbszt <herbszt at gmx.de>
Index: syslinux-3.82-440-g6483c80/com32/modules/pcitest.c
===================================================================
--- syslinux-3.82-440-g6483c80.orig/com32/modules/pcitest.c
+++ syslinux-3.82-440-g6483c80/com32/modules/pcitest.c
@@ -127,8 +127,7 @@ int main(int
2009 Sep 19
0
[RESEND][PATCH] pcitest: fix wrong statements about file locations
The module tries to access the files in the current directory.
Signed-off-by: Sebastian Herbszt <herbszt at gmx.de>
Index: syslinux-3.82-440-g6483c80/com32/modules/pcitest.c
===================================================================
--- syslinux-3.82-440-g6483c80.orig/com32/modules/pcitest.c
+++ syslinux-3.82-440-g6483c80/com32/modules/pcitest.c
@@ -127,8 +127,7 @@ int main(int
2009 Nov 18
1
[RESEND][PATCH] pcitest: fix wrong statements about file locations
The module tries to access the files in the current directory.
Signed-off-by: Sebastian Herbszt <herbszt at gmx.de>
Index: syslinux-3.84-pre3/com32/modules/pcitest.c
===================================================================
--- syslinux-3.84-pre3.orig/com32/modules/pcitest.c
+++ syslinux-3.84-pre3/com32/modules/pcitest.c
@@ -127,8 +127,7 @@ int main(int argc, char *argv[])
2006 Jul 22
0
multiple return values in action web service
Hi all,
Does anyone have any advice about returning multiple values from an
ActionWebService? That is, I''d like to implement something like the
following.
api_method :do_something,
:expects => [{:id => :string}],
:returns => [{:return_code => :int},
{:return_text => :string}]
The easy way to do it would be to
2009 Jan 24
1
[LLVMdev] inline asm semantics: output constraint width smaller than input
On 2009-01-24 19:27, Ingo Molnar wrote:
> * Török Edwin <edwintorok at gmail.com> wrote:
>
>> #define put_user(x, ptr) \
>> ({ \
>> - int __ret_pu; \
>> + __typeof__(*(ptr)) __ret_pu; \
>>
>
> This does not look right. We can sometimes have
2017 Dec 31
4
[PATCH klibc 0/4] Fixes from Debian and Ubuntu
The following patches come from Debian and/or Ubuntu packages of
klibc.
Ben.
Ben Hutchings (1):
[klibc] run-init: Add dry-run mode
Jay Vosburgh (1):
[klibc] ipconfig: Use separate sockets for DHCP from multiple
interfaces
Mathieu Trudel-Lapierre (1):
[klibc] ipconfig: Set broadcast when sending DHCPREQUEST and
DHCPDISCOVER
YunQiang Su (1):
[klibc] mips: setjmp.S: don't
2009 Mar 12
1
the return value of packet_peek()
Hello, all:
I am executing ipconfig under a terminal and find one thing:
If I execute ipconfig the first time, it will get an ip address from
dhcp server, If I execute ipconfig the second time (or more times),
since my TP-LINK TL-R402M router will give an icmp(ping) packet before
DHCPOFFER,
the ipconfig will fail after it receive the packet and tries unpack
teh packet in packet_recv() since we
2006 May 18
1
[bug] False debugging with ipconfig
kinit.c contains the following lines before calling ipconfig_main:
#ifdef INI_DEBUG
args[a++] = (char *)"-n";
#endif
In my attempts to debug the NFS mounting, this threw me off for a bit.
(The -n parameter runs a "dry run" and does not actually configure
the network).
Thus, it seems it's actually impossible to debug NFS mounting with the
stock, unpatched klibc. It
2011 Mar 28
5
[PATCH 1/3] Only peek and discard packets from specified device.
This patch fixes a bug on systems with multiple connected network devices.
As packet_peek uses all devices to receive data instead of a specific
device. As the return value was never reset it was possible that packets
from other devices were returned by packet_peek. That means that the
ifindex did not match any ifindex of the specified devices the packet was
never removed and packets for the
2004 Nov 29
1
data is getting corrupted
I've been attempting to perform some analysis on a model that was
interfaced with R (R calls a library that takes SEXPs and converts the
data frames into the internal structures of data), and I notice that for
small data.frames the vectors don't get corrupt (n<200-ish). When I pass
in larger data.frames, the vectors will become corrupt. I've been
PROTECTING the heck out of
2011 Mar 27
4
ipconfig problem if multiple devices are up
Hi,
it seems that ipconfig has a problem if multiple devices are up and
connected to the same network. It seems that it uses the wrong
socket/device index to compare it to incoming packet. To be more
precise, the packet gets discarded in do_pkt_recv as the ifindex from
state differs always from the incoming packet
To reproduce create two tap devices:
$ sudo tunctl -u uli -t tap0