Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/netipsec



Module Name:    src
Committed By:   scw
Date:           Fri Jan 16 11:06:27 UTC 2004

Modified Files:
        src/sys/netipsec: ipsec_output.c xform_ipip.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 src/sys/netipsec/ipsec_output.c \
    src/sys/netipsec/xform_ipip.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index