From nobody Thu Jan 27 17:29:22 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2CFC019794DD; Thu, 27 Jan 2022 17:29:25 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jl6ys0Z3Pz4nBp; Thu, 27 Jan 2022 17:29:25 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: by mail-lf1-x12e.google.com with SMTP id o12so6692456lfg.12; Thu, 27 Jan 2022 09:29:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0UvGASUshu4sHmfVYrasGJFnLpuUqImsdy10Il34zCI=; b=AxFIqYad5/ey1hGTr0QyR378WetwWNsrMp0TIwXrWvoBUz71AnO+v6iCTlhQOd5Wq7 kNUX5IpK+d8OsIWvdpeFlSRyKK78utHaFFOxHSL6xVa4w+dQkJBCg7AzqcCNEPcEqfxM GCOxKuxxI9slRs8sarZtKnroFN6FRfa4eJPhtfVCb9EeV3ws53q+dBaIuHY2A5vrM4gb X9Ykj/gzWxL65R0oe9GcOPy93IfMbwoKh38mafk3+0219ls5bv0YDebn5yqol+188bTF R40jOevlABrV/BbSL4tWrPE9rxDRuqOGVVNAG1ravQUOFD1JujtNwztcJ1AE5HCOQYDb wpiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=0UvGASUshu4sHmfVYrasGJFnLpuUqImsdy10Il34zCI=; b=rX0vIxV6fjqwcpQKAEdy/lw5F7EBpUlQr0xqZQcVcpy0xK5rcI7zEbDndyPNN03IY2 d3x1O6q060qMkV7OfBEq1ZfNTRgH27CrVZbzyt5HcKRSy2ZbSKFZ2K1wSsnPBfpGFfPf KSjMrXwdjawwvle3bdaN6TAEHXBc7SJtdd6yZsZ0Hvc/TSBVz0TVuvfmSzaA4Uahriv0 mpCmHaMSdNOd4ToH4n3OJBo8+3pKw2ZC9jJHvFZHVfULRwznxCUOXiL4eyQQkb8Y+d/o 4Rf2B357seZXfP1HilLewQhTBGQNvUwKadMUhW+UywKXzzdgYaqvhlh4NnmXpnoUn0j5 FIzQ== X-Gm-Message-State: AOAM530MpXvPxCqNOUV+LSGu1+mNNyHHsKgiB9EiWqy8GXo5+HrhNKdR UJGMCXlZQUnS8YFD3p46H4I5yRHLFUFAIMTYNfqMRGko X-Google-Smtp-Source: ABdhPJzb322SBM+8+5IDES9dMHdwYQRiMEuUsVG1J+wln+Kl7kckbk7+itJmTtOldM5kjs86JLFdwo29TK98bgtKNts= X-Received: by 2002:a05:6512:118c:: with SMTP id g12mr3510639lfr.55.1643304563635; Thu, 27 Jan 2022 09:29:23 -0800 (PST) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Received: by 2002:aa6:db8e:0:b0:16e:b0b:e03e with HTTP; Thu, 27 Jan 2022 09:29:22 -0800 (PST) In-Reply-To: References: <202201270600.20R602KH059925@gitrepo.freebsd.org> From: Mateusz Guzik Date: Thu, 27 Jan 2022 18:29:22 +0100 Message-ID: Subject: Re: git: e1882428dcbb - main - ifnet/mbuf: provide KPI to serialize/restore m->m_pkthdr.rcvif To: Gleb Smirnoff Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4Jl6ys0Z3Pz4nBp X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N this works On 1/27/22, Gleb Smirnoff wrote: > Mateusz, > > can you please confirm this patch works: > > diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c > index 9ab07b374ea..c5f842de2b7 100644 > --- a/sys/net/rtsock.c > +++ b/sys/net/rtsock.c > @@ -2169,14 +2169,12 @@ rt_dispatch(struct mbuf *m, sa_family_t saf) > *(unsigned short *)(tag + 1) = saf; > m_tag_prepend(m, tag); > } > -#ifdef VIMAGE > if (V_loif) > m->m_pkthdr.rcvif = V_loif; > else { > m_freem(m); > return; > } > -#endif > netisr_queue(NETISR_ROUTE, m); /* mbuf is free'd on failure. */ > } > > -- > Gleb Smirnoff > -- Mateusz Guzik