1. 30 Aug, 2021 36 commits
  2. 29 Aug, 2021 4 commits
    • Ryoga Saito's avatar
      netfilter: add netfilter hooks to SRv6 data plane · 7a3f5b0d
      Ryoga Saito authored
      This patch introduces netfilter hooks for solving the problem that
      conntrack couldn't record both inner flows and outer flows.
      
      This patch also introduces a new sysctl toggle for enabling lightweight
      tunnel netfilter hooks.
      Signed-off-by: default avatarRyoga Saito <contact@proelbtn.com>
      Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
      7a3f5b0d
    • David S. Miller's avatar
      Merge tag 'wireless-drivers-next-2021-08-29' of... · eaf2aaec
      David S. Miller authored
      Merge tag 'wireless-drivers-next-2021-08-29' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next
      
      Kalle Valo says:
      
      ====================
      pull-request: wireless-drivers-next-2021-08-29
      
      here's a pull request to net-next tree, more info below. Please let me know if
      there are any problems.
      
      wireless-drivers-next patches for v5.15
      
      Second, and most likely last, set of patches for v5.15. Lots of
      iwlwifi patches this time, but smaller changes to other drivers as
      well. Nothing special standing out.
      
      Major changes:
      
      rtw88
      
      * add quirk to disable pci caps on HP Pavilion 14-ce0xxx
      
      brcmfmac
      
      * Add WPA3 Personal with FT to supported cipher suites
      
      wcn36xx
      
      * allow firmware name to be overridden by DT
      
      iwlwifi
      
      * support scanning hidden 6GHz networks
      
      * support for a new hardware family (Bz)
      
      * support for new firmware API versions
      
      mwifiex
      
      * add reset_d3cold quirk for Surface gen4+ devices
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      eaf2aaec
    • Jing Yangyang's avatar
      ssb: fix boolreturn.cocci warning · 8d4be124
      Jing Yangyang authored
      ./include/linux/ssb/ssb_driver_extif.h:200:8-9:WARNING: return of 0/1 in
      function 'ssb_extif_available' with return type bool
      
      Return statements in functions returning bool should use true/false
      instead of 1/0.
      
      Generated by: scripts/coccinelle/misc/boolreturn.cocci
      Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
      Signed-off-by: default avatarJing Yangyang <jing.yangyang@zte.com.cn>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/20210824061341.59255-1-deng.changcheng@zte.com.cn
      8d4be124
    • Christophe JAILLET's avatar
      intel: switch from 'pci_' to 'dma_' API · ebe9e651
      Christophe JAILLET authored
      The wrappers in include/linux/pci-dma-compat.h should go away.
      
      The patch has been generated with the coccinelle script below.
      
      It has been hand modified to use 'dma_set_mask_and_coherent()' instead of
      'pci_set_dma_mask()/pci_set_consistent_dma_mask()' when applicable.
      This is less verbose.
      
      It has been compile tested.
      
      @@
      @@
      -    PCI_DMA_BIDIRECTIONAL
      +    DMA_BIDIRECTIONAL
      
      @@
      @@
      -    PCI_DMA_TODEVICE
      +    DMA_TO_DEVICE
      
      @@
      @@
      -    PCI_DMA_FROMDEVICE
      +    DMA_FROM_DEVICE
      
      @@
      @@
      -    PCI_DMA_NONE
      +    DMA_NONE
      
      @@
      expression e1, e2, e3;
      @@
      -    pci_alloc_consistent(e1, e2, e3)
      +    dma_alloc_coherent(&e1->dev, e2, e3, GFP_)
      
      @@
      expression e1, e2, e3;
      @@
      -    pci_zalloc_consistent(e1, e2, e3)
      +    dma_alloc_coherent(&e1->dev, e2, e3, GFP_)
      
      @@
      expression e1, e2, e3, e4;
      @@
      -    pci_free_consistent(e1, e2, e3, e4)
      +    dma_free_coherent(&e1->dev, e2, e3, e4)
      
      @@
      expression e1, e2, e3, e4;
      @@
      -    pci_map_single(e1, e2, e3, e4)
      +    dma_map_single(&e1->dev, e2, e3, e4)
      
      @@
      expression e1, e2, e3, e4;
      @@
      -    pci_unmap_single(e1, e2, e3, e4)
      +    dma_unmap_single(&e1->dev, e2, e3, e4)
      
      @@
      expression e1, e2, e3, e4, e5;
      @@
      -    pci_map_page(e1, e2, e3, e4, e5)
      +    dma_map_page(&e1->dev, e2, e3, e4, e5)
      
      @@
      expression e1, e2, e3, e4;
      @@
      -    pci_unmap_page(e1, e2, e3, e4)
      +    dma_unmap_page(&e1->dev, e2, e3, e4)
      
      @@
      expression e1, e2, e3, e4;
      @@
      -    pci_map_sg(e1, e2, e3, e4)
      +    dma_map_sg(&e1->dev, e2, e3, e4)
      
      @@
      expression e1, e2, e3, e4;
      @@
      -    pci_unmap_sg(e1, e2, e3, e4)
      +    dma_unmap_sg(&e1->dev, e2, e3, e4)
      
      @@
      expression e1, e2, e3, e4;
      @@
      -    pci_dma_sync_single_for_cpu(e1, e2, e3, e4)
      +    dma_sync_single_for_cpu(&e1->dev, e2, e3, e4)
      
      @@
      expression e1, e2, e3, e4;
      @@
      -    pci_dma_sync_single_for_device(e1, e2, e3, e4)
      +    dma_sync_single_for_device(&e1->dev, e2, e3, e4)
      
      @@
      expression e1, e2, e3, e4;
      @@
      -    pci_dma_sync_sg_for_cpu(e1, e2, e3, e4)
      +    dma_sync_sg_for_cpu(&e1->dev, e2, e3, e4)
      
      @@
      expression e1, e2, e3, e4;
      @@
      -    pci_dma_sync_sg_for_device(e1, e2, e3, e4)
      +    dma_sync_sg_for_device(&e1->dev, e2, e3, e4)
      
      @@
      expression e1, e2;
      @@
      -    pci_dma_mapping_error(e1, e2)
      +    dma_mapping_error(&e1->dev, e2)
      
      @@
      expression e1, e2;
      @@
      -    pci_set_dma_mask(e1, e2)
      +    dma_set_mask(&e1->dev, e2)
      
      @@
      expression e1, e2;
      @@
      -    pci_set_consistent_dma_mask(e1, e2)
      +    dma_set_coherent_mask(&e1->dev, e2)
      Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/f55043d0c847bfae60087707778563cf732a7bf9.1629619229.git.christophe.jaillet@wanadoo.fr
      ebe9e651