Module Name: src Committed By: mrg Date: Wed Feb 7 06:21:23 UTC 2018
Modified Files: src/sys/netinet: ip_output.c Log Message: ip_add_membership() has an missing {} issue, but solve it by dropping the "goto out" that would have happened immediately next anyway, ie, should be NFC. To generate a diff of this commit: cvs rdiff -u -r1.293 -r1.294 src/sys/netinet/ip_output.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/netinet/ip_output.c diff -u src/sys/netinet/ip_output.c:1.293 src/sys/netinet/ip_output.c:1.294 --- src/sys/netinet/ip_output.c:1.293 Tue Feb 6 17:08:18 2018 +++ src/sys/netinet/ip_output.c Wed Feb 7 06:21:23 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: ip_output.c,v 1.293 2018/02/06 17:08:18 maxv Exp $ */ +/* $NetBSD: ip_output.c,v 1.294 2018/02/07 06:21:23 mrg Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -91,7 +91,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.293 2018/02/06 17:08:18 maxv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.294 2018/02/07 06:21:23 mrg Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -1827,7 +1827,6 @@ ip_add_membership(struct ip_moptions *im error = ip6_get_membership(sopt, &ifp, &psref, &ia, sizeof(ia)); #else error = EINVAL; - goto out; #endif if (error)