Date: Fri, 30 Mar 2018 18:26:29 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r331776 - head/sys/netinet6 Message-ID: <201803301826.w2UIQTlB072280@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brooks Date: Fri Mar 30 18:26:29 2018 New Revision: 331776 URL: https://svnweb.freebsd.org/changeset/base/331776 Log: Remove a comment that suggests checking that a non-pointer is non-NULL. Reviewed by: melifaro, markj, hrs, ume Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D14904 Modified: head/sys/netinet6/in6.c Modified: head/sys/netinet6/in6.c ============================================================================== --- head/sys/netinet6/in6.c Fri Mar 30 18:26:26 2018 (r331775) +++ head/sys/netinet6/in6.c Fri Mar 30 18:26:29 2018 (r331776) @@ -476,10 +476,6 @@ in6_control(struct socket *so, u_long cmd, caddr_t dat error = EINVAL; goto out; } - /* - * XXX: should we check if ifa_dstaddr is NULL and return - * an error? - */ ifr->ifr_dstaddr = ia->ia_dstaddr; if ((error = sa6_recoverscope(&ifr->ifr_dstaddr)) != 0) goto out;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803301826.w2UIQTlB072280>