On Sat, 1 Oct 2005 23:34:25 +0200 (CEST) Krzysztof Oledzki <olel@xxxxxx> 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@xxxxxxxx> OSDL http://developer.osdl.org/~shemminger _______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc