Fix kernel compilation without INET6 in the config.
authorSascha Wildner <saw@online.de>
Thu, 22 Oct 2015 11:14:03 +0000 (13:14 +0200)
committerSascha Wildner <saw@online.de>
Thu, 22 Oct 2015 11:14:03 +0000 (13:14 +0200)
Reported-by: Rimvydas Jasinskas <rimvydas.jasinskas@gmail.com>
sys/netinet/tcp_subr.c

index 09d1092..f7356da 100644 (file)
@@ -2351,7 +2351,9 @@ tcp_drop_sysctl_dispatch(netmsg_t nmsg)
        } else {
                error = ESRCH;
        }
+#ifdef INET6
 done:
+#endif
        lwkt_replymsg(lmsg, error);
 }