diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-07-04 12:15:54 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-07-04 12:15:54 +0000 |
commit | 7088ede165ed0929153b76ed225b0977d4183e4a (patch) | |
tree | 6c3f4e913b3de8ed5bec7704f7af25cc058312a0 /include/fts.h | |
parent | 0687f59a21523618fe87b866224fd23a763f57a4 (diff) |
Fix a use after free crash in in_delmulti(). If a interface is detached
before it is removed from the multicast group in_delmulti() will try to
access the no longer available ifp.
We invalidate the ifa_ifp back pointer in the ifa in if_detach() now and use
the ifa_ifp in in_delmulti() instead of the internal inm_ifp. By doing it
this way we know if the interface was removed.
This fixes a kernel panic triggered by ospfd and gif(4) tunnels.
looks good henning@ reyk@
Diffstat (limited to 'include/fts.h')
0 files changed, 0 insertions, 0 deletions