From owner-svn-src-stable-10@freebsd.org Mon Dec 7 21:03:55 2020 Return-Path: Delivered-To: svn-src-stable-10@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D7F274B70BF for ; Mon, 7 Dec 2020 21:03:55 +0000 (UTC) (envelope-from 3SpfOXwsJEbcmXZhXo.hXkbdjXfi.Zljpsk-poZ-pqXYib-yxcobbYpa.lod@trix.bounces.google.com) Received: from mail-pg1-x546.google.com (mail-pg1-x546.google.com [IPv6:2607:f8b0:4864:20::546]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CqbQM18C3z3rNk for ; Mon, 7 Dec 2020 21:03:55 +0000 (UTC) (envelope-from 3SpfOXwsJEbcmXZhXo.hXkbdjXfi.Zljpsk-poZ-pqXYib-yxcobbYpa.lod@trix.bounces.google.com) Received: by mail-pg1-x546.google.com with SMTP id j14so7789000pgs.13 for ; Mon, 07 Dec 2020 13:03:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:message-id:date:subject:from:to; bh=lgRMgsZ9fjOPoEh4hfkoiBXjwJ798QQbLELWz2tSUag=; b=NALsGipDNSDTeeLncNxIfIihGTavFt4IN7pBPV711CkHqE8KvHa7chtfdnVXrfNTv6 SysnWU0r+rS2FxxXE0RFa8AZIu+NenpOo4/5XHdMlTSk81V2w1TMRVt0sRGuh+vIgeJT EXkuA3Scq/SdLFPwmUm36JLs2T+eV9rjaXTZCuvBpfsG83Pi3aFvmszj9ZJQDQT1bkaG 8dAweB/6EbIkFEkFygmxYRV1MQxFEjn7BtmdpHwz0YnX8RblDoOR6KO3CAxYjpPKx981 g8hOptIuc81VWqzzKLaA3HyYPbRiD7lw33WLbyFtTbreOyEjhglzb7om3VsTLFKKu8he Gmtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:message-id:date:subject :from:to; bh=lgRMgsZ9fjOPoEh4hfkoiBXjwJ798QQbLELWz2tSUag=; b=hy7GcJw9cnxUEiWBjDAWW0mNfStZhXQ9/NFzN+C3VG5opDRR3t7MJDGjLFIKVKtj7B YyoykvgH+FiggLTsJI9qXXhT5TJRwq+FiRs0G19eSitUdLxWU9wQMvVUjwgAOu90q+uG IzZxjbd3jEbCQrv5JQeJN7Gi99CEM2JRpV4tA2SbNJAyS/gEnULFRnGQGYecih/yr99j tiN5Ql2gG0Io0S6QHC0Lu7SVDZAGJluh2ifdAlp1kbKozn2okpGpwqbDeRg2Bd2EfGJN CMvcY9EDDce07KfHJ/2HmGU+Rfy4WMext1vbXKrQ5p3zxvwbNNRqhdbnPLb1J005mttu hi2g== X-Gm-Message-State: AOAM531pRiKu98wGVXlFyplIAoqv/YL4EbbrPan83tmp3Lrh36vOsrxz ZcXnTSixnNpXj9xL0WqUMBTDmNhnBjm6CVMtpFPU MIME-Version: 1.0 X-Received: by 2002:a62:b607:0:b029:197:7177:df6e with SMTP id j7-20020a62b6070000b02901977177df6emt15755363pff.4.1607374666198; Mon, 07 Dec 2020 12:57:46 -0800 (PST) Reply-To: packar.kane@gmail.com X-No-Auto-Attachment: 1 Message-ID: <0000000000000014c905b5e6143d@google.com> Date: Mon, 07 Dec 2020 21:03:54 +0000 Subject: You get my email From: packar.kane@gmail.com To: svn-src-stable-10@freebsd.org X-Rspamd-Queue-Id: 4CqbQM18C3z3rNk X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=NALsGipD; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of 3SpfOXwsJEbcmXZhXo.hXkbdjXfi.Zljpsk-poZ-pqXYib-yxcobbYpa.lod@trix.bounces.google.com designates 2607:f8b0:4864:20::546 as permitted sender) smtp.mailfrom=3SpfOXwsJEbcmXZhXo.hXkbdjXfi.Zljpsk-poZ-pqXYib-yxcobbYpa.lod@trix.bounces.google.com X-Spamd-Result: default: False [-3.70 / 15.00]; HAS_REPLYTO(0.00)[packar.kane@gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; 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]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[packarkane@gmail.com,3SpfOXwsJEbcmXZhXo.hXkbdjXfi.Zljpsk-poZ-pqXYib-yxcobbYpa.lod@trix.bounces.google.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::546:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[packarkane@gmail.com,3SpfOXwsJEbcmXZhXo.hXkbdjXfi.Zljpsk-poZ-pqXYib-yxcobbYpa.lod@trix.bounces.google.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; REPLYTO_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FREEMAIL_REPLYTO(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[svn-src-stable-10@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::546:from:127.0.2.255]; FROM_NO_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::546:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[svn-src-stable-10] Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: svn-src-stable-10@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for only the 10-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2020 21:03:55 -0000 I've invited you to fill out the following form: Untitled form To fill it out, visit: https://docs.google.com/forms/d/e/1FAIpQLSfnEHD2_CNTJYIVH7sDpLJ-xXgrkXb-MenDNrMni0actgeXhQ/viewform?vc=0&c=0&w=1&flr=0&usp=mail_form_link Hello, I contacted you because I want to invest in your country,if you confirm your interest that you can handle the fund in a good investment. reply on this email only: reem.alhashimi@kakao.com Regards, Ms. Reem Al-hashimi Google Forms: Create and analyze surveys. From owner-svn-src-stable-10@freebsd.org Thu Dec 10 09:39:27 2020 Return-Path: Delivered-To: svn-src-stable-10@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A874947B035; Thu, 10 Dec 2020 09:39:27 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cs85C4Rynz3QKS; Thu, 10 Dec 2020 09:39:27 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8B8EC1682A; Thu, 10 Dec 2020 09:39:27 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0BA9dRgT089199; Thu, 10 Dec 2020 09:39:27 GMT (envelope-from hselasky@FreeBSD.org) Received: (from hselasky@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0BA9dRGH089198; Thu, 10 Dec 2020 09:39:27 GMT (envelope-from hselasky@FreeBSD.org) Message-Id: <202012100939.0BA9dRGH089198@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: hselasky set sender to hselasky@FreeBSD.org using -f From: Hans Petter Selasky Date: Thu, 10 Dec 2020 09:39:27 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r368505 - stable/10/sbin/ifconfig X-SVN-Group: stable-10 X-SVN-Commit-Author: hselasky X-SVN-Commit-Paths: stable/10/sbin/ifconfig X-SVN-Commit-Revision: 368505 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-10@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for only the 10-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2020 09:39:27 -0000 Author: hselasky Date: Thu Dec 10 09:39:27 2020 New Revision: 368505 URL: https://svnweb.freebsd.org/changeset/base/368505 Log: Fix bug in ifconfig regarding VLAN creation. Detection of VLAN interface type must happen before detection of interface type by prefix. Else the following sequence of commands will try to create a LAGG interface instead of a VLAN interface, which accidentially works, because the data pointed to by the ifr_data pointer is not parsed by the VLAN create ioctl(2). How to reproduce: # ifconfig lagg0 create # ifconfig lagg0.256 create This is a direct commit. Differential Revision: https://reviews.freebsd.org/D27521 Tested by: raul.munoz@custos.es Sponsored by: Mellanox Technologies // NVIDIA Networking Modified: stable/10/sbin/ifconfig/ifclone.c Modified: stable/10/sbin/ifconfig/ifclone.c ============================================================================== --- stable/10/sbin/ifconfig/ifclone.c Thu Dec 10 09:37:06 2020 (r368504) +++ stable/10/sbin/ifconfig/ifclone.c Thu Dec 10 09:39:27 2020 (r368505) @@ -122,6 +122,7 @@ ifclonecreate(int s, void *arg) struct ifreq ifr; struct clone_defcb *dcp; clone_callback_func *clone_cb = NULL; + const char *ifr_name = strchr(name, '.') ? "vlan" : name; memset(&ifr, 0, sizeof(ifr)); (void) strlcpy(ifr.ifr_name, name, sizeof(ifr.ifr_name)); @@ -129,7 +130,7 @@ ifclonecreate(int s, void *arg) if (clone_cb == NULL) { /* Try to find a default callback */ SLIST_FOREACH(dcp, &clone_defcbh, next) { - if (strncmp(dcp->ifprefix, ifr.ifr_name, + if (strncmp(dcp->ifprefix, ifr_name, strlen(dcp->ifprefix)) == 0) { clone_cb = dcp->clone_cb; break;