OBS User unknown 2008-07-11 20:33:27 +00:00 committed by Git OBS Bridge
parent ca78b8e636
commit eb9d1ba5a1
3 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,12 @@
--- 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;

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 11 11:03:43 CEST 2008 - ms@suse.de
- fixed RTM_NEWLINK check for older kernels (bnc #407954)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 30 10:02:03 CEST 2008 - ms@suse.de Mon Jun 30 10:02:03 CEST 2008 - ms@suse.de

View File

@ -18,7 +18,7 @@ Group: Productivity/Networking/Routing
Provides: iproute Provides: iproute
AutoReqProv: on AutoReqProv: on
Version: 2.6.23 Version: 2.6.23
Release: 78 Release: 83
Summary: Advanced Routing Summary: Advanced Routing
Url: http://developer.osdl.org/dev/iproute2/ Url: http://developer.osdl.org/dev/iproute2/
Source0: %name-%version.tar.bz2 Source0: %name-%version.tar.bz2
@ -31,6 +31,7 @@ Patch5: %name-2.6.23-fragtimeout.diff
Patch6: %name-2.6.23-flushcheckuid.diff Patch6: %name-2.6.23-flushcheckuid.diff
Patch7: %name-2.6.23-strip.diff Patch7: %name-2.6.23-strip.diff
Patch8: %name-2.6.23-qdisc.diff Patch8: %name-2.6.23-qdisc.diff
Patch9: %name-2.6.23-iplink.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%package -n libnlink %package -n libnlink
@ -68,6 +69,7 @@ Authors:
%patch6 %patch6
%patch7 %patch7
%patch8 %patch8
%patch9
find . -name *.orig -print0 | xargs -r0 rm -v find . -name *.orig -print0 | xargs -r0 rm -v
%build %build
@ -117,6 +119,8 @@ rm -rf $RPM_BUILD_ROOT
%_libdir/lib* %_libdir/lib*
%changelog %changelog
* Fri Jul 11 2008 ms@suse.de
- fixed RTM_NEWLINK check for older kernels (bnc #407954)
* Mon Jun 30 2008 ms@suse.de * Mon Jun 30 2008 ms@suse.de
- fixed 'tc qdisc' segmentation fault (bnc #404755) - fixed 'tc qdisc' segmentation fault (bnc #404755)
* Thu May 08 2008 ms@suse.de * Thu May 08 2008 ms@suse.de