Source-Changes archive

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

CVS commit: [netbsd-4] src/sys/netinet6



Module Name:    src
Committed By:   xtraeme
Date:           Tue Sep 25 00:45:49 UTC 2007

Modified Files:
        src/sys/netinet6 [netbsd-4]: ah_output.c esp_output.c ipcomp_output.c

Log Message:
Pull up following revision(s) (requested by degroote in ticket #896):
        sys/netinet6/ipcomp_output.c: revision 1.22
        sys/netinet6/ah_output.c: revision 1.30
        sys/netinet6/esp_output.c: revision 1.30

{ah,esp,ipcomp}_output must return 0 on success. On failure, it returns the
error and m is freed. Previously, it was not the case in ipcomp and esp case
(aka in some case, it returns 0 with m freed, or an error and m was not freed).

In ipcomp_output, fix some leak of mcopy too.

Use the same error path in {ah,esp,ipcomp}_output.

Problem was reported by Wolfgang Stukenbrock in pr/36768.


To generate a diff of this commit:
cvs rdiff -r1.28 -r1.28.2.1 src/sys/netinet6/ah_output.c
cvs rdiff -r1.26.2.1 -r1.26.2.2 src/sys/netinet6/esp_output.c
cvs rdiff -r1.20 -r1.20.2.1 src/sys/netinet6/ipcomp_output.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