diff options
author | sam <sam@FreeBSD.org> | 2004-01-20 22:45:10 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2004-01-20 22:45:10 +0000 |
commit | 0ac3a99bac662e7f27e474770539a21ab8c593bf (patch) | |
tree | ac4a2f5f2c5d428bf034a6c176f3ea1f11bff957 /etc | |
parent | d37c54b3a91f8ed5e9d94c5e4356f978869d0f7a (diff) | |
download | FreeBSD-src-0ac3a99bac662e7f27e474770539a21ab8c593bf.zip FreeBSD-src-0ac3a99bac662e7f27e474770539a21ab8c593bf.tar.gz |
Fix ipip_output() to always set *mp to NULL on failure, even if 'm'
is NULL, otherwise ipsec4_process_packet() may try to m_freem() a
bad pointer.
In ipsec4_process_packet(), don't try to m_freem() 'm' twice; ipip_output()
already did it.
Obtained from: netbsd
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions