Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3189043pxj; Mon, 10 May 2021 21:45:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHgJOy1cF5qQUQB2ARn12ktGyDqK01Nsec8Z680vNmup8amt1ETkSoIkc+fbtaMZcNzDyw X-Received: by 2002:a02:6d13:: with SMTP id m19mr15182741jac.65.1620708315731; Mon, 10 May 2021 21:45:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620708315; cv=none; d=google.com; s=arc-20160816; b=wrtOxsEJhRmolqV8m0RVwSsUiFQT6AZm5WUCYbMfpaJApRTVolHQO3sAS3sxPnTW/P PoChVl51PmU0f9T7Ou8n5XSI/U8QUIk2ojmQGZtqatmUk1T/I+5TWA/lvA1JKxc4TyIg ANoic85bqvgWhrwSJQfThzulHyluKfzo4xhi943IuGbyvQ8ZifjZU334HKlwRZ3QN1Tl 6acVwhhO9GdYLosWbxaeV+ptPXSV/wXQHMfKLOOgQuO2aq8Aho2Hrj9t7sUi8AfkUHEG qn/jbcGwtaGtTmud8knOyOn6KsumtOwa3LbOJ6sGG7bdLbncaFOHs1WhM9iSOsaeiog3 +1Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=bsCvJr4vTwPoE7/DTp7x7jVKKhNxBO/CRiZz1em8k+w=; b=DielgAmT3uUGqDIH+NkkIWXehnm59cNdup1sAppTL+1LezQw3EJjCIeeTvY/oPTf0A O0FhHXRn6U8HQc9ogp0rDUfHVjOB9syCsy/KvlWWouv3m9KxzS0g9QQhvA12csFWmeua /3cYg2pvHio8fUqvNR1E9Hi7Sj8PJABaTjf28Zz6OpXPYxPirklXY9WTLnEDC7x3Mx7S bq6xA/H0x0Xxj3CIITgu03hNHWzoWAE1IWowj2K7BucddSbaIfxsS2RtTtQfJKofjmD2 nRIuRF3FDbHMgfJuxWPBN0L4RQeNhMgF1wQ5I90X4igM6wV6oabCxI9kt6ERVrLJRTkh /lMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@daynix-com.20150623.gappssmtp.com header.s=20150623 header.b="JSBkBA/f"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u12si19954475ilm.67.2021.05.10.21.45.03; Mon, 10 May 2021 21:45:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@daynix-com.20150623.gappssmtp.com header.s=20150623 header.b="JSBkBA/f"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230182AbhEKEop (ORCPT + 99 others); Tue, 11 May 2021 00:44:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230153AbhEKEoc (ORCPT ); Tue, 11 May 2021 00:44:32 -0400 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FBE5C061574 for ; Mon, 10 May 2021 21:43:26 -0700 (PDT) Received: by mail-wm1-x333.google.com with SMTP id 4-20020a05600c26c4b0290146e1feccd8so475069wmv.1 for ; Mon, 10 May 2021 21:43:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bsCvJr4vTwPoE7/DTp7x7jVKKhNxBO/CRiZz1em8k+w=; b=JSBkBA/fZRmJSu3Y9xq3akl7ED6Tvpe7AvXz1yQrByhsaur23klSnr6Gyq5VVkOF/P ehiDxkgCwHbnHX/mXBNSZtuuk7bsIIRGAiQ4j3jut6l8HNUKQNHAopo2HuU2VL5zei60 JWVu8C+wV0DiXbMmrKqq77WXG2qN+YjSeDXpu87UOw8Uk9c2CBK5DaS+yiamWcO4kRFR eWmoNtLNlfEI/s1QDxveZYkjyxgFod5GgIjU4xSpwEEoUEKLpYx2FaOMj94DXNvUUu4Y MuzNETQ0sy/X7KcHezWttVz3VxYGEu9aQaUaC9vgboklMJdAAEP3UHyzzWyc75VQnZ2B 1WXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bsCvJr4vTwPoE7/DTp7x7jVKKhNxBO/CRiZz1em8k+w=; b=JbiBzy3Lb3Q7kRBlighFLqBr1NUJowVTAHvzta2/rVDhcg6xxLN2wBPs9/c9iTVj+S GDD4igpZMAoCtVZezEYpYk5qxBe7Tn6taZSnich5ON9CJobLj8uGPhnaLGhirMUuuOPm JwAmnAkM4kpQ1EDFDYM2XiRaSYSWd69ZEU2WUcBtqCPsQ4h2XkJ+optYol0kX7poyfIM lDkbR8J8Dh/VNayy/s2KIhCoMFm/4S+dv1VnWJxvLerW5vDxJC/432r8gnGZUiVXTbqc /118VghTHdXgF3at0mEft9fFUfFv3gzVnopQ8VDDjC60ThV15qOLMzNiTHVHLbfzBOag sKvg== X-Gm-Message-State: AOAM532rrDo0faHWkevY3zIJ1Wkz6GwNfsYTtEHxZYx9hDRBvxXDOEc0 fqgBUbnAfNZxFeLHKRMHPmPLUtG7KsNefg== X-Received: by 2002:a1c:545c:: with SMTP id p28mr3073820wmi.118.1620708205432; Mon, 10 May 2021 21:43:25 -0700 (PDT) Received: from f1.Home (bzq-79-180-42-161.red.bezeqint.net. [79.180.42.161]) by smtp.gmail.com with ESMTPSA id a9sm22360520wmj.1.2021.05.10.21.43.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 May 2021 21:43:25 -0700 (PDT) From: Yuri Benditovich To: davem@davemloft.net, kuba@kernel.org, mst@redhat.com, jasowang@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org Cc: yan@daynix.com Subject: [PATCH 4/4] tun: indicate support for USO feature Date: Tue, 11 May 2021 07:42:53 +0300 Message-Id: <20210511044253.469034-5-yuri.benditovich@daynix.com> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210511044253.469034-1-yuri.benditovich@daynix.com> References: <20210511044253.469034-1-yuri.benditovich@daynix.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Yuri Benditovich --- drivers/net/tun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 84f832806313..a35054f9d941 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -2812,7 +2812,7 @@ static int set_offload(struct tun_struct *tun, unsigned long arg) arg &= ~(TUN_F_TSO4|TUN_F_TSO6); } - arg &= ~TUN_F_UFO; + arg &= ~(TUN_F_UFO|TUN_F_USO); } /* This gives the user a way to test for new features in future by -- 2.26.3