Magellan Linux

Annotation of /trunk/ntrack/patches/ntrack-014-dead-loop-fix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1432 - (hide annotations) (download)
Thu Jul 21 22:55:43 2011 UTC (12 years, 10 months ago) by niro
File size: 301 byte(s)
ntrack fixes
1 niro 1432 === modified file 'modules/ntrack-libnl.c'
2     --- modules/ntrack-libnl.c 2011-04-25 16:28:19 +0000
3     +++ modules/ntrack-libnl.c 2011-04-25 17:25:24 +0000
4     @@ -394,6 +394,9 @@
5     if (rtnl_link_get_ifindex(link) > iindex)
6     break;
7     i = i->next;
8     +
9     + if (i == linklist)
10     + break;
11     }
12     return result;
13     }
14