mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
Pass up errors returned by dummynet. The same should be done with
divert.
This commit is contained in:
parent
d42df83312
commit
7a726a2dd1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71613
@ -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