DELTA 276188 400 265 SVNćWç C ™€BÍV™B state; #define IPSEC_SPSTATE_DEAD 0 #define IPSEC_SPSTATE_ALIVE 1ENDREP DELTA 277797 0 71 SVN† † !ƒ ‚Š€?‡‚ŠI˘Őƒ°F€9‚—O„…Uƒif (sp->state == IPSEC_SPSTATE_DEAD) { SPTREE_WUNLOCK(); return; } sp->state = IPSEC_SPSTATE_DEAD; TAILQ_REMOVE(&V_sptree[sp->spidx.dir], sp, chain); SPTREE_WUNLOCK(); KEY_FREESP(&spnewsp->state = IPSEC_SPSTATE_ALIVE/* * We need to set state to DEAD for each policy to be sure, * that another thread won't try to unlink it. */ TAILQ_FOREACH(sp, &drainq, chain) sp->state = IPSEC_SPSTATE_DEAD;† …űV…ţEƒ&€‚\°d€H…Ę=ąƒ$s enabled, check ports for tunnel mode. * Do not check ports if they are set to zero in the SPD. * Also do not do it for native transport mode, as there * is no port information available in the SP. */ if ((saidx1->mode == IPSEC_MODE_TUNNEL || (saidx1->mode == IPSEC_MODE_TRANSPORT && saidx1->proto == IPPROTO_ESP)) && _ADDREF(sp); SPTREE_RUNLOCK(); key_spdexpire(sp); key_unlinkENDREP id: l-105197.0.r279234/1052 type: file pred: l-105197.0.r276188/2934 count: 44 text: 279234 0 90 13216 0fc833cf0e71111bb13c053cc04133b6 7ba363f9dcfac9d6b2ebadbd9d228c45565b851d 279233-5zgh/_4 props: 2 314168 38 0 b6b34f029ed66be42751a530d6e4b830 cpath: /head/sys/netipsec/ipsec.h copyroot: 0 / id: v-105197.0.r279234/1347 type: file pred: v-105197.0.r277797/101 count: 99 text: 279234 118 909 200517 3e11b1f835619c64e5002262daca3637 c7954de59714effe573447c730eaecb90dbbbe90 279233-5zgh/_5 props: 2 314168 38 0 b6b34f029ed66be42751a530d6e4b830 cpath: /head/sys/netipsec/key.c copyroot: 0 / PLAIN K 4 ah.h V 30 file 4-105197.0.r139823/225462 K 8 ah_var.h V 28 file 7-105197.0.r253088/4082 K 5 esp.h V 30 file 9-105197.0.r139823/226064 K 9 esp_var.h V 28 file b-105197.0.r253088/4378 K 8 ipcomp.h V 30 file d-105197.0.r139823/226668 K 12 ipcomp_var.h V 28 file f-105197.0.r253088/4677 K 7 ipsec.c V 28 file j-105197.0.r276188/2639 K 7 ipsec.h V 28 file l-105197.0.r279234/1052 K 8 ipsec6.h V 28 file n-105197.0.r275707/4786 K 13 ipsec_input.c V 28 file p-105197.0.r275707/5083 K 12 ipsec_mbuf.c V 29 file r-105197.0.r275392/13543 K 14 ipsec_output.c V 28 file t-105197.0.r275708/8686 K 5 key.c V 28 file v-105197.0.r279234/1347 K 5 key.h V 28 file x-105197.0.r275438/5206 K 11 key_debug.c V 28 file z-105197.0.r276188/3530 K 11 key_debug.h V 29 file 11-105197.0.r275438/5806 K 9 key_var.h V 30 file 13-105197.0.r262489/26349 K 7 keydb.h V 29 file 15-105197.0.r275438/6110 K 9 keysock.c V 30 file 17-105197.0.r276750/99718 K 9 keysock.h V 29 file 19-105197.0.r275438/6713 K 7 xform.h V 27 file 1b-105197.0.r275159/49 K 10 xform_ah.c V 29 file 1d-105197.0.r275707/5389 K 11 xform_esp.c V 29 file 1f-105197.0.r275707/5693 K 14 xform_ipcomp.c V 29 file 1h-105197.0.r275707/5999 K 12 xform_ipip.c V 30 file 1j-105197.0.r275392/16568 K 11 xform_tcp.c V 29 file 3-127785.0.r275392/16873 END ENDREP id: 2-105197.0.r279234/2942 type: dir pred: 2-105197.0.r277797/1693 count: 302 text: 279234 1643 1286 0 6d3f01dbdfae0a1c63c966d52c2b5a6e cpath: /head/sys/netipsec copyroot: 0 / PLAIN K 8 Makefile V 24 file 2-1598.0.r272019/50 K 5 amd64 V 22 dir o-5.0.r279228/5389 K 3 arm V 26 dir 2-70651.0.r279215/5886 K 4 boot V 27 dir 6j-38465.0.r279222/5937 K 3 bsm V 26 dir 2-141144.0.r264236/981 K 3 cam V 26 dir 2-39212.0.r279229/3307 K 4 cddl V 28 dir br-168404.0.r278997/3020 K 6 compat V 25 dir k-9313.0.r277611/6809 K 4 conf V 22 dir y-5.0.r279013/2976 K 7 contrib V 28 dir 2-23283.0.r278970/235409 K 6 crypto V 28 dir 7-55009.0.r275732/121783 K 3 ddb V 23 dir 10-5.0.r273006/8168 K 3 dev V 24 dir 12-5.0.r279233/27152 K 2 fs V 25 dir 2-1541.0.r278802/2782 K 3 gdb V 27 dir h-131899.0.r271173/6790 K 4 geom V 26 dir 2-13041.0.r277170/9366 K 3 gnu V 28 dir 2-1421.0.r276479/1930730 K 4 i386 V 23 dir 1c-5.0.r278976/6451 K 3 isa V 23 dir 1w-5.0.r263379/9436 K 4 kern V 24 dir 20-5.0.r279209/11484 K 7 kgssapi V 29 dir 13-184588.0.r273707/19780 K 7 libkern V 25 dir 9-1542.0.r277903/4708 K 4 mips V 27 dir 2-178171.0.r278829/6447 K 7 modules V 26 dir i-2834.0.r279180/18026 K 3 net V 25 dir x-1542.0.r279071/6422 K 8 net80211 V 27 dir 2-116742.0.r276993/4609 K 8 netgraph V 27 dir 69-52419.0.r278640/5469 K 7 netinet V 26 dir 4f-1541.0.r279031/7334 K 8 netinet6 V 27 dir q-52904.0.r279030/16703 K 8 netipsec V 27 dir 2-105197.0.r279234/2942 K 7 netnatm V 27 dir 7-25604.0.r257179/42996 K 7 netpfil V 28 dir 11-240494.0.r278925/1791 K 6 netsmb V 26 dir u-75374.0.r264600/1203 K 3 nfs V 27 dir 4l-1541.0.r276096/44810 K 9 nfsclient V 27 dir 4r-1541.0.r276096/45334 K 9 nfsserver V 26 dir 5l-1541.0.r276780/4259 K 3 nlm V 29 dir 1i-177633.0.r273707/29853 K 4 ofed V 29 dir 1hj-219820.0.r279205/5653 K 10 opencrypto V 29 dir 2-104476.0.r275732/157960 K 4 pc98 V 27 dir p-10097.0.r276772/65235 K 7 powerpc V 23 dir 22-5.0.r279217/2280 K 3 rpc V 25 dir u-1839.0.r278100/2421 K 8 security V 27 dir 2-86630.0.r275856/43635 K 7 sparc64 V 27 dir 2-79054.0.r278870/29490 K 3 sys V 24 dir 28-5.0.r279221/14780 K 5 teken V 35 dir h-186681.0-196775.r276292/41392 K 5 tools V 26 dir 6k-1541.0.r270863/1334 K 3 ufs V 26 dir 1a-1542.0.r278257/1821 K 2 vm V 26 dir 1k-1542.0.r278888/2952 K 3 x86 V 28 dir 11-204309.0.r279117/1991 K 3 xdr V 29 dir 46-177633.0.r248318/15729 K 3 xen V 27 dir 2-181624.0.r276767/1238 END ENDREP id: g-5.0.r279234/5342 type: dir pred: g-5.0.r279233/29558 count: 99811 text: 279234 3120 2209 0 6048e004ecd3244b498d3b560f5ad3ca props: 276479 1975961 1115 0 a4565f2bfb318862020b062be39336c6 cpath: /head/sys copyroot: 0 / minfo-cnt: 30 minfo-here: y PLAIN K 10 .arcconfig V 26 file 1-265842.0.r269985/48 K 8 .arclint V 27 file 1-266959.0.r266959/151 K 9 COPYRIGHT V 25 file 1-2656.0.r276462/908 K 5 LOCKS V 27 file 1-146890.0.r255635/270 K 11 MAINTAINERS V 27 file 1-94742.0.r276479/7979 K 8 Makefile V 28 file 3-1594.0-1595.r271168/0 K 13 Makefile.inc1 V 26 file 5-38666.0.r279198/242 K 17 ObsoleteFiles.inc V 28 file 4-148330.0.r279150/1193 K 6 README V 26 file 1-21173.0.r215293/143 K 8 UPDATING V 25 file 1-41806.0.r279103/52 K 3 bin V 22 dir 1-5.0.r279188/5856 K 4 cddl V 28 dir 1-168404.0.r278934/10501 K 7 contrib V 27 dir 1-16755.0.r279219/67104 K 6 crypto V 27 dir 1-25405.0.r277270/39895 K 3 etc V 23 dir 1-38.0.r279093/4852 K 5 games V 25 dir 1-2491.0.r279150/2358 K 3 gnu V 23 dir 1-3.0.r277273/13160 K 7 include V 24 dir 1-697.0.r278600/5364 K 9 kerberos5 V 28 dir 4q-29815.0.r277273/17554 K 3 lib V 23 dir 6-5.0.r279219/74256 K 7 libexec V 22 dir c-5.0.r278192/8162 K 7 release V 25 dir 1-3027.0.r279074/1548 K 6 rescue V 28 dir 7-117035.0.r279219/75186 K 4 sbin V 24 dir fa-4.0.r278964/13753 K 6 secure V 25 dir r-1553.0.r277274/2255 K 5 share V 24 dir e-3.0.r279219/109704 K 3 sys V 22 dir g-5.0.r279234/5342 K 5 tests V 29 dir g-257097.0.r275732/179034 K 5 tools V 26 dir 43-1590.0.r279150/4579 K 7 usr.bin V 24 dir m-3.0.r279219/144798 K 8 usr.sbin V 23 dir q-3.0.r279227/14024 END ENDREP id: 5-1.0.r279234/6951 type: dir pred: 5-1.0.r279233/31170 count: 190249 text: 279234 5594 1344 0 3c10b5d14dbbcf8952bcc6284c5cd1ea props: 278202 67543 1039 0 cef24247376f7ce51170018396de35fb cpath: /head copyroot: 0 / minfo-cnt: 147 minfo-here: y PLAIN K 11 ROADMAP.txt V 26 file 0-179453.0.r276817/47 K 4 head V 22 dir 5-1.0.r279234/6951 K 8 projects V 25 dir 6-1.0.r279216/5119353 K 7 release V 22 dir 7-1.0.r274417/3010 K 6 releng V 23 dir 8-1.0.r277808/70815 K 6 stable V 23 dir 9-1.0.r279224/63861 K 8 svnadmin V 27 dir 0-179447.0.r279226/1305 K 4 user V 23 dir a-1.0.r279214/16474 K 6 vendor V 22 dir b-1.0.r279193/6525 K 13 vendor-crypto V 25 dir 0-1575.0.r277269/3609 K 10 vendor-sys V 26 dir 0-12116.0.r278227/6038 END ENDREP id: 0.0.r279234/7687 type: dir pred: 0.0.r279233/31909 count: 279234 text: 279234 7199 475 0 0459b9d233f0038d4f72182ede58c8fa props: 268296 0 4065 0 355af92b91f7afa3e8c1f0f3befeb918 cpath: / copyroot: 0 / minfo-cnt: 42796 l-105197.0.t279233-5zgh modify-file true false /head/sys/netipsec/ipsec.h v-105197.0.t279233-5zgh modify-file true false /head/sys/netipsec/key.c 7687 7910