[{"id":1761465,"web_url":"http://patchwork.ozlabs.org/comment/1761465/","msgid":"<20170901.060609.1844094785534959963.davem@davemloft.net>","list_archive_url":null,"date":"2017-09-01T05:06:09","subject":"Re: [PATCH v3 net-next 0/7] bpf: Add option to set mark and\n\tpriority in cgroup sock programs","submitter":{"id":15,"url":"http://patchwork.ozlabs.org/api/people/15/","name":"David Miller","email":"davem@davemloft.net"},"content":"From: David Ahern <dsahern@gmail.com>\nDate: Thu, 31 Aug 2017 15:05:43 -0700\n\n> Add option to set mark and priority in addition to bound device for newly\n> created sockets. Also, allow the bpf programs to use the get_current_uid_gid\n> helper meaning socket marks, priority and device can be set based on the\n> uid/gid of the running process.\n> \n> Sample programs are updated to demonstrate the new options.\n> \n> v3\n> - no changes to Patches 1 and 2 which Alexei acked in previous versions\n> - dropped change related to recursive programs in a cgroup\n> - updated tests per dropped patch\n> \n> v2\n> - added flag to control recursive behavior as requested by Alexei\n> - added comment to sock_filter_func_proto regarding use of\n>   get_current_uid_gid helper\n> - updated test programs for recursive option\n\nSeries applied, please follow up to Daniel's feedback.\n\nThanks.","headers":{"Return-Path":"<netdev-owner@vger.kernel.org>","X-Original-To":"patchwork-incoming@ozlabs.org","Delivered-To":"patchwork-incoming@ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xk6f01cyZz9s7p\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri,  1 Sep 2017 15:06:16 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1750911AbdIAFGO (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tFri, 1 Sep 2017 01:06:14 -0400","from shards.monkeyblade.net ([184.105.139.130]:37846 \"EHLO\n\tshards.monkeyblade.net\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1750759AbdIAFGN (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Fri, 1 Sep 2017 01:06:13 -0400","from localhost (74-93-104-98-Washington.hfc.comcastbusiness.net\n\t[74.93.104.98]) (using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(Client did not present a certificate)\n\t(Authenticated sender: davem-davemloft)\n\tby shards.monkeyblade.net (Postfix) with ESMTPSA id 902F013401126;\n\tThu, 31 Aug 2017 22:06:12 -0700 (PDT)"],"Date":"Fri, 01 Sep 2017 06:06:09 +0100 (WEST)","Message-Id":"<20170901.060609.1844094785534959963.davem@davemloft.net>","To":"dsahern@gmail.com","Cc":"netdev@vger.kernel.org, daniel@iogearbox.net, ast@kernel.org","Subject":"Re: [PATCH v3 net-next 0/7] bpf: Add option to set mark and\n\tpriority in cgroup sock programs","From":"David Miller <davem@davemloft.net>","In-Reply-To":"<1504217150-16151-1-git-send-email-dsahern@gmail.com>","References":"<1504217150-16151-1-git-send-email-dsahern@gmail.com>","X-Mailer":"Mew version 6.7 on Emacs 25.2 / Mule 6.0 (HANACHIRUSATO)","Mime-Version":"1.0","Content-Type":"Text/Plain; charset=us-ascii","Content-Transfer-Encoding":"7bit","X-Greylist":"Sender succeeded SMTP AUTH, not delayed by\n\tmilter-greylist-4.5.12 (shards.monkeyblade.net\n\t[149.20.54.216]); Thu, 31 Aug 2017 22:06:12 -0700 (PDT)","Sender":"netdev-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<netdev.vger.kernel.org>","X-Mailing-List":"netdev@vger.kernel.org"}}]