commit | 54bb35c69cec6c730a4ac95530a1d2ca6670f73b | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | Sat Jan 26 11:09:42 2008 -0800 |
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | Sat Jan 26 11:09:42 2008 -0800 |
tree | 7e39648ce48167ea6f9d2c4364d483a4e0b0cc64 | |
parent | 1fb0a998e1a8cb26a1f7fe1f79e2e3654aafdc93 [diff] |
poll for errors after rtnl_send This fixes the problem where a bulk operation (like ip flush) is performed as non-root user. The kernel will only send a response if there is an error, so check for it.