Hello community, here is the log from the commit of package iproute2 checked in at Fri Jul 11 22:33:26 CEST 2008. -------- --- iproute2/iproute2.changes 2008-06-30 10:45:29.000000000 +0200 +++ iproute2/iproute2.changes 2008-07-11 11:08:05.968536000 +0200 @@ -1,0 +2,5 @@ +Fri Jul 11 11:03:43 CEST 2008 - ms@suse.de + +- fixed RTM_NEWLINK check for older kernels (bnc #407954) + +------------------------------------------------------------------- New: ---- iproute2-2.6.23-iplink.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ iproute2.spec ++++++ --- /var/tmp/diff_new_pack.Gu4731/_old 2008-07-11 22:31:58.000000000 +0200 +++ /var/tmp/diff_new_pack.Gu4731/_new 2008-07-11 22:31:58.000000000 +0200 @@ -18,7 +18,7 @@ Provides: iproute AutoReqProv: on Version: 2.6.23 -Release: 78 +Release: 83 Summary: Advanced Routing Url: http://developer.osdl.org/dev/iproute2/ Source0: %name-%version.tar.bz2 @@ -31,6 +31,7 @@ Patch6: %name-2.6.23-flushcheckuid.diff Patch7: %name-2.6.23-strip.diff Patch8: %name-2.6.23-qdisc.diff +Patch9: %name-2.6.23-iplink.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %package -n libnlink @@ -68,6 +69,7 @@ %patch6 %patch7 %patch8 +%patch9 find . -name *.orig -print0 | xargs -r0 rm -v %build @@ -117,6 +119,8 @@ %_libdir/lib* %changelog +* Fri Jul 11 2008 ms@suse.de +- fixed RTM_NEWLINK check for older kernels (bnc #407954) * Mon Jun 30 2008 ms@suse.de - fixed 'tc qdisc' segmentation fault (bnc #404755) * Thu May 08 2008 ms@suse.de ++++++ iproute2-2.6.23-iplink.diff ++++++ --- ip/iplink.c 2008-07-11 11:00:24.000000000 +0200 +++ ip/iplink.c 2008-07-11 11:02:05.000000000 +0200 @@ -107,7 +107,8 @@ { struct nlmsgerr *err = (struct nlmsgerr *)NLMSG_DATA(n); - if (n->nlmsg_type == NLMSG_ERROR && err->error == -EOPNOTSUPP) + if (n->nlmsg_type == NLMSG_ERROR && + (err->error == -EOPNOTSUPP || err->error == -EINVAL)) have_rtnl_newlink = 0; else have_rtnl_newlink = 1; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org