Pass up errors returned by dummynet. The same should be done with
divert.
This commit is contained in:
parent
d42df83312
commit
7a726a2dd1
@ -494,9 +494,9 @@ ip_output(m0, opt, ro, flags, imo)
|
||||
* XXX note: if the ifp or ro entry are deleted
|
||||
* while a pkt is in dummynet, we are in trouble!
|
||||
*/
|
||||
dummynet_io(off & 0xffff, DN_TO_IP_OUT, m,ifp,ro,dst,rule,
|
||||
flags);
|
||||
goto done;
|
||||
error = dummynet_io(off & 0xffff, DN_TO_IP_OUT, m,
|
||||
ifp, ro, dst, rule, flags);
|
||||
goto done;
|
||||
}
|
||||
#endif
|
||||
#ifdef IPDIVERT
|
||||
|
Loading…
Reference in New Issue
Block a user