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:   ozaki-r
Date:           Fri Jul 14 12:26:26 UTC 2017

Modified Files:
        src/sys/netipsec: ipsec.h ipsec_output.c key.c key.h xform.h xform_ah.c
            xform_esp.c xform_ipcomp.c xform_ipip.c xform_tcp.c

Log Message:
Prepare to stop using isr->sav

isr is a shared resource and using isr->sav as a temporal storage
for each packet processing is racy. And also having a reference from
isr to sav makes the lifetime of sav non-deterministic; such a reference
is removed when a packet is processed and isr->sav is overwritten by
new one. Let's have a sav locally for each packet processing instead of
using shared isr->sav.

However this change doesn't stop using isr->sav yet because there are
some users of isr->sav. isr->sav will be removed after the users find
a way to not use isr->sav.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/netipsec/ipsec.h
cvs rdiff -u -r1.53 -r1.54 src/sys/netipsec/ipsec_output.c
cvs rdiff -u -r1.183 -r1.184 src/sys/netipsec/key.c
cvs rdiff -u -r1.22 -r1.23 src/sys/netipsec/key.h
cvs rdiff -u -r1.10 -r1.11 src/sys/netipsec/xform.h
cvs rdiff -u -r1.60 -r1.61 src/sys/netipsec/xform_ah.c
cvs rdiff -u -r1.61 -r1.62 src/sys/netipsec/xform_esp.c
cvs rdiff -u -r1.42 -r1.43 src/sys/netipsec/xform_ipcomp.c
cvs rdiff -u -r1.52 -r1.53 src/sys/netipsec/xform_ipip.c
cvs rdiff -u -r1.14 -r1.15 src/sys/netipsec/xform_tcp.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