diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2020-07-01 15:42:48 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2020-07-01 15:42:48 +0000 |
| commit | d16a2e47844cc200a6f58858932e4a3937bad9f0 (patch) | |
| tree | e17ec4d87f907dd3ea7f16f0460d2b7f5801d421 /sys | |
| parent | f6c03fc6d0b0cb95c03dcfe7f6e7ebd2e903568c (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/netinet/ip_input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 1d574560feb0..851a2488b8a5 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -1028,6 +1028,7 @@ ip_forward(struct mbuf *m, int srcrt) if (IPSEC_ENABLED(ipv4)) { if ((error = IPSEC_FORWARD(ipv4, m)) != 0) { /* mbuf consumed by IPsec */ + RO_NHFREE(&ro); m_freem(mcopy); if (error != EINPROGRESS) IPSTAT_INC(ips_cantforward); |
