netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexei Starovoitov <ast@kernel.org>
To: <davem@davemloft.net>
Cc: <daniel@iogearbox.net>, <ast@kernel.org>,
	<netdev@vger.kernel.org>, <kernel-team@fb.com>
Subject: pull-request: bpf 2018-07-07
Date: Sat, 7 Jul 2018 20:58:26 -0700	[thread overview]
Message-ID: <20180708035826.2159429-1-ast@kernel.org> (raw)

Hi David,

The following pull-request contains BPF updates for your *net* tree.

Plenty of fixes for different components:

1) A set of critical fixes for sockmap and sockhash, from John Fastabend.

2) fixes for several race conditions in af_xdp, from Magnus Karlsson.

3) hash map refcnt fix, from Mauricio Vasquez.

4) samples/bpf fixes, from Taeung Song.

5) ifup+mtu check for xdp_redirect, from Toshiaki Makita.

Please consider pulling these changes from:

  git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git

Thanks a lot!

----------------------------------------------------------------

The following changes since commit d0fbad0aec1df29717fab736eb24c8a49cf2c70b:

  Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md (2018-07-02 12:40:59 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git 

for you to fetch changes up to d8d7218ad842e18fc6976b87c08ed749e8d56313:

  xdp: XDP_REDIRECT should check IFF_UP and MTU (2018-07-07 15:25:35 -0700)

----------------------------------------------------------------
Alexei Starovoitov (3):
      Merge branch 'af_xdp-fixes'
      Merge branch 'sockmap-fixes'
      Merge branch 'sockhash-fixes'

John Fastabend (6):
      bpf: sockmap, error path can not release psock in multi-map case
      bpf: sockmap, hash table is RCU so readers do not need locks
      bpf: fix sk_skb programs without skb->dev assigned
      bpf: sockhash, disallow bpf_tcp_close and update in parallel
      bpf: sockmap, consume_skb in close path
      bpf: sockmap, convert bpf_compute_data_pointers to bpf_*_sk_skb

Magnus Karlsson (4):
      xsk: fix potential lost completion message in SKB path
      xsk: frame could be completed more than once in SKB path
      samples/bpf: deal with EBUSY return code from sendmsg in xdpsock sample
      xsk: fix potential race in SKB TX completion code

Mauricio Vasquez B (1):
      bpf: hash map: decrement counter on error

Taeung Song (4):
      samples/bpf: add missing <linux/if_vlan.h>
      samples/bpf: Check the result of system()
      samples/bpf: Check the error of write() and read()
      samples/bpf: add .gitignore file

Toshiaki Makita (1):
      xdp: XDP_REDIRECT should check IFF_UP and MTU

 include/linux/filter.h           |   6 +--
 include/net/tcp.h                |   4 ++
 include/net/xdp_sock.h           |   4 ++
 kernel/bpf/devmap.c              |   7 ++-
 kernel/bpf/hashtab.c             |  16 ++++--
 kernel/bpf/sockmap.c             |  43 +++++++++------
 kernel/bpf/syscall.c             |   4 +-
 net/core/filter.c                | 110 +++++++++++++++++++++++++++++++++++----
 net/xdp/xsk.c                    |  10 ++--
 net/xdp/xsk_queue.h              |   9 +---
 samples/bpf/.gitignore           |  49 +++++++++++++++++
 samples/bpf/parse_varlen.c       |   6 +--
 samples/bpf/test_overhead_user.c |  19 +++++--
 samples/bpf/trace_event_user.c   |  27 ++++++++--
 samples/bpf/xdpsock_user.c       |   2 +-
 15 files changed, 257 insertions(+), 59 deletions(-)
 create mode 100644 samples/bpf/.gitignore

             reply	other threads:[~2018-07-08  3:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-08  3:58 Alexei Starovoitov [this message]
2018-07-08  4:07 ` pull-request: bpf 2018-07-07 David Miller

Reply instructions:

You may reply publicly 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=20180708035826.2159429-1-ast@kernel.org \
    --to=ast@kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=kernel-team@fb.com \
    --cc=netdev@vger.kernel.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).