Fix endless loop in netlink error handling.
This commit is contained in:
parent
f3b1006c73
commit
4cca16f20e
|
|
@ -1,8 +1,12 @@
|
||||||
|
2006-03-10 Jean Tourrilhes <jt@hpl.hp.com>
|
||||||
|
|
||||||
|
* Fix endless loop in netlink error handling
|
||||||
|
|
||||||
2006-03-10 Russell Stuart <russell-lartc@stuart.id.au>
|
2006-03-10 Russell Stuart <russell-lartc@stuart.id.au>
|
||||||
|
|
||||||
* Fix missing memset in tc sample
|
* Fix missing memset in tc sample
|
||||||
|
|
||||||
2006-03-10 shemminger <shemminger@osdl.org>
|
2006-03-10 Stephen Hemminger <shemminger@osdl.org>
|
||||||
|
|
||||||
* Change default lnstat count to 1
|
* Change default lnstat count to 1
|
||||||
* Update to 2.6.16 headers
|
* Update to 2.6.16 headers
|
||||||
|
|
|
||||||
|
|
@ -308,6 +308,9 @@ int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, pid_t peer,
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
/* Don't forget to skip that message. */
|
||||||
|
status -= NLMSG_ALIGN(len);
|
||||||
|
h = (struct nlmsghdr*)((char*)h + NLMSG_ALIGN(len));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue