SOURCES (LINUX_2_6): routes-2.6.13-12.diff - s/__in_dev_get(*) == ...

cieciwa cieciwa at pld-linux.org
Mon Oct 10 17:34:38 CEST 2005


Author: cieciwa                      Date: Mon Oct 10 15:34:38 2005 GMT
Module: SOURCES                       Tag: LINUX_2_6
---- Log message:
- s/__in_dev_get(*) == NULL/!__in_dev_get_rtnl(*)/g

---- Files affected:
SOURCES:
   routes-2.6.13-12.diff (1.1.2.2 -> 1.1.2.3) 

---- Diffs:

================================================================
Index: SOURCES/routes-2.6.13-12.diff
diff -u SOURCES/routes-2.6.13-12.diff:1.1.2.2 SOURCES/routes-2.6.13-12.diff:1.1.2.3
--- SOURCES/routes-2.6.13-12.diff:1.1.2.2	Mon Oct 10 16:03:51 2005
+++ SOURCES/routes-2.6.13-12.diff	Mon Oct 10 17:34:33 2005
@@ -602,7 +602,7 @@
 +				if (nh->nh_flags&RTNH_F_DEAD) {
 +					if (fi->fib_protocol!=RTPROT_STATIC ||
 +					    nh->nh_dev == NULL ||
-+					    __in_dev_get(nh->nh_dev) == NULL ||
++					    !__in_dev_get_rtnl(nh->nh_dev) ||
 +					    nh->nh_dev->flags&IFF_UP)
 +						dead++;
 +				} else if (nh->nh_dev == dev &&
@@ -623,7 +623,7 @@
 +					write_unlock_bh(&fib_nhflags_lock);
 +					if (fi->fib_protocol!=RTPROT_STATIC ||
 +					    force ||
-+					    __in_dev_get(dev) == NULL)
++					    !__in_dev_get_rtnl(dev))
 +						dead++;
  				}
  #ifdef CONFIG_IP_ROUTE_MULTIPATH
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/routes-2.6.13-12.diff?r1=1.1.2.2&r2=1.1.2.3&f=u




More information about the pld-cvs-commit mailing list