diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2023-02-15 13:47:01 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2023-02-15 13:47:01 +0000 |
commit | 2bb7d10b12a9a7bca6f2a09f7e09878f449669d2 (patch) | |
tree | a8f57c91e0973ec1cae42bcb4ed765c383331289 /sys/dev | |
parent | 25fb9f31baf7d1e971775df72097c62b798eb0cb (diff) |
Use correct order of arguments for shutdown(2).
Luckily routesock would never be <= 2 so shutdown would always failing
with EINVAL and not shutting down random other sockets.
The kernel was just uselessly piling up route messages that we were
never reading.
This mistake first showed up in slaacd(8) and then was copied to the
other daemons.
Reported & fixed by Josiah Frentsos (jfrent at tilde.team), thanks!
OK kn
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions