Netdev Archive on lore.kernel.org
 help / color / Atom feed
From: Daniel Borkmann <daniel@iogearbox.net>
To: Martin KaFai Lau <kafai@fb.com>,
	bpf@vger.kernel.org, netdev@vger.kernel.org
Cc: Alexei Starovoitov <ast@fb.com>,
	David Miller <davem@davemloft.net>,
	kernel-team@fb.com, Stanislav Fomichev <sdf@fomichev.me>
Subject: Re: [PATCH v3 bpf-next 0/3] bpf: net: Detach BPF prog from reuseport sk
Date: Sat, 15 Jun 2019 01:22:46 +0200
Message-ID: <82703e8b-4136-65a0-6f7f-72da8977a625@iogearbox.net> (raw)
In-Reply-To: <20190613215959.3095374-1-kafai@fb.com>

On 06/13/2019 11:59 PM, Martin KaFai Lau wrote:
> v3:
> - Use rcu_swap_protected (Stanislav Fomichev)
> - Use 0x0047 for SO_DETACH_REUSEPORT_BPF for sparc (kbuild test robot <lkp@intel.com>)
> 
> v2:
> - Copy asm-generic/socket.h to tools/ in the new patch 2 (Stanislav Fomichev)
> 
> This patch adds SO_DETACH_REUSEPORT_BPF to detach BPF prog from
> reuseport sk.
> 
> Martin KaFai Lau (3):
>   bpf: net: Add SO_DETACH_REUSEPORT_BPF
>   bpf: Sync asm-generic/socket.h to tools/
>   bpf: Add test for SO_REUSEPORT_DETACH_BPF
> 
>  arch/alpha/include/uapi/asm/socket.h          |  2 +
>  arch/mips/include/uapi/asm/socket.h           |  2 +
>  arch/parisc/include/uapi/asm/socket.h         |  2 +
>  arch/sparc/include/uapi/asm/socket.h          |  2 +
>  include/net/sock_reuseport.h                  |  2 +
>  include/uapi/asm-generic/socket.h             |  2 +
>  net/core/sock.c                               |  4 ++
>  net/core/sock_reuseport.c                     | 24 +++++++++
>  .../include}/uapi/asm-generic/socket.h        |  2 +
>  .../selftests/bpf/test_select_reuseport.c     | 54 +++++++++++++++++++
>  10 files changed, 96 insertions(+)
>  copy {include => tools/include}/uapi/asm-generic/socket.h (98%)
> 

Applied, thanks!

      parent reply index

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-13 21:59 Martin KaFai Lau
2019-06-13 22:00 ` [PATCH v3 bpf-next 1/3] bpf: net: Add SO_DETACH_REUSEPORT_BPF Martin KaFai Lau
2019-06-13 22:00 ` [PATCH v3 bpf-next 2/3] bpf: Sync asm-generic/socket.h to tools/ Martin KaFai Lau
2019-06-13 22:00 ` [PATCH v3 bpf-next 3/3] bpf: Add test for SO_REUSEPORT_DETACH_BPF Martin KaFai Lau
2019-06-13 22:13 ` [PATCH v3 bpf-next 0/3] bpf: net: Detach BPF prog from reuseport sk Stanislav Fomichev
2019-06-14 23:22 ` Daniel Borkmann [this message]

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=82703e8b-4136-65a0-6f7f-72da8977a625@iogearbox.net \
    --to=daniel@iogearbox.net \
    --cc=ast@fb.com \
    --cc=bpf@vger.kernel.org \
    --cc=davem@davemloft.net \
    --cc=kafai@fb.com \
    --cc=kernel-team@fb.com \
    --cc=netdev@vger.kernel.org \
    --cc=sdf@fomichev.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Netdev Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/netdev/0 netdev/git/0.git
	git clone --mirror https://lore.kernel.org/netdev/1 netdev/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 netdev netdev/ https://lore.kernel.org/netdev \
		netdev@vger.kernel.org netdev@archiver.kernel.org
	public-inbox-index netdev


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.netdev


AGPL code for this site: git clone https://public-inbox.org/ public-inbox