On Thu, Feb 08, 2018 at 09:45:26AM +1300, richard.n.proc...@gmail.com wrote:
> Anyways, I'll commit the simplification below. Having raised the issue, I 
> should have provided it in the first place.

OK bluhm@

> Index: netinet/ip_ah.c
> ===================================================================
> RCS file: /cvs/src/sys/netinet/ip_ah.c,v
> retrieving revision 1.135
> diff -u -p -u -r1.135 ip_ah.c
> --- netinet/ip_ah.c   6 Feb 2018 14:54:22 -0000       1.135
> +++ netinet/ip_ah.c   6 Feb 2018 20:01:57 -0000
> @@ -670,7 +670,7 @@ ah_input(struct mbuf *m, struct tdb *tdb
>       error = ah_massage_headers(&m, tdb->tdb_dst.sa.sa_family, skip,
>           ahx->type, 0);
>       if (error) {
> -             /* mbuf will be free'd by callee. */
> +             /* mbuf was freed by callee. */
>               free(tc, M_XDATA, 0);
>               crypto_freereq(crp);
>               return error;
> @@ -1158,7 +1158,7 @@ ah_output(struct mbuf *m, struct tdb *td
>       error = ah_massage_headers(&m, tdb->tdb_dst.sa.sa_family, skip,
>           ahx->type, 1);
>       if (error) {
> -             /* mbuf will be free'd by callee. */
> +             /* mbuf was freed by callee. */
>               free(tc, M_XDATA, 0);
>               crypto_freereq(crp);
>               return error;

Reply via email to