1. 23 May, 2023 2 commits
  2. 22 May, 2023 8 commits
  3. 20 May, 2023 1 commit
  4. 19 May, 2023 21 commits
  5. 18 May, 2023 8 commits
    • Jakub Kicinski's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 90223c11
      Jakub Kicinski authored
      Conflicts:
      
      drivers/net/ethernet/freescale/fec_main.c
        6ead9c98 ("net: fec: remove the xdp_return_frame when lack of tx BDs")
        144470c8 ("net: fec: using the standard return codes when xdp xmit errors")
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      90223c11
    • Jakub Kicinski's avatar
      Merge tag 'nf-next-2023-05-18' of https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next · 1ecaf17d
      Jakub Kicinski authored
      Florian Westphal says:
      
      ====================
      Netfilter updates for net-next
      
      nftables updates:
      
      1. Allow key existence checks with maps.
         At the moment the kernel requires userspace to pass a destination
         register for the associated value, make this optional so userspace
         can query if the key exists, just like with normal sets.
      
      2. nftables maintains a counter per set that holds the number of
         elements.  This counter gets decremented on element removal,
         but its only incremented if the set has a upper maximum value.
         Increment unconditionally, this will allow us to update the
         maximum value later on.
      
      3. At DCCP option maching, from Jeremy Sowden.
      
      4. use struct_size macro, from Christophe JAILLET.
      
      Conntrack:
      
      5. Squash holes in struct nf_conntrack_expect, also Christophe JAILLET.
      
      6. Allow clash resolution for GRE Protocol to avoid a packet drop,
         from Faicker Mo.
      
      Flowtable:
      
      Simplify route logic and split large functions into smaller
      chunks, from Pablo Neira Ayuso.
      
      * tag 'nf-next-2023-05-18' of https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next:
        netfilter: flowtable: split IPv6 datapath in helper functions
        netfilter: flowtable: split IPv4 datapath in helper functions
        netfilter: flowtable: simplify route logic
        netfilter: conntrack: allow insertion clash of gre protocol
        netfilter: nft_set_pipapo: Use struct_size()
        netfilter: Reorder fields in 'struct nf_conntrack_expect'
        netfilter: nft_exthdr: add boolean DCCP option matching
        netfilter: nf_tables: always increment set element count
        netfilter: nf_tables: relax set/map validation checks
      ====================
      
      Link: https://lore.kernel.org/r/20230518100759.84858-1-fw@strlen.deSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      1ecaf17d
    • Baozhu Ni's avatar
      e1000e: Add @adapter description to kdoc · c4dc8dc3
      Baozhu Ni authored
      Provide a description for the kernel doc of the @adapter
      of e1000e_trigger_lsc()
      Signed-off-by: default avatarBaozhu Ni <nibaozhu@yeah.net>
      Reviewed-by: default avatarSimon Horman <simon.horman@corigine.com>
      Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
      c4dc8dc3
    • Tom Rix's avatar
      igb: Define igb_pm_ops conditionally on CONFIG_PM · 7271522b
      Tom Rix authored
      For s390, gcc with W=1 reports
      drivers/net/ethernet/intel/igb/igb_main.c:186:32: error:
        'igb_pm_ops' defined but not used [-Werror=unused-const-variable=]
        186 | static const struct dev_pm_ops igb_pm_ops = {
            |                                ^~~~~~~~~~
      
      The only use of igb_pm_ops is conditional on CONFIG_PM.
      The definition of igb_pm_ops should also be conditional on CONFIG_PM
      Signed-off-by: default avatarTom Rix <trix@redhat.com>
      Reviewed-by: default avatarSimon Horman <simon.horman@corigine.com>
      Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
      Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
      7271522b
    • Kurt Kanzenbach's avatar
      igc: Avoid transmit queue timeout for XDP · 95b68148
      Kurt Kanzenbach authored
      High XDP load triggers the netdev watchdog:
      
      |NETDEV WATCHDOG: enp3s0 (igc): transmit queue 2 timed out
      
      The reason is the Tx queue transmission start (txq->trans_start) is not updated
      in XDP code path. Therefore, add it for all XDP transmission functions.
      Signed-off-by: Kurt Kanzenbach's avatarKurt Kanzenbach <kurt@linutronix.de>
      Tested-by: default avatarNaama Meir <naamax.meir@linux.intel.com>
      Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
      95b68148
    • Linus Torvalds's avatar
      Merge tag 'net-6.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 1f594fe7
      Linus Torvalds authored
      Pull networking fixes from Paolo Abeni:
       "Including fixes from can, xfrm, bluetooth and netfilter.
      
        Current release - regressions:
      
         - ipv6: fix RCU splat in ipv6_route_seq_show()
      
         - wifi: iwlwifi: disable RFI feature
      
        Previous releases - regressions:
      
         - tcp: fix possible sk_priority leak in tcp_v4_send_reset()
      
         - tipc: do not update mtu if msg_max is too small in mtu negotiation
      
         - netfilter: fix null deref on element insertion
      
         - devlink: change per-devlink netdev notifier to static one
      
         - phylink: fix ksettings_set() ethtool call
      
         - wifi: mac80211: fortify the spinlock against deadlock by interrupt
      
         - wifi: brcmfmac: check for probe() id argument being NULL
      
         - eth: ice:
            - fix undersized tx_flags variable
            - fix ice VF reset during iavf initialization
      
         - eth: hns3: fix sending pfc frames after reset issue
      
        Previous releases - always broken:
      
         - xfrm: release all offloaded policy memory
      
         - nsh: use correct mac_offset to unwind gso skb in nsh_gso_segment()
      
         - vsock: avoid to close connected socket after the timeout
      
         - dsa: rzn1-a5psw: enable management frames for CPU port
      
         - eth: virtio_net: fix error unwinding of XDP initialization
      
         - eth: tun: fix memory leak for detached NAPI queue.
      
        Misc:
      
         - MAINTAINERS: sctp: move Neil to CREDITS"
      
      * tag 'net-6.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (107 commits)
        MAINTAINERS: skip CCing netdev for Bluetooth patches
        mdio_bus: unhide mdio_bus_init prototype
        bridge: always declare tunnel functions
        atm: hide unused procfs functions
        net: isa: include net/Space.h
        Revert "ARM: dts: stm32: add CAN support on stm32f746"
        netfilter: nft_set_rbtree: fix null deref on element insertion
        netfilter: nf_tables: fix nft_trans type confusion
        netfilter: conntrack: define variables exp_nat_nla_policy and any_addr with CONFIG_NF_NAT
        net: wwan: t7xx: Ensure init is completed before system sleep
        net: selftests: Fix optstring
        net: pcs: xpcs: fix C73 AN not getting enabled
        net: wwan: iosm: fix NULL pointer dereference when removing device
        vlan: fix a potential uninit-value in vlan_dev_hard_start_xmit()
        mailmap: add entries for Nikolay Aleksandrov
        igb: fix bit_shift to be in [1..8] range
        net: dsa: mv88e6xxx: Fix mv88e6393x EPC write command offset
        cassini: Fix a memory leak in the error handling path of cas_init_one()
        tun: Fix memory leak for detached NAPI queue.
        can: kvaser_pciefd: Disable interrupts in probe error path
        ...
      1f594fe7
    • Linus Torvalds's avatar
      Merge tag 'media/v6.4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · b802651b
      Linus Torvalds authored
      Pull media fixes from Mauro Carvalho Chehab:
       "Several fixes for the dvb core and drivers:
      
         - fix UAF and null pointer de-reference in DVB core
      
         - fix kernel runtime warning for blocking operation in wait_event*()
           in dvb core
      
         - fix write size bug in DVB conditional access core
      
         - fix dvb demux continuity counter debug check logic
      
         - randconfig build fixes in pvrusb2 and mn88443x
      
         - fix memory leak in ttusb-dec
      
         - fix netup_unidvb probe-time error check logic
      
         - improve error handling in dw2102 if it can't retrieve DVB MAC
           address"
      
      * tag 'media/v6.4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
        media: dvb-core: Fix use-after-free due to race condition at dvb_ca_en50221
        media: dvb-core: Fix kernel WARNING for blocking operation in wait_event*()
        media: dvb-core: Fix use-after-free due to race at dvb_register_device()
        media: dvb-core: Fix use-after-free due on race condition at dvb_net
        media: dvb-core: Fix use-after-free on race condition at dvb_frontend
        media: mn88443x: fix !CONFIG_OF error by drop of_match_ptr from ID table
        media: ttusb-dec: fix memory leak in ttusb_dec_exit_dvb()
        media: dvb_ca_en50221: fix a size write bug
        media: netup_unidvb: fix irq init by register it at the end of probe
        media: dvb-usb: dw2102: fix uninit-value in su3000_read_mac_address
        media: dvb-usb: digitv: fix null-ptr-deref in digitv_i2c_xfer()
        media: dvb-usb-v2: rtl28xxu: fix null-ptr-deref in rtl28xxu_i2c_xfer
        media: dvb-usb-v2: ce6230: fix null-ptr-deref in ce6230_i2c_master_xfer()
        media: dvb-usb-v2: ec168: fix null-ptr-deref in ec168_i2c_xfer()
        media: dvb-usb: az6027: fix three null-ptr-deref in az6027_i2c_xfer()
        media: netup_unidvb: fix use-after-free at del_timer()
        media: dvb_demux: fix a bug for the continuity counter
        media: pvrusb2: fix DVB_CORE dependency
      b802651b
    • Paolo Abeni's avatar
      Merge branch 'net-lan966x-add-support-for-pcp-dei-dscp' · 02f8fc1a
      Paolo Abeni authored
      Horatiu Vultur says:
      
      ====================
      net: lan966x: Add support for PCP, DEI, DSCP
      
      This patch series extends lan966x to offload to the hardware the
      following features:
      - PCP: this configuration is per port both at ingress and egress.
      - App trust: which allows to specify a trust order of app selectors.
        This can be PCP or DSCP or DSCP/PCP.
      - default priority
      - DSCP: this configuration is shared between the ports both at ingress
        and egress.
      ====================
      
      Link: https://lore.kernel.org/r/20230516201408.3172428-1-horatiu.vultur@microchip.comSigned-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      02f8fc1a