Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
authorDavid S. Miller <davem@davemloft.net>
Fri, 23 Jul 2021 14:59:46 +0000 (15:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Jul 2021 15:13:06 +0000 (16:13 +0100)
Conflicts are simple overlapping changes.

Signed-off-by: David S. Miller <davem@davemloft.net>
17 files changed:
1  2 
Documentation/networking/ip-sysctl.rst
MAINTAINERS
drivers/net/dsa/sja1105/sja1105_main.c
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c
drivers/net/ethernet/netronome/nfp/flower/conntrack.c
drivers/s390/net/qeth_l3_main.c
kernel/bpf/verifier.c
net/bpf/test_run.c
net/bridge/br_fdb.c
net/core/dev.c
net/dsa/slave.c
net/ipv4/tcp_fastopen.c
net/ipv4/tcp_ipv4.c
net/ipv4/udp_bpf.c
net/ipv6/ip6_output.c
net/ipv6/route.c
net/sched/cls_api.c

diff --cc MAINTAINERS
Simple merge
Simple merge
Simple merge
@@@ -756,24 -697,15 +756,29 @@@ int bpf_prog_test_run_xdp(struct bpf_pr
        struct netdev_rx_queue *rxqueue;
        struct xdp_buff xdp = {};
        u32 retval, duration;
 +      struct xdp_md *ctx;
        u32 max_data_sz;
        void *data;
 -      int ret;
 +      int ret = -EINVAL;
  
+       if (prog->expected_attach_type == BPF_XDP_DEVMAP ||
+           prog->expected_attach_type == BPF_XDP_CPUMAP)
+               return -EINVAL;
+       if (kattr->test.ctx_in || kattr->test.ctx_out)
+               return -EINVAL;
 +      ctx = bpf_ctx_init(kattr, sizeof(struct xdp_md));
 +      if (IS_ERR(ctx))
 +              return PTR_ERR(ctx);
 +
 +      if (ctx) {
 +              /* There can't be user provided data before the meta data */
 +              if (ctx->data_meta || ctx->data_end != size ||
 +                  ctx->data > ctx->data_end ||
 +                  unlikely(xdp_metalen_invalid(ctx->data)))
 +                      goto free_ctx;
 +              /* Meta data is allocated from the headroom */
 +              headroom -= ctx->data;
 +      }
  
        /* XDP have extra tailroom as (most) drivers use full page */
        max_data_sz = 4096 - headroom - tailroom;
Simple merge
diff --cc net/core/dev.c
Simple merge
diff --cc net/dsa/slave.c
Simple merge
Simple merge
@@@ -2964,7 -2964,8 +2964,7 @@@ static int __net_init tcp_sk_init(struc
        net->ipv4.sysctl_tcp_comp_sack_slack_ns = 100 * NSEC_PER_USEC;
        net->ipv4.sysctl_tcp_comp_sack_nr = 44;
        net->ipv4.sysctl_tcp_fastopen = TFO_CLIENT_ENABLE;
-       net->ipv4.sysctl_tcp_fastopen_blackhole_timeout = 60 * 60;
 -      spin_lock_init(&net->ipv4.tcp_fastopen_ctx_lock);
+       net->ipv4.sysctl_tcp_fastopen_blackhole_timeout = 0;
        atomic_set(&net->ipv4.tfo_active_disable_times, 0);
  
        /* Reno is always built in */
Simple merge
Simple merge
Simple merge
Simple merge