diff options
| author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2019-11-12 15:46:28 +0000 |
|---|---|---|
| committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2019-11-12 15:46:28 +0000 |
| commit | a8fe77d877af46bb07e639b2d790aa10fe8c6835 (patch) | |
| tree | 4645d41abea2e18ed5f2dfa19e3100895211bfa2 /sys/netinet/tcp_input.c | |
| parent | 4df8c94283e0981885af288035c1eab720a8476a (diff) | |
Notes
Diffstat (limited to 'sys/netinet/tcp_input.c')
| -rw-r--r-- | sys/netinet/tcp_input.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index c1190614a2fd7..41712c8949d10 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -530,11 +530,13 @@ tcp6_input(struct mbuf **mp, int *offp, int proto) ifa_free(&ia6->ia_ifa); icmp6_error(m, ICMP6_DST_UNREACH, ICMP6_DST_UNREACH_ADDR, (caddr_t)&ip6->ip6_dst - (caddr_t)ip6); + *mp = NULL; return (IPPROTO_DONE); } if (ia6) ifa_free(&ia6->ia_ifa); + *mp = m; return (tcp_input(mp, offp, proto)); } #endif /* INET6 */ |
