From owner-svn-src-all@FreeBSD.ORG Fri Apr 4 15:55:38 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9E1CA22B; Fri, 4 Apr 2014 15:55:38 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B257F60; Fri, 4 Apr 2014 15:55:38 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s34FtcN1064726; Fri, 4 Apr 2014 15:55:38 GMT (envelope-from ae@svn.freebsd.org) Received: (from ae@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s34FtcXb064725; Fri, 4 Apr 2014 15:55:38 GMT (envelope-from ae@svn.freebsd.org) Message-Id: <201404041555.s34FtcXb064725@svn.freebsd.org> From: "Andrey V. Elsukov" Date: Fri, 4 Apr 2014 15:55:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r264124 - head/sys/netipsec X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2014 15:55:38 -0000 Author: ae Date: Fri Apr 4 15:55:38 2014 New Revision: 264124 URL: http://svnweb.freebsd.org/changeset/base/264124 Log: Remove dead code. MFC after: 1 week Sponsored by: Yandex LLC Modified: head/sys/netipsec/xform_ipip.c Modified: head/sys/netipsec/xform_ipip.c ============================================================================== --- head/sys/netipsec/xform_ipip.c Fri Apr 4 15:52:45 2014 (r264123) +++ head/sys/netipsec/xform_ipip.c Fri Apr 4 15:55:38 2014 (r264124) @@ -65,9 +65,6 @@ #include #include #include -#ifdef MROUTING -#include -#endif #include #include @@ -208,18 +205,8 @@ _ipip_input(struct mbuf *m, int iphlen, return; } } - ipo = mtod(m, struct ip *); -#ifdef MROUTING - if (ipo->ip_v == IPVERSION && ipo->ip_p == IPPROTO_IPV4) { - if (IN_MULTICAST(((struct ip *)((char *) ipo + iphlen))->ip_dst.s_addr)) { - ipip_mroute_input (m, iphlen); - return; - } - } -#endif /* MROUTING */ - /* Keep outer ecn field. */ switch (v >> 4) { #ifdef INET