From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 14 Mar 2008 22:22:15 +0300 From: "Dmitry V. Levin" To: ALT Linux Sisyphus mailing list Message-ID: <20080314192215.GC28646@wo.int.altlinux.org> Mail-Followup-To: ALT Linux Sisyphus mailing list References: <6c7be88d0803140212h72bacd0bp202934439578d308@mail.gmail.com> <47DA46A2.4090504@ancor.ru> <20080314132523.76055c1e@blackp.vop.mes> <47DA4FA0.7090405@ancor.ru> <20080314134607.61d862c7@blackp.vop.mes> <20080314134558.GA3831@mail.gu.net> <20080314142006.GE7567@wo.int.altlinux.org> <20080314151827.GA10580@mail.gu.net> <20080314161827.GE21743@newmaster.mivlgu.local> <20080314162207.GF21743@newmaster.mivlgu.local> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T7mxYSe680VjQnyC" Content-Disposition: inline In-Reply-To: <20080314162207.GF21743@newmaster.mivlgu.local> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [sisyphus] =?koi8-r?b?7s/X2cogaXByb3V0ZTIgySDT1MHS2cUg0cTSwQ==?= X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Mar 2008 19:22:16 -0000 Archived-At: List-Archive: List-Post: --T7mxYSe680VjQnyC Content-Type: multipart/mixed; boundary="z4+8/lEcDcG5Ke9S" Content-Disposition: inline --z4+8/lEcDcG5Ke9S Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 14, 2008 at 07:22:07PM +0300, Sergey Vlasov wrote: > On Fri, Mar 14, 2008 at 07:18:27PM +0300, Sergey Vlasov wrote: > > On Fri, Mar 14, 2008 at 05:18:27PM +0200, Victor Forsyuk wrote: > > > On Fri, Mar 14, 2008 at 05:20:06PM +0300, Dmitry V. Levin wrote: > > > > On Fri, Mar 14, 2008 at 03:45:58PM +0200, Victor Forsyuk wrote: > > > > [...] > > > > > =F3=CF=CF=D4=D7=C5=D4=D3=D4=D7=C5=CE=CE=CF, =CF=D3=D4=C1=C5=D4=D3= =D1 =D4=CF=CC=D8=CB=CF =CF=C4=C9=CE =D7=CF=D0=D2=CF=D3 - "=DE=D4=CF =C4=C5= =CC=C1=D4=D8"? > > > >=20 > > > > =E8=CF=D2=CF=DB=CF =C2=D9 =C9=D3=D0=D2=C1=D7=C9=D4=D8 iproute2. > > >=20 > > > =E8=CF=D2=CF=DB=CF =C2=D9, =D1=D3=CE=CF=C5 =C4=C5=CC=CF... =F1 =C4=C1= =D6=C5 =C4=CF=C7=C1=C4=D9=D7=C1=C0=D3=D8 =D7 =D2=C1=CA=CF=CE=C5 =DE=C5=C7= =CF =C9=C8=20 > > > =D2=C5=CB=CC=C1=CD=C9=D2=D5=C5=CD=C1=D1 "should be backward compatibl= e with older kernels" > > > =C4=C1=CC=C1 =D3=C2=CF=CA: > > > http://www.mail-archive.com/netdev@vger.kernel.org/msg40276.html > >=20 > > =E4=C5=CA=D3=D4=D7=C9=D4=C5=CC=D8=CE=CF, =D4=C1=CD =CF=D4=D3=D5=D4=D3= =D4=D7=C9=C5 =D0=CF=C4=C4=C5=D2=D6=CB=C9 =D7 =D1=C4=D2=C5 =CF=D0=D2=C5=C4= =C5=CC=D1=C5=D4=D3=D1 =D0=CF > > =D7=CF=DA=D7=D2=C1=DD=C1=C5=CD=CF=CD=D5 =C9=DA =D1=C4=D2=C1 =D7 =CF=D4= =D7=C5=D4 =CE=C1 =DC=D4=CF=D4 =DA=C1=D0=D2=CF=D3 =CB=CF=C4=D5 =CF=DB=C9=C2= =CB=C9 -EOPNOTSUPP. > > =EF=C4=CE=C1=CB=CF =DC=D4=CF=D4 =CB=CF=C4 =D7=CF=DA=D7=D2=C1=DD=C1=C5= =D4=D3=D1 =D4=CF=CC=D8=CB=CF =D7 =D7=C5=D2=D3=C9=D1=C8 >=3D 2.6.22 (=D3=CD.= commit > > 038890fed8d1fa95bbbdeb517f5710eb75fa9e2e =D7 =D1=C4=D2=C5); =C2=CF=CC= =C5=C5 =D3=D4=C1=D2=D9=C5 =D7=C5=D2=D3=C9=C9 =D7 > > =DC=D4=CF=CD =D3=CC=D5=DE=C1=C5 =D7=CF=DA=D7=D2=C1=DD=C1=C0=D4 -EINVAL,= =D0=CF=DC=D4=CF=CD=D5 iproute2 =CF=DB=C9=C2=CF=DE=CE=CF =D3=DE=C9=D4=C1=C5= =D4, =DE=D4=CF > > =D1=C4=D2=CF =D0=CF=C4=C4=C5=D2=D6=C9=D7=C1=C5=D4 =CE=D5=D6=CE=D9=C5 = =CB=CF=CD=C1=CE=C4=D9 netlink. >=20 > http://www.redhat.com/archives/fedora-extras-commits/2008-February/msg012= 14.html > http://lists.pld-linux.org/mailman/pipermail/pld-cvs-commit/Week-of-Mon-2= 0071022/172139.html http://git.kernel.org/?p=3Dlinux/kernel/git/shemminger/iproute2.git;a=3Dcom= mitdiff;h=3Dss-060323-158-g66e529f =EB=D4=CF =D3=CF=C2=C5=D2=A3=D4 =C9=D3=D0=D2=C1=D7=CC=C5=CE=CE=D9=CA iprout= e2? --=20 ldv --z4+8/lEcDcG5Ke9S Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="iproute-2.6.23-up-RTM_NEWLINK.patch" Content-Transfer-Encoding: quoted-printable =46rom 66e529f579f45351828fc82d6ba2629cc6eb3ddd Mon Sep 17 00:00:00 2001 From: Patrick McHardy Date: Thu, 25 Oct 2007 19:46:29 +0200 Subject: [PATCH] iproute 2.6.23 incompatibility Arkadiusz Miskiewicz wrote: > People are reporting that >> ip link set multicast on dev eth0 (Invalid argument) >> no longer works when using iproute 2.6.23 on kernel 2.6.21. >> >> On my testing machine it also fails: >> # ./ip link set eth0 multicast on >> RTNETLINK answers: Invalid argument It seems it fails to properly detect that your kernel is missing RTM_NEWLINK support. Apparently the reason is that the kernels I tested with return a different error in this situation. Signed-off-by: Patrick McHardy Signed-off-by: Stephen Hemminger --- ip/iplink.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ip/iplink.c b/ip/iplink.c index 8e0ed2a..f28f91c 100644 --- a/ip/iplink.c +++ b/ip/iplink.c @@ -107,7 +107,8 @@ static int accept_msg(const struct sockaddr_nl *who, { struct nlmsgerr *err =3D (struct nlmsgerr *)NLMSG_DATA(n); =20 - if (n->nlmsg_type =3D=3D NLMSG_ERROR && err->error =3D=3D -EOPNOTSUPP) + if (n->nlmsg_type =3D=3D NLMSG_ERROR && + (err->error =3D=3D -EOPNOTSUPP || err->error =3D=3D -EINVAL)) have_rtnl_newlink =3D 0; else have_rtnl_newlink =3D 1; --=20 1.5.4.4.GIT --z4+8/lEcDcG5Ke9S-- --T7mxYSe680VjQnyC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iEYEARECAAYFAkfa0GcACgkQfKvmrJ41Nh4KHwCgmOWxMYvtw0Ze1UMVfqbQ7JK3 X4wAoJmMvZ0NNN3Cip+AAvsd4KDaHIEo =/Z7d -----END PGP SIGNATURE----- --T7mxYSe680VjQnyC--