1. Sep 22, 2023
    • Peter Lafreniere's avatar
      hamradio: baycom: remove useless link in Kconfig · 84c19e65
      Peter Lafreniere authored
      The Kconfig help text for baycom drivers suggests that more information
      on the hardware can be found at <https://www.baycom.de
      
      >. The website now
      includes no information on their ham radio products other than a mention
      that they were once produced by the company, saying:
      "The amateur radio equipment is now no longer part and business of BayCom GmbH"
      
      As there is no information relavent to the baycom driver on the site,
      remove the link.
      
      Signed-off-by: default avatarPeter Lafreniere <peter@n8pjl.ca>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      84c19e65
    • Paolo Abeni's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · e9cbc890
      Paolo Abeni authored
      
      
      Cross-merge networking fixes after downstream PR.
      
      No conflicts.
      
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      e9cbc890
    • Linus Torvalds's avatar
      Merge tag 'net-6.6-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 27bbf45e
      Linus Torvalds authored
      Pull networking fixes from Paolo Abeni:
       "Including fixes from netfilter and bpf.
      
        Current release - regressions:
      
         - bpf: adjust size_index according to the value of KMALLOC_MIN_SIZE
      
         - netfilter: fix entries val in rule reset audit log
      
         - eth: stmmac: fix incorrect rxq|txq_stats reference
      
        Previous releases - regressions:
      
         - ipv4: fix null-deref in ipv4_link_failure
      
         - netfilter:
            - fix several GC related issues
            - fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP
      
         - eth: team: fix null-ptr-deref when team device type is changed
      
         - eth: i40e: fix VF VLAN offloading when port VLAN is configured
      
         - eth: ionic: fix 16bit math issue when PAGE_SIZE >= 64KB
      
        Previous releases - always broken:
      
         - core: fix ETH_P_1588 flow dissector
      
         - mptcp: fix several connection hang-up conditions
      
         - bpf:
            - avoid deadlock when using queue and stack maps from NMI
            - add override check to kprobe multi link attach
      
         - hsr: properly parse HSRv1 supervisor frames.
      
         - eth: igc: fix infinite initialization loop with early XDP redirect
      
         - eth: octeon_ep: fix tx dma unmap len values in SG
      
         - eth: hns3: fix GRE checksum offload issue"
      
      * tag 'net-6.6-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (87 commits)
        sfc: handle error pointers returned by rhashtable_lookup_get_insert_fast()
        igc: Expose tx-usecs coalesce setting to user
        octeontx2-pf: Do xdp_do_flush() after redirects.
        bnxt_en: Flush XDP for bnxt_poll_nitroa0()'s NAPI
        net: ena: Flush XDP packets on error.
        net/handshake: Fix memory leak in __sock_create() and sock_alloc_file()
        net: hinic: Fix warning-hinic_set_vlan_fliter() warn: variable dereferenced before check 'hwdev'
        netfilter: ipset: Fix race between IPSET_CMD_CREATE and IPSET_CMD_SWAP
        netfilter: nf_tables: fix memleak when more than 255 elements expired
        netfilter: nf_tables: disable toggling dormant table state more than once
        vxlan: Add missing entries to vxlan_get_size()
        net: rds: Fix possible NULL-pointer dereference
        team: fix null-ptr-deref when team device type is changed
        net: bridge: use DEV_STATS_INC()
        net: hns3: add 5ms delay before clear firmware reset irq source
        net: hns3: fix fail to delete tc flower rules during reset issue
        net: hns3: only enable unicast promisc when mac table full
        net: hns3: fix GRE checksum offload issue
        net: hns3: add cmdq check for vf periodic service task
        net: stmmac: fix incorrect rxq|txq_stats reference
        ...
      27bbf45e
    • Linus Torvalds's avatar
      Merge tag 'v6.6-rc3.vfs.ctime.revert' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs · b5cbe7c0
      Linus Torvalds authored
      Pull finegrained timestamp reverts from Christian Brauner:
       "Earlier this week we sent a few minor fixes for the multi-grained
        timestamp work in [1]. While we were polishing those up after Linus
        realized that there might be a nicer way to fix them we received a
        regression report in [2] that fine grained timestamps break gnulib
        tests and thus possibly other tools.
      
        The kernel will elide fine-grain timestamp updates when no one is
        actively querying for them to avoid performance impacts. So a sequence
        like write(f1) stat(f2) write(f2) stat(f2) write(f1) stat(f1) may
        result in timestamp f1 to be older than the final f2 timestamp even
        though f1 was last written too but the second write didn't update the
        timestamp.
      
        Such plotholes can lead to subtle bugs when programs compare
        timestamps. For example, the nap() function in [2] will estimate that
        it needs to wait one ns on a fine-grain timestamp enabled filesytem
        between subsequent calls to observe a timestamp change. But in general
        we don't update timestamps with more than one jiffie if we think that
        no one is actively querying for fine-grain timestamps to avoid
        performance impacts.
      
        While discussing various fixes the decision was to go back to the
        drawing board and ultimately to explore a solution that involves only
        exposing such fine-grained timestamps to nfs internally and never to
        userspace.
      
        As there are multiple solutions discussed the honest thing to do here
        is not to fix this up or disable it but to cleanly revert. The general
        infrastructure will probably come back but there is no reason to keep
        this code in mainline.
      
        The general changes to timestamp handling are valid and a good cleanup
        that will stay. The revert is fully bisectable"
      
      Link: https://lore.kernel.org/all/20230918-hirte-neuzugang-4c2324e7bae3@brauner [1]
      Link: https://lore.kernel.org/all/bf0524debb976627693e12ad23690094e4514303.camel@linuxfromscratch.org [2]
      
      * tag 'v6.6-rc3.vfs.ctime.revert' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
        Revert "fs: add infrastructure for multigrain timestamps"
        Revert "btrfs: convert to multigrain timestamps"
        Revert "ext4: switch to multigrain timestamps"
        Revert "xfs: switch to multigrain timestamps"
        Revert "tmpfs: add support for multigrain timestamps"
      b5cbe7c0
  2. Sep 21, 2023
  3. Sep 20, 2023
    • Takashi Iwai's avatar
      Merge tag 'asoc-fix-v6.6-rc2' of... · 0eb0e272
      Takashi Iwai authored
      Merge tag 'asoc-fix-v6.6-rc2' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
      
      ASoC: Fixes for v6.6
      
      Quite a large collection of fixes, with numbers boosted by multiple
      vendors sending multi-patch serieses.  Nothing super major, and also one
      device quirk.
      0eb0e272
    • David S. Miller's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next · b3af9c0e
      David S. Miller authored
      
      
      Alexei Starovoitov says:
      
      ====================
      bpf-next 2023-09-19
      
      The following pull-request contains BPF updates for your *net-next* tree.
      
      We've added 4 non-merge commits during the last 1 day(s) which contain
      a total of 4 files changed, 9 insertions(+), 13 deletions(-).
      
      The main changes are:
      
      1) A set of fixes for bpf exceptions, from Kumar and Alexei.
      ====================
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b3af9c0e
    • Jinjie Ruan's avatar
      net/handshake: Fix memory leak in __sock_create() and sock_alloc_file() · 4a0f07d7
      Jinjie Ruan authored
      When making CONFIG_DEBUG_KMEMLEAK=y and CONFIG_DEBUG_KMEMLEAK_AUTO_SCAN=y,
      modprobe handshake-test and then rmmmod handshake-test, the below memory
      leak is detected.
      
      The struct socket_alloc which is allocated by alloc_inode_sb() in
      __sock_create() is not freed. And the struct dentry which is allocated
      by __d_alloc() in sock_alloc_file() is not freed.
      
      Since fput() will call file->f_op->release() which is sock_close() here and
      it will call __sock_release(). and fput() will call dput(dentry) to free
      the struct dentry. So replace sock_release() with fput() to fix the
      below memory leak. After applying this patch, the following memory leak is
      never detected.
      
      unreferenced object 0xffff888109165840 (size 768):
        comm "kunit_try_catch", pid 1852, jiffies 4294685807 (age 976.262s)
        hex dump (first 32 bytes):
          01 00 00 00 01 00 5a 5a 20 00 00 00 00 00 00 00  ......ZZ .......
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        backtrace:
          [<ffffffff8397993f>] sock_alloc_inode+0x1f/0x1b0
          [<ffffffff81a2cb5b>] alloc_inode+0x5b/0x1a0
          [<ffffffff81a32bed>] new_inode_pseudo+0xd/0x70
          [<ffffffff8397889c>] sock_alloc+0x3c/0x260
          [<ffffffff83979b46>] __sock_create+0x66/0x3d0
          [<ffffffffa0209ba2>] 0xffffffffa0209ba2
          [<ffffffff829cf03a>] kunit_generic_run_threadfn_adapter+0x4a/0x90
          [<ffffffff81236fc6>] kthread+0x2b6/0x380
          [<ffffffff81096afd>] ret_from_fork+0x2d/0x70
          [<ffffffff81003511>] ret_from_fork_asm+0x11/0x20
      unreferenced object 0xffff88810f472008 (size 192):
        comm "kunit_try_catch", pid 1852, jiffies 4294685808 (age 976.261s)
        hex dump (first 32 bytes):
          00 00 50 40 02 00 00 00 00 00 00 00 00 00 00 00  ..P@............
          00 00 00 00 00 00 00 00 08 20 47 0f 81 88 ff ff  ......... G.....
        backtrace:
          [<ffffffff81a1ff11>] __d_alloc+0x31/0x8a0
          [<ffffffff81a2910e>] d_alloc_pseudo+0xe/0x50
          [<ffffffff819d549e>] alloc_file_pseudo+0xce/0x210
          [<ffffffff83978582>] sock_alloc_file+0x42/0x1b0
          [<ffffffffa0209bbb>] 0xffffffffa0209bbb
          [<ffffffff829cf03a>] kunit_generic_run_threadfn_adapter+0x4a/0x90
          [<ffffffff81236fc6>] kthread+0x2b6/0x380
          [<ffffffff81096afd>] ret_from_fork+0x2d/0x70
          [<ffffffff81003511>] ret_from_fork_asm+0x11/0x20
      unreferenced object 0xffff88810958e580 (size 224):
        comm "kunit_try_catch", pid 1852, jiffies 4294685808 (age 976.261s)
        hex dump (first 32 bytes):
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
          00 00 00 00 03 00 2e 08 01 00 00 00 00 00 00 00  ................
        backtrace:
          [<ffffffff819d4b90>] alloc_empty_file+0x50/0x160
          [<ffffffff819d4cf9>] alloc_file+0x59/0x730
          [<ffffffff819d5524>] alloc_file_pseudo+0x154/0x210
          [<ffffffff83978582>] sock_alloc_file+0x42/0x1b0
          [<ffffffffa0209bbb>] 0xffffffffa0209bbb
          [<ffffffff829cf03a>] kunit_generic_run_threadfn_adapter+0x4a/0x90
          [<ffffffff81236fc6>] kthread+0x2b6/0x380
          [<ffffffff81096afd>] ret_from_fork+0x2d/0x70
          [<ffffffff81003511>] ret_from_fork_asm+0x11/0x20
      unreferenced object 0xffff88810926dc88 (size 192):
        comm "kunit_try_catch", pid 1854, jiffies 4294685809 (age 976.271s)
        hex dump (first 32 bytes):
          00 00 50 40 02 00 00 00 00 00 00 00 00 00 00 00  ..P@............
          00 00 00 00 00 00 00 00 88 dc 26 09 81 88 ff ff  ..........&.....
        backtrace:
          [<ffffffff81a1ff11>] __d_alloc+0x31/0x8a0
          [<ffffffff81a2910e>] d_alloc_pseudo+0xe/0x50
          [<ffffffff819d549e>] alloc_file_pseudo+0xce/0x210
          [<ffffffff83978582>] sock_alloc_file+0x42/0x1b0
          [<ffffffffa0208fdc>] 0xffffffffa0208fdc
          [<ffffffff829cf03a>] kunit_generic_run_threadfn_adapter+0x4a/0x90
          [<ffffffff81236fc6>] kthread+0x2b6/0x380
          [<ffffffff81096afd>] ret_from_fork+0x2d/0x70
          [<ffffffff81003511>] ret_from_fork_asm+0x11/0x20
      unreferenced object 0xffff88810a241380 (size 224):
        comm "kunit_try_catch", pid 1854, jiffies 4294685809 (age 976.271s)
        hex dump (first 32 bytes):
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
          00 00 00 00 03 00 2e 08 01 00 00 00 00 00 00 00  ................
        backtrace:
          [<ffffffff819d4b90>] alloc_empty_file+0x50/0x160
          [<ffffffff819d4cf9>] alloc_file+0x59/0x730
          [<ffffffff819d5524>] alloc_file_pseudo+0x154/0x210
          [<ffffffff83978582>] sock_alloc_file+0x42/0x1b0
          [<ffffffffa0208fdc>] 0xffffffffa0208fdc
          [<ffffffff829cf03a>] kunit_generic_run_threadfn_adapter+0x4a/0x90
          [<ffffffff81236fc6>] kthread+0x2b6/0x380
          [<ffffffff81096afd>] ret_from_fork+0x2d/0x70
          [<ffffffff81003511>] ret_from_fork_asm+0x11/0x20
      unreferenced object 0xffff888109165040 (size 768):
        comm "kunit_try_catch", pid 1856, jiffies 4294685811 (age 976.269s)
        hex dump (first 32 bytes):
          01 00 00 00 01 00 5a 5a 20 00 00 00 00 00 00 00  ......ZZ .......
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        backtrace:
          [<ffffffff8397993f>] sock_alloc_inode+0x1f/0x1b0
          [<ffffffff81a2cb5b>] alloc_inode+0x5b/0x1a0
          [<ffffffff81a32bed>] new_inode_pseudo+0xd/0x70
          [<ffffffff8397889c>] sock_alloc+0x3c/0x260
          [<ffffffff83979b46>] __sock_create+0x66/0x3d0
          [<ffffffffa0208860>] 0xffffffffa0208860
          [<ffffffff829cf03a>] kunit_generic_run_threadfn_adapter+0x4a/0x90
          [<ffffffff81236fc6>] kthread+0x2b6/0x380
          [<ffffffff81096afd>] ret_from_fork+0x2d/0x70
          [<ffffffff81003511>] ret_from_fork_asm+0x11/0x20
      unreferenced object 0xffff88810926d568 (size 192):
        comm "kunit_try_catch", pid 1856, jiffies 4294685811 (age 976.269s)
        hex dump (first 32 bytes):
          00 00 50 40 02 00 00 00 00 00 00 00 00 00 00 00  ..P@............
          00 00 00 00 00 00 00 00 68 d5 26 09 81 88 ff ff  ........h.&.....
        backtrace:
          [<ffffffff81a1ff11>] __d_alloc+0x31/0x8a0
          [<ffffffff81a2910e>] d_alloc_pseudo+0xe/0x50
          [<ffffffff819d549e>] alloc_file_pseudo+0xce/0x210
          [<ffffffff83978582>] sock_alloc_file+0x42/0x1b0
          [<ffffffffa0208879>] 0xffffffffa0208879
          [<ffffffff829cf03a>] kunit_generic_run_threadfn_adapter+0x4a/0x90
          [<ffffffff81236fc6>] kthread+0x2b6/0x380
          [<ffffffff81096afd>] ret_from_fork+0x2d/0x70
          [<ffffffff81003511>] ret_from_fork_asm+0x11/0x20
      unreferenced object 0xffff88810a240580 (size 224):
        comm "kunit_try_catch", pid 1856, jiffies 4294685811 (age 976.347s)
        hex dump (first 32 bytes):
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
          00 00 00 00 03 00 2e 08 01 00 00 00 00 00 00 00  ................
        backtrace:
          [<ffffffff819d4b90>] alloc_empty_file+0x50/0x160
          [<ffffffff819d4cf9>] alloc_file+0x59/0x730
          [<ffffffff819d5524>] alloc_file_pseudo+0x154/0x210
          [<ffffffff83978582>] sock_alloc_file+0x42/0x1b0
          [<ffffffffa0208879>] 0xffffffffa0208879
          [<ffffffff829cf03a>] kunit_generic_run_threadfn_adapter+0x4a/0x90
          [<ffffffff81236fc6>] kthread+0x2b6/0x380
          [<ffffffff81096afd>] ret_from_fork+0x2d/0x70
          [<ffffffff81003511>] ret_from_fork_asm+0x11/0x20
      unreferenced object 0xffff888109164c40 (size 768):
        comm "kunit_try_catch", pid 1858, jiffies 4294685816 (age 976.342s)
        hex dump (first 32 bytes):
          01 00 00 00 01 00 5a 5a 20 00 00 00 00 00 00 00  ......ZZ .......
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        backtrace:
          [<ffffffff8397993f>] sock_alloc_inode+0x1f/0x1b0
          [<ffffffff81a2cb5b>] alloc_inode+0x5b/0x1a0
          [<ffffffff81a32bed>] new_inode_pseudo+0xd/0x70
          [<ffffffff8397889c>] sock_alloc+0x3c/0x260
          [<ffffffff83979b46>] __sock_create+0x66/0x3d0
          [<ffffffffa0208541>] 0xffffffffa0208541
          [<ffffffff829cf03a>] kunit_generic_run_threadfn_adapter+0x4a/0x90
          [<ffffffff81236fc6>] kthread+0x2b6/0x380
          [<ffffffff81096afd>] ret_from_fork+0x2d/0x70
          [<ffffffff81003511>] ret_from_fork_asm+0x11/0x20
      unreferenced object 0xffff88810926cd18 (size 192):
        comm "kunit_try_catch", pid 1858, jiffies 4294685816 (age 976.342s)
        hex dump (first 32 bytes):
          00 00 50 40 02 00 00 00 00 00 00 00 00 00 00 00  ..P@............
          00 00 00 00 00 00 00 00 18 cd 26 09 81 88 ff ff  ..........&.....
        backtrace:
          [<ffffffff81a1ff11>] __d_alloc+0x31/0x8a0
          [<ffffffff81a2910e>] d_alloc_pseudo+0xe/0x50
          [<ffffffff819d549e>] alloc_file_pseudo+0xce/0x210
          [<ffffffff83978582>] sock_alloc_file+0x42/0x1b0
          [<ffffffffa020855a>] 0xffffffffa020855a
          [<ffffffff829cf03a>] kunit_generic_run_threadfn_adapter+0x4a/0x90
          [<ffffffff81236fc6>] kthread+0x2b6/0x380
          [<ffffffff81096afd>] ret_from_fork+0x2d/0x70
          [<ffffffff81003511>] ret_from_fork_asm+0x11/0x20
      unreferenced object 0xffff88810a240200 (size 224):
        comm "kunit_try_catch", pid 1858, jiffies 4294685816 (age 976.342s)
        hex dump (first 32 bytes):
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
          00 00 00 00 03 00 2e 08 01 00 00 00 00 00 00 00  ................
        backtrace:
          [<ffffffff819d4b90>] alloc_empty_file+0x50/0x160
          [<ffffffff819d4cf9>] alloc_file+0x59/0x730
          [<ffffffff819d5524>] alloc_file_pseudo+0x154/0x210
          [<ffffffff83978582>] sock_alloc_file+0x42/0x1b0
          [<ffffffffa020855a>] 0xffffffffa020855a
          [<ffffffff829cf03a>] kunit_generic_run_threadfn_adapter+0x4a/0x90
          [<ffffffff81236fc6>] kthread+0x2b6/0x380
          [<ffffffff81096afd>] ret_from_fork+0x2d/0x70
          [<ffffffff81003511>] ret_from_fork_asm+0x11/0x20
      unreferenced object 0xffff888109164840 (size 768):
        comm "kunit_try_catch", pid 1860, jiffies 4294685817 (age 976.416s)
        hex dump (first 32 bytes):
          01 00 00 00 01 00 5a 5a 20 00 00 00 00 00 00 00  ......ZZ .......
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        backtrace:
          [<ffffffff8397993f>] sock_alloc_inode+0x1f/0x1b0
          [<ffffffff81a2cb5b>] alloc_inode+0x5b/0x1a0
          [<ffffffff81a32bed>] new_inode_pseudo+0xd/0x70
          [<ffffffff8397889c>] sock_alloc+0x3c/0x260
          [<ffffffff83979b46>] __sock_create+0x66/0x3d0
          [<ffffffffa02093e2>] 0xffffffffa02093e2
          [<ffffffff829cf03a>] kunit_generic_run_threadfn_adapter+0x4a/0x90
          [<ffffffff81236fc6>] kthread+0x2b6/0x380
          [<ffffffff81096afd>] ret_from_fork+0x2d/0x70
          [<ffffffff81003511>] ret_from_fork_asm+0x11/0x20
      unreferenced object 0xffff88810926cab8 (size 192):
        comm "kunit_try_catch", pid 1860, jiffies 4294685817 (age 976.416s)
        hex dump (first 32 bytes):
          00 00 50 40 02 00 00 00 00 00 00 00 00 00 00 00  ..P@............
          00 00 00 00 00 00 00 00 b8 ca 26 09 81 88 ff ff  ..........&.....
        backtrace:
          [<ffffffff81a1ff11>] __d_alloc+0x31/0x8a0
          [<ffffffff81a2910e>] d_alloc_pseudo+0xe/0x50
          [<ffffffff819d549e>] alloc_file_pseudo+0xce/0x210
          [<ffffffff83978582>] sock_alloc_file+0x42/0x1b0
          [<ffffffffa02093fb>] 0xffffffffa02093fb
          [<ffffffff829cf03a>] kunit_generic_run_threadfn_adapter+0x4a/0x90
          [<ffffffff81236fc6>] kthread+0x2b6/0x380
          [<ffffffff81096afd>] ret_from_fork+0x2d/0x70
          [<ffffffff81003511>] ret_from_fork_asm+0x11/0x20
      unreferenced object 0xffff88810a240040 (size 224):
        comm "kunit_try_catch", pid 1860, jiffies 4294685817 (age 976.416s)
        hex dump (first 32 bytes):
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
          00 00 00 00 03 00 2e 08 01 00 00 00 00 00 00 00  ................
        backtrace:
          [<ffffffff819d4b90>] alloc_empty_file+0x50/0x160
          [<ffffffff819d4cf9>] alloc_file+0x59/0x730
          [<ffffffff819d5524>] alloc_file_pseudo+0x154/0x210
          [<ffffffff83978582>] sock_alloc_file+0x42/0x1b0
          [<ffffffffa02093fb>] 0xffffffffa02093fb
          [<ffffffff829cf03a>] kunit_generic_run_threadfn_adapter+0x4a/0x90
          [<ffffffff81236fc6>] kthread+0x2b6/0x380
          [<ffffffff81096afd>] ret_from_fork+0x2d/0x70
          [<ffffffff81003511>] ret_from_fork_asm+0x11/0x20
      unreferenced object 0xffff888109166440 (size 768):
        comm "kunit_try_catch", pid 1862, jiffies 4294685819 (age 976.489s)
        hex dump (first 32 bytes):
          01 00 00 00 01 00 5a 5a 20 00 00 00 00 00 00 00  ......ZZ .......
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        backtrace:
          [<ffffffff8397993f>] sock_alloc_inode+0x1f/0x1b0
          [<ffffffff81a2cb5b>] alloc_inode+0x5b/0x1a0
          [<ffffffff81a32bed>] new_inode_pseudo+0xd/0x70
          [<ffffffff8397889c>] sock_alloc+0x3c/0x260
          [<ffffffff83979b46>] __sock_create+0x66/0x3d0
          [<ffffffffa02097c1>] 0xffffffffa02097c1
          [<ffffffff829cf03a>] kunit_generic_run_threadfn_adapter+0x4a/0x90
          [<ffffffff81236fc6>] kthread+0x2b6/0x380
          [<ffffffff81096afd>] ret_from_fork+0x2d/0x70
          [<ffffffff81003511>] ret_from_fork_asm+0x11/0x20
      unreferenced object 0xffff88810926c398 (size 192):
        comm "kunit_try_catch", pid 1862, jiffies 4294685819 (age 976.489s)
        hex dump (first 32 bytes):
          00 00 50 40 02 00 00 00 00 00 00 00 00 00 00 00  ..P@............
          00 00 00 00 00 00 00 00 98 c3 26 09 81 88 ff ff  ..........&.....
        backtrace:
          [<ffffffff81a1ff11>] __d_alloc+0x31/0x8a0
          [<ffffffff81a2910e>] d_alloc_pseudo+0xe/0x50
          [<ffffffff819d549e>] alloc_file_pseudo+0xce/0x210
          [<ffffffff83978582>] sock_alloc_file+0x42/0x1b0
          [<ffffffffa02097da>] 0xffffffffa02097da
          [<ffffffff829cf03a>] kunit_generic_run_threadfn_adapter+0x4a/0x90
          [<ffffffff81236fc6>] kthread+0x2b6/0x380
          [<ffffffff81096afd>] ret_from_fork+0x2d/0x70
          [<ffffffff81003511>] ret_from_fork_asm+0x11/0x20
      unreferenced object 0xffff888107e0b8c0 (size 224):
        comm "kunit_try_catch", pid 1862, jiffies 4294685819 (age 976.489s)
        hex dump (first 32 bytes):
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
          00 00 00 00 03 00 2e 08 01 00 00 00 00 00 00 00  ................
        backtrace:
          [<ffffffff819d4b90>] alloc_empty_file+0x50/0x160
          [<ffffffff819d4cf9>] alloc_file+0x59/0x730
          [<ffffffff819d5524>] alloc_file_pseudo+0x154/0x210
          [<ffffffff83978582>] sock_alloc_file+0x42/0x1b0
          [<ffffffffa02097da>] 0xffffffffa02097da
          [<ffffffff829cf03a>] kunit_generic_run_threadfn_adapter+0x4a/0x90
          [<ffffffff81236fc6>] kthread+0x2b6/0x380
          [<ffffffff81096afd>] ret_from_fork+0x2d/0x70
          [<ffffffff81003511>] ret_from_fork_asm+0x11/0x20
      unreferenced object 0xffff888109164440 (size 768):
        comm "kunit_try_catch", pid 1864, jiffies 4294685821 (age 976.487s)
        hex dump (first 32 bytes):
          01 00 00 00 01 00 5a 5a 20 00 00 00 00 00 00 00  ......ZZ .......
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
        backtrace:
          [<ffffffff8397993f>] sock_alloc_inode+0x1f/0x1b0
          [<ffffffff81a2cb5b>] alloc_inode+0x5b/0x1a0
          [<ffffffff81a32bed>] new_inode_pseudo+0xd/0x70
          [<ffffffff8397889c>] sock_alloc+0x3c/0x260
          [<ffffffff83979b46>] __sock_create+0x66/0x3d0
          [<ffffffffa020824e>] 0xffffffffa020824e
          [<ffffffff829cf03a>] kunit_generic_run_threadfn_adapter+0x4a/0x90
          [<ffffffff81236fc6>] kthread+0x2b6/0x380
          [<ffffffff81096afd>] ret_from_fork+0x2d/0x70
          [<ffffffff81003511>] ret_from_fork_asm+0x11/0x20
      unreferenced object 0xffff88810f4cf698 (size 192):
        comm "kunit_try_catch", pid 1864, jiffies 4294685821 (age 976.501s)
        hex dump (first 32 bytes):
          00 00 50 40 02 00 00 00 00 00 00 00 00 00 00 00  ..P@............
          00 00 00 00 00 00 00 00 98 f6 4c 0f 81 88 ff ff  ..........L.....
        backtrace:
          [<ffffffff81a1ff11>] __d_alloc+0x31/0x8a0
          [<ffffffff81a2910e>] d_alloc_pseudo+0xe/0x50
          [<ffffffff819d549e>] alloc_file_pseudo+0xce/0x210
          [<ffffffff83978582>] sock_alloc_file+0x42/0x1b0
          [<ffffffffa0208267>] 0xffffffffa0208267
          [<ffffffff829cf03a>] kunit_generic_run_threadfn_adapter+0x4a/0x90
          [<ffffffff81236fc6>] kthread+0x2b6/0x380
          [<ffffffff81096afd>] ret_from_fork+0x2d/0x70
          [<ffffffff81003511>] ret_from_fork_asm+0x11/0x20
      unreferenced object 0xffff888107e0b000 (size 224):
        comm "kunit_try_catch", pid 1864, jiffies 4294685821 (age 976.501s)
        hex dump (first 32 bytes):
          00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
          00 00 00 00 03 00 2e 08 01 00 00 00 00 00 00 00  ................
        backtrace:
          [<ffffffff819d4b90>] alloc_empty_file+0x50/0x160
          [<ffffffff819d4cf9>] alloc_file+0x59/0x730
          [<ffffffff819d5524>] alloc_file_pseudo+0x154/0x210
          [<ffffffff83978582>] sock_alloc_file+0x42/0x1b0
          [<ffffffffa0208267>] 0xffffffffa0208267
          [<ffffffff829cf03a>] kunit_generic_run_threadfn_adapter+0x4a/0x90
          [<ffffffff81236fc6>] kthread+0x2b6/0x380
          [<ffffffff81096afd>] ret_from_fork+0x2d/0x70
          [<ffffffff81003511>] ret_from_fork_asm+0x11/0x20
      
      Fixes: 88232ec1
      
       ("net/handshake: Add Kunit tests for the handshake consumer API")
      Signed-off-by: default avatarJinjie Ruan <ruanjinjie@huawei.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4a0f07d7
    • Colin Ian King's avatar
      wifi: cfg80211: make read-only array centers_80mhz static const · 6c0da840
      Colin Ian King authored
      
      
      Don't populate the read-only array lanes on the stack, instead make
      it static const.
      
      Signed-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6c0da840
    • Colin Ian King's avatar
      net: dsa: mv88e6xxx: make const read-only array lanes static · ccd663ca
      Colin Ian King authored
      
      
      Don't populate the const read-only array lanes on the stack, instead make
      it static.
      
      Signed-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
      Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ccd663ca
    • Cai Huoqing's avatar
      net: hinic: Fix warning-hinic_set_vlan_fliter() warn: variable dereferenced before check 'hwdev' · 22b6e7f3
      Cai Huoqing authored
      'hwdev' is checked too late and hwdev will not be NULL, so remove the check
      
      Fixes: 2acf960e
      
       ("net: hinic: Add support for configuration of rx-vlan-filter by ethtool")
      Reported-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
      Closes: https://lore.kernel.org/r/202309112354.pikZCmyk-lkp@intel.com/
      
      
      Signed-off-by: default avatarCai Huoqing <cai.huoqing@linux.dev>
      Reviewed-by: default avatarVadim Fedorenko <vadim.fedorenko@linux.dev>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      22b6e7f3
    • David S. Miller's avatar
      Merge branch 'ionic-better-tx-sg=handling' · 3a69ab87
      David S. Miller authored
      
      
      Shannon Nelson says:
      
      ====================
      ionic: better Tx SG handling
      
      The primary patch here is to be sure we're not hitting linearize on a Tx
      skb when we don't really need to.  The other two are related details.
      ====================
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3a69ab87
    • Shannon Nelson's avatar
      ionic: expand the descriptor bufs array · 529cdfd5
      Shannon Nelson authored
      
      
      When processing a TSO we may have frags spread across several
      descriptors, and the total count of frags in one skb may exceed
      our per descriptor IONIC_MAX_FRAGS: this is fine as long as
      each descriptor has fewer frags than the limit.  Since the skb
      could have as many as MAX_SKB_FRAGS, and the first descriptor
      is where we track and map the frag buffers, we need to be sure
      we can map buffers for all of the frags plus the TSO header in
      the first descriptor's buffer array.
      
      Signed-off-by: default avatarShannon Nelson <shannon.nelson@amd.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      529cdfd5