Contents of /trunk/ntrack/patches/ntrack-014-dead-loop-fix.patch
Parent Directory | Revision Log
Revision 1432 -
(show annotations)
(download)
Thu Jul 21 22:55:43 2011 UTC (13 years, 2 months ago) by niro
File size: 301 byte(s)
Thu Jul 21 22:55:43 2011 UTC (13 years, 2 months ago) by niro
File size: 301 byte(s)
ntrack fixes
1 | === 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 |