From: Stephen Hemminger <shemminger@osdl.org>
To: Krzysztof Oledzki <olel@ans.pl>
Cc: netdev@vger.kernel.org, lartc@mailman.ds9a.nl
Subject: Re: [ANNOUNCE] iproute2 version (050929)
Date: Wed, 5 Oct 2005 11:34:58 -0700 [thread overview]
Message-ID: <20051005113458.46f0892d@dxpl.pdx.osdl.net> (raw)
In-Reply-To: <Pine.LNX.4.62.0510012332580.14848@bizon.gios.gov.pl>
On Sat, 1 Oct 2005 23:34:25 +0200 (CEST)
Krzysztof Oledzki <olel@ans.pl> wrote:
>
>
> On Fri, 30 Sep 2005, Stephen Hemminger wrote:
>
> > There is an new minor update to iproute2 utilities available:
> > http://developer.osdl.org/dev/iproute2/download/iproute2-050929.tar.gz
>
>
> It hangs on "ip rule flush". Tested on 2.6.13.2.
>
>
> Best regards,
>
>
> Krzysztof Olędzki
Fixed by this patch (in next release)
==========
When assigning an ip address to an ethernet adapter, the newest
(050929) version of 'ip addr' hangs while older versions worked.
The problem was traced to be a removed initialisation. The patch
below corrects this problem.
Regards,
Jerome Borsboom
--- iproute2-050929/lib/libnetlink.c 2005-09-21 21:33:18.000000000 +0200
+++ iproute2-050929/lib/libnetlink.c 2005-10-04 13:42:30.000000000 +0200
@@ -235,7 +235,10 @@
unsigned seq;
struct nlmsghdr *h;
struct sockaddr_nl nladdr;
- struct iovec iov;
+ struct iovec iov = {
+ .iov_base = (void*)n,
+ .iov_len = n->nlmsg_len
+ };
struct msghdr msg = {
.msg_name = &nladdr,
.msg_namelen = sizeof(nladdr),
--
Stephen Hemminger <shemminger@osdl.org>
OSDL http://developer.osdl.org/~shemminger
next prev parent reply other threads:[~2005-10-05 18:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-30 22:04 [ANNOUNCE] iproute2 version (050929) Stephen Hemminger
[not found] ` <Pine.LNX.4.62.0510012332580.14848@bizon.gios.gov.pl>
2005-10-05 18:34 ` Stephen Hemminger [this message]
[not found] ` <Pine.LNX.4.62.0510101232310.1343@bizon.gios.gov.pl>
2005-10-10 14:40 ` Stephen Hemminger
[not found] ` <Pine.LNX.4.62.0510102122120.5659@bizon.gios.gov.pl>
[not found] ` <1128973355.6327.135.camel@localhost.localdomain>
[not found] ` <Pine.LNX.4.62.0510102200370.7033@bizon.gios.gov.pl>
[not found] ` <1128976620.6353.3.camel@localhost.localdomain>
2005-10-10 23:16 ` Stephen Hemminger
[not found] ` <1128990692.6353.14.camel@localhost.localdomain>
2005-10-12 22:32 ` Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051005113458.46f0892d@dxpl.pdx.osdl.net \
--to=shemminger@osdl.org \
--cc=lartc@mailman.ds9a.nl \
--cc=netdev@vger.kernel.org \
--cc=olel@ans.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).