aboutsummaryrefslogtreecommitdiff
path: root/slirp/udp6.c
diff options
context:
space:
mode:
Diffstat (limited to 'slirp/udp6.c')
-rw-r--r--slirp/udp6.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/slirp/udp6.c b/slirp/udp6.c
index 7c4a6b003a..986010f0d3 100644
--- a/slirp/udp6.c
+++ b/slirp/udp6.c
@@ -91,9 +91,6 @@ void udp6_input(struct mbuf *m)
if (so == NULL) {
/* If there's no socket for this packet, create one. */
so = socreate(slirp);
- if (!so) {
- goto bad;
- }
if (udp_attach(so, AF_INET6) == -1) {
DEBUG_MISC((dfd, " udp6_attach errno = %d-%s\n",
errno, strerror(errno)));