diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2024-04-09 11:05:06 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2024-04-09 11:05:06 +0000 |
commit | 025f55c88c97de2e0e641d8aef4477ad979832fd (patch) | |
tree | cbb5f71fe9d7674c30fad0e6ffa6c593ced876e8 /etc/etc.armv7/Makefile.inc | |
parent | 89de3cc08047483d6d2a84a0489a528f89fed85b (diff) |
Plug route leak in IP output.
If no struct route is passed to ip_output() or ip6_output(), it
uses its own iproute on the stack. In that case any route entry
in the local route cache has to be freed. After pf decides to
reroute, struct route is reset to NULL. Then the route reference
counter has to be released. Call rtfree() without needless NULL
check.
OK mvs@
Diffstat (limited to 'etc/etc.armv7/Makefile.inc')
0 files changed, 0 insertions, 0 deletions