diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-12-17 09:46:00 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-12-17 09:46:00 +0000 |
commit | 4a1d9e6f74632234e5154114e6e0d008d93caddb (patch) | |
tree | 962a40055a2cde38667f5b933d60edcc1161c612 /usr.sbin/slowcgi | |
parent | a45b759c4782fe513ec89d5d4bb06bf38784f061 (diff) |
Use an interface index instead of a pointer for multicast options.
Output interface (port) selection for multicast traffic is not done via
route lookups. Instead the output ifp is registred when setsockopt(2)
is called with the IP{V6,}_MULTICAST_IF option. But since there is no
mechanism to invalidate such pointer stored in a pcb when an interface
is destroyed/removed, it might lead your kernel to fault.
Prevent a fault upon resume reported by frantisek holop, thanks!
ok mikeb@, claudio@
Diffstat (limited to 'usr.sbin/slowcgi')
0 files changed, 0 insertions, 0 deletions