cvs commit: src/sys/netipsec ipsec_output.c xform_ipip.c
Sam Leffler
sam at FreeBSD.org
Tue Jan 20 14:45:12 PST 2004
sam 2004/01/20 14:45:10 PST
FreeBSD src repository
Modified files:
sys/netipsec ipsec_output.c xform_ipip.c
Log:
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
Revision Changes Path
1.10 +4 -1 src/sys/netipsec/ipsec_output.c
1.7 +2 -2 src/sys/netipsec/xform_ipip.c
More information about the cvs-src
mailing list