From owner-freebsd-net@freebsd.org Tue Jan 8 20:38:27 2019 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56D13148A4F4 for ; Tue, 8 Jan 2019 20:38:27 +0000 (UTC) (envelope-from prabhakar.lakhera@gmail.com) Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48C8C76CC7 for ; Tue, 8 Jan 2019 20:38:26 +0000 (UTC) (envelope-from prabhakar.lakhera@gmail.com) Received: by mail-pf1-x42b.google.com with SMTP id i12so2480092pfo.7 for ; Tue, 08 Jan 2019 12:38:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=UNW2DGBEIVE54s3+LLB3VA3+3zhZsVNyiKmPZWj8Z1U=; b=PqEPuhh1MfTnYLZlzf5VjLb2Zc84cAcbFkX4E3BpvCfEmJQRPF3awV4Hs8aPAbG6hj wdXjJQisb15kso1R5NeRHucvQEDBo99exbwb4iveRyyRODqgCVQsRkjyzH1wu111/4Ns xF1kiO+AVQdVeaKLzucevnQm3xArHtUnSafShPveUC8iQ8A5b6p3oQI66Qz5BQMX/j4M s0RyOb83PM3UBPJe7Uhmt1gBjbRWWZDOoLHdZfsQfLqXHTPm/DeIkMLFTqaYHF2FKbmn jFo4XROwrt51ePZfRTmreR65iLg9K5labd/s9e6+BkzIV8yP6Mf65gqvW2G6zxJ5GNvL zMNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=UNW2DGBEIVE54s3+LLB3VA3+3zhZsVNyiKmPZWj8Z1U=; b=BWdQ0QfHk96GgYuBpj9uzgHZL2Hm+EkkEMbUmz1dRLZz8XFy9ckdXWNgCEs876qxet 6NPWGFrA73a2z8naSmPXH5+IipsQz0WE9+UWmiQl6WKonUe9Kd8IMXM2IrCyBMfS2M65 5QbBKLSs945sla2OSh0qxzt8xmYeGiSyjNmsxmqMLcMft2g9aZjo8Zj/fxpWZvtwmFAZ q6kZGa6SZ7GSZJrQTGWFxE0siXl8dWEbG/XBxck/LPqM70p0CtbyRvoRPMKmBupRuQXK 181dm/nZL67JX0GZE2hJbhccyjppfutE7P6nmViW9uALvfIJ9xOifjAILYNDCCGbtZcz Xsdw== X-Gm-Message-State: AJcUukdcYGdk/LgrBKC2OyCavG5Ba6jebGJGnvhNpfvdnzpHDUAeOdoL WW4/u6GlPtEalp1CT3H8ydbQO0XlxbFBCbFUVsIsUxtg X-Google-Smtp-Source: ALg8bN5VDRNkEsNnJsAZMdiJE7Sbfe15wXnJvOYdaffAFX5OKYhyY+hVPuyVP7LpmqMQIFGygvpRluNiYZSTuwdUM/0= X-Received: by 2002:a63:1d59:: with SMTP id d25mr2911877pgm.180.1546979904578; Tue, 08 Jan 2019 12:38:24 -0800 (PST) MIME-Version: 1.0 From: prabhakar lakhera Date: Tue, 8 Jan 2019 12:38:13 -0800 Message-ID: Subject: RFC 5095 Deprecation of Type 0 Routing Headers in IPv6 and FreeBSD To: freebsd-net@freebsd.org X-Rspamd-Queue-Id: 48C8C76CC7 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=PqEPuhh1; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of prabhakarlakhera@gmail.com designates 2607:f8b0:4864:20::42b as permitted sender) smtp.mailfrom=prabhakarlakhera@gmail.com X-Spamd-Result: default: False [-6.49 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.95)[-0.948,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-2.53)[ip: (-8.66), ipnet: 2607:f8b0::/32(-2.23), asn: 15169(-1.70), country: US(-0.08)]; RCVD_IN_DNSWL_NONE(0.00)[b.2.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jan 2019 20:38:27 -0000 Hi, Looks like: https://svnweb.freebsd.org/base?view=revision&revision=191942 I am wondering if it should also be removed from icmp6_notify_error? ################################################################## /* * XXX: currently there is no * officially defined type other * than type-0. * Note that if the segment left field * is 0, all intermediate hops must * have been passed. */ if (rth->ip6r_segleft && rth->ip6r_type == IPV6_RTHDR_TYPE_0) { int hops; #ifndef PULLDOWN_TEST IP6_EXTHDR_CHECK(m, 0, eoff + rthlen, -1); rth0 = (struct ip6_rthdr0 *) (mtod(m, caddr_t) + eoff); #else IP6_EXTHDR_GET(rth0, struct ip6_rthdr0 *, m, eoff, rthlen); if (rth0 == NULL) { ICMP6STAT_INC(icp6s_tooshort); return (-1); } #endif /* just ignore a bogus header */ if ((rth0->ip6r0_len % 2) == 0 && (hops = rth0->ip6r0_len/2)) finaldst = (struct in6_addr *)(rth0 + 1) + (hops - 1); } ##################################################################