diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2024-12-29 07:12:26 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2025-01-13 19:29:32 +0000 |
| commit | 0ff2d00d2aa37cd883ffd8c7363dddef9cba267e (patch) | |
| tree | f2907311f4ad3bf405f3549722286463ab6b760a /sys/netinet6 | |
| parent | b0e020764aae970545357b0f146dcba7b4b55864 (diff) | |
Diffstat (limited to 'sys/netinet6')
| -rw-r--r-- | sys/netinet6/ip6_output.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index c6907835bc67..c48101aa2990 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -792,26 +792,12 @@ nonh6lookup: * XXX: need scope argument. */ if (IPSEC_ENABLED(ipv6)) { - struct mbuf *m1; - - error = mb_unmapped_to_ext(m, &m1); - if (error != 0) { - if (error == ENOMEM) { - IP6STAT_INC(ip6s_odropped); - error = ENOBUFS; - goto bad; - } - /* XXXKIB */ - goto no_ipsec; - } - m = m1; if ((error = IPSEC_OUTPUT(ipv6, ifp, m, inp, mtu == 0 ? ifp->if_mtu : mtu)) != 0) { if (error == EINPROGRESS) error = 0; goto done; } -no_ipsec:; } #endif /* IPSEC */ |
