]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
authorJakub Kicinski <kuba@kernel.org>
Tue, 4 Oct 2022 00:44:18 +0000 (17:44 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 4 Oct 2022 00:44:18 +0000 (17:44 -0700)
Merge in the left-over fixes before the net-next pull-request.

Conflicts:

drivers/net/ethernet/mediatek/mtk_ppe.c
  8e21426fea38 ("net: ethernet: mtk_eth_soc: fix state in __mtk_foe_entry_clear")
  f88c74abe3ce ("net: ethernet: mtk_eth_soc: add foe_entry_size to mtk_eth_soc")
https://lore.kernel.org/all/6cb6893b-4921-a068-4c30-1109795110bb@tessares.net/

kernel/bpf/helpers.c
  c522fd92f478 ("bpf: Gate dynptr API behind CAP_BPF")
  2469008f7dea ("bpf: Move bpf_loop and bpf_for_each_map_elem under CAP_BPF")
  154bb444fe6e ("bpf: expose bpf_strtol and bpf_strtoul to all program types")
https://lore.kernel.org/all/20221003201957.13149-1-daniel@iogearbox.net/

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
27 files changed:
1  2 
MAINTAINERS
drivers/net/ethernet/atheros/alx/main.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c
drivers/net/ethernet/marvell/prestera/prestera_acl.c
drivers/net/ethernet/marvell/prestera/prestera_acl.h
drivers/net/ethernet/marvell/prestera/prestera_flower.c
drivers/net/ethernet/mediatek/mtk_ppe.c
drivers/net/ethernet/microchip/sparx5/sparx5_main.h
drivers/net/ethernet/sunplus/spl2sw_driver.c
drivers/net/usb/r8152.c
drivers/net/wwan/iosm/iosm_ipc_wwan.c
include/linux/tcp.h
include/net/tcp.h
include/uapi/linux/bpf.h
kernel/bpf/btf.c
kernel/bpf/cgroup.c
kernel/bpf/helpers.c
kernel/bpf/syscall.c
net/ipv4/tcp.c
net/rds/tcp.c
net/unix/af_unix.c
net/vmw_vsock/virtio_transport_common.c
net/xfrm/xfrm_input.c
net/xfrm/xfrm_ipcomp.c
tools/include/uapi/linux/bpf.h
tools/testing/selftests/bpf/xskxceiver.c

diff --cc MAINTAINERS
Simple merge
index 887f430734f7479d37e24f6161142fe10cf717d5,148ea636ef9794d66892ae088caba319a7931f60..ae00e572390d7ba705f0a865d174c1b161ec7c36
@@@ -439,10 -410,9 +439,10 @@@ __mtk_foe_entry_clear(struct mtk_ppe *p
  
        hlist_del_init(&entry->list);
        if (entry->hash != 0xffff) {
 -              ppe->foe_table[entry->hash].ib1 &= ~MTK_FOE_IB1_STATE;
 -              ppe->foe_table[entry->hash].ib1 |= FIELD_PREP(MTK_FOE_IB1_STATE,
 -                                                            MTK_FOE_STATE_INVALID);
 +              struct mtk_foe_entry *hwe = mtk_foe_get_entry(ppe, entry->hash);
 +
 +              hwe->ib1 &= ~MTK_FOE_IB1_STATE;
-               hwe->ib1 |= FIELD_PREP(MTK_FOE_IB1_STATE, MTK_FOE_STATE_UNBIND);
++              hwe->ib1 |= FIELD_PREP(MTK_FOE_IB1_STATE, MTK_FOE_STATE_INVALID);
                dma_wmb();
        }
        entry->hash = 0xffff;
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index b069517a3da024263ff87dd8fbba9328ecf3a27d,3814b0fd3a2c5ef518d429660535b5c572f165ab..a6b04faed282bd3d9826a7931362a3aca60cde36
@@@ -1609,26 -1627,12 +1609,12 @@@ bpf_base_func_proto(enum bpf_func_id fu
                return &bpf_ringbuf_discard_proto;
        case BPF_FUNC_ringbuf_query:
                return &bpf_ringbuf_query_proto;
-       case BPF_FUNC_ringbuf_reserve_dynptr:
-               return &bpf_ringbuf_reserve_dynptr_proto;
-       case BPF_FUNC_ringbuf_submit_dynptr:
-               return &bpf_ringbuf_submit_dynptr_proto;
-       case BPF_FUNC_ringbuf_discard_dynptr:
-               return &bpf_ringbuf_discard_dynptr_proto;
 -      case BPF_FUNC_for_each_map_elem:
 -              return &bpf_for_each_map_elem_proto;
 -      case BPF_FUNC_loop:
 -              return &bpf_loop_proto;
        case BPF_FUNC_strncmp:
                return &bpf_strncmp_proto;
-       case BPF_FUNC_dynptr_from_mem:
-               return &bpf_dynptr_from_mem_proto;
-       case BPF_FUNC_dynptr_read:
-               return &bpf_dynptr_read_proto;
-       case BPF_FUNC_dynptr_write:
-               return &bpf_dynptr_write_proto;
-       case BPF_FUNC_dynptr_data:
-               return &bpf_dynptr_data_proto;
 +      case BPF_FUNC_strtol:
 +              return &bpf_strtol_proto;
 +      case BPF_FUNC_strtoul:
 +              return &bpf_strtoul_proto;
        default:
                break;
        }
                return &bpf_timer_cancel_proto;
        case BPF_FUNC_kptr_xchg:
                return &bpf_kptr_xchg_proto;
 +      case BPF_FUNC_for_each_map_elem:
 +              return &bpf_for_each_map_elem_proto;
 +      case BPF_FUNC_loop:
 +              return &bpf_loop_proto;
 +      case BPF_FUNC_user_ringbuf_drain:
 +              return &bpf_user_ringbuf_drain_proto;
+       case BPF_FUNC_ringbuf_reserve_dynptr:
+               return &bpf_ringbuf_reserve_dynptr_proto;
+       case BPF_FUNC_ringbuf_submit_dynptr:
+               return &bpf_ringbuf_submit_dynptr_proto;
+       case BPF_FUNC_ringbuf_discard_dynptr:
+               return &bpf_ringbuf_discard_dynptr_proto;
+       case BPF_FUNC_dynptr_from_mem:
+               return &bpf_dynptr_from_mem_proto;
+       case BPF_FUNC_dynptr_read:
+               return &bpf_dynptr_read_proto;
+       case BPF_FUNC_dynptr_write:
+               return &bpf_dynptr_write_proto;
+       case BPF_FUNC_dynptr_data:
+               return &bpf_dynptr_data_proto;
        default:
                break;
        }
Simple merge
diff --cc net/ipv4/tcp.c
Simple merge
diff --cc net/rds/tcp.c
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge