1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys/netipsec
Sam Leffler b5b47bc6fa 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
2004-01-20 22:45:10 +00:00
..
ah_var.h
ah.h
esp_var.h
esp.h
ipcomp_var.h
ipcomp.h
ipip_var.h
ipsec6.h
ipsec_input.c MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
ipsec_mbuf.c Push m_apply() and m_getptr() up into the colleciton of standard mbuf 2003-12-15 21:49:41 +00:00
ipsec_osdep.h os dependency glue file for improving portability 2003-09-29 22:47:45 +00:00
ipsec_output.c Fix ipip_output() to always set *mp to NULL on failure, even if 'm' 2004-01-20 22:45:10 +00:00
ipsec.c MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
ipsec.h fix build after KAME changes 2004-01-20 22:44:21 +00:00
key_debug.c MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
key_debug.h
key_var.h
key.c MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
key.h Locking and misc cleanups; most of which I've been running for >4 months: 2003-09-01 05:35:55 +00:00
keydb.h MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
keysock.c Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
keysock.h
xform_ah.c MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
xform_esp.c MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
xform_ipcomp.c MFp4: portability work, general cleanup, locking fixes 2003-09-29 22:57:43 +00:00
xform_ipip.c Fix ipip_output() to always set *mp to NULL on failure, even if 'm' 2004-01-20 22:45:10 +00:00
xform.h