)]}'
{
  "log": [
    {
      "commit": "57f165ff2f30491bc3511d24a52ca516751a268b",
      "tree": "13029a2db7f939355e45a55e13b6abc97dc1c850",
      "parents": [
        "5a1f6793361524314b442371dc05ce3cd4f2f838"
      ],
      "author": {
        "name": "Kyuwon Cho",
        "email": "kyuwoncho18@gmail.com",
        "time": "Wed Nov 18 10:06:09 2026 -0800"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Mon Nov 23 16:27:10 2026 +0100"
      },
      "message": "net: openvswitch: don\u0027t WARN on a non-IP packet that needs fragmenting\n\novs_fragment() only handles IPv4 and IPv6 and drops any other packet\nwith a WARN_ONCE(). Since OVS_PACKET_CMD_EXECUTE takes the MRU from\nuserspace, any ethertype can get there, e.g. an MPLS packet executed by\nan unprivileged user in its own user and network namespace:\n\n  Failed fragment -\u003eovs0: eth\u003d8847, MRU\u003d500, MTU\u003d1500.\n  WARNING: net/openvswitch/actions.c:831 at ovs_fragment+0x239/0x840, CPU#1: test/106\n  Call Trace:\n   do_execute_actions+0x580e/0x7380\n   ovs_execute_actions+0xd3/0x3e0\n   ovs_packet_cmd_execute+0xc21/0x13c0\n\nThe packet is dropped either way, so use a rate-limited warning instead.\n\nFixes: 7f8a436eaa2c (\"openvswitch: Add conntrack action\")\nCloses: https://lore.kernel.org/netdev/179492834266.3639154.14679778183890331729@gmail.com/\nSigned-off-by: Kyuwon Cho \u003ckyuwoncho18@gmail.com\u003e\nReviewed-by: Aaron Conole \u003caconole@redhat.com\u003e\nLink: https://patch.msgid.link/179502509517.2983267.1652158471891914135@gmail.com\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "5a1f6793361524314b442371dc05ce3cd4f2f838",
      "tree": "7522cbb2a38064a3cb8034e8412c948adb20cec1",
      "parents": [
        "60cf8fade56666e8868a1435971e01336e217774"
      ],
      "author": {
        "name": "Haoran Wang",
        "email": "wanghr2026@mail.zgclab.edu.cn",
        "time": "Wed Nov 18 14:43:07 2026 +0800"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Mon Nov 23 15:58:45 2026 +0100"
      },
      "message": "net: sparx5: check DT port reg against chip port count\n\nmchp_sparx5_probe() reads the DT ethernet-port \u0027reg\u0027 property into\nportno, which sparx5_create_port() later uses to index the fixed-size\nsparx5-\u003eports[] array:\n\n    sparx5-\u003eports[config-\u003eportno] \u003d spx5_port;\n\nThe value is never validated, so an out-of-range \u0027reg\u0027 (runtime overlay,\ncorrupted or attacker-controlled DTB, kexec-supplied or bootloader\nfixed-up DT) turns probe into an out-of-bounds write.\n\nSkip port nodes with an out-of-range \u0027reg\u0027.  lan966x_probe_port() has\nthe same bounds check but fails probe with -EINVAL; skipping here keeps\nthe remaining valid ports working.  The bound is the per-chip port count\nfrom the match data (sparx5-\u003edata-\u003econsts-\u003en_ports), so lan969x, which\nshares this probe path and has only 30 ports, is bounded correctly as\nwell.\n\nFound by a scripted scan of of_property_read_u32() call sites used to\nindex fixed-size arrays, followed by manual review. Verified at runtime\non a pristine v7.4-rc2 arm64 QEMU virt machine (inline KASAN,\nCONFIG_SPARX5_SWITCH\u003dm): an out-of-tree module supplies only a\nmalicious DT overlay, the unmodified in-tree driver performs the store.\nreg \u003d 15839 yields a KASAN use-after-free, reg \u003d 0x20000000 a wild\nwrite 4 GiB out (paging oops), and reg \u003d 65 silent in-struct corruption\nwith a later NULL oops. With this patch all three are skipped. The PoC\nand full logs are posted in the thread. Not tested on real hardware,\nQEMU virt (cortex-a57) and compile testing only.\n\nFixes: f3cad2611a77 (\"net: sparx5: add hostmode with phylink support\")\nSigned-off-by: Haoran Wang \u003cwanghr2026@mail.zgclab.edu.cn\u003e\nLink: https://patch.msgid.link/20261118162156.17688-1-wanghr2026@mail.zgclab.edu.cn\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "60cf8fade56666e8868a1435971e01336e217774",
      "tree": "a3feead72e39b21a18cde94b98792f4dd3acbf4e",
      "parents": [
        "5a3f240e32b21a454ebed922b38cc4b9e0d387f9"
      ],
      "author": {
        "name": "Coia Prant",
        "email": "coiaprant@gmail.com",
        "time": "Wed Nov 18 01:55:28 2026 +0800"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Mon Nov 23 15:36:47 2026 +0100"
      },
      "message": "net: txgbe: fix stack size for PHY interface mask\n\nThe DECLARE_PHY_INTERFACE_MASK_ZERO() macro currently defined in the\ntxgbe driver incorrectly uses PHY_INTERFACE_MODE_MAX as the array\nlength instead of BITS_TO_LONGS(). This allocates significantly more\nspace on the stack than necessary.\n\nSince hiding the zero-initialization inside a macro is discouraged,\ndrop the local macro entirely and use the standard\nDECLARE_PHY_INTERFACE_MASK() with explicit zero-initialization at the\ndeclaration site instead.\n\nSigned-off-by: Coia Prant \u003ccoiaprant@gmail.com\u003e\nCc: Jiawen Wu \u003cjiawenwu@trustnetic.com\u003e\nLink: https://patch.msgid.link/20261117175528.3018609-1-coiaprant@gmail.com\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "5a3f240e32b21a454ebed922b38cc4b9e0d387f9",
      "tree": "447a20c9cc61a6273e6353f509ece8a27e8e74dc",
      "parents": [
        "2388bb763e323442f4dd8189238ac0c5f334c4a0"
      ],
      "author": {
        "name": "Guangshuo Li",
        "email": "liguangshuo@mail.sdu.edu.cn",
        "time": "Tue Nov 17 22:48:45 2026 +0800"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Mon Nov 23 15:19:07 2026 +0100"
      },
      "message": "mctp: i3c: Fix potential thread leak on registration failure\n\nmctp_register_netdev() can fail before netdev registration begins,\nleaving the TX thread and bus list entry allocated. The error path\nassumes ndo_uninit has already cleaned them up.\n\nAlways clean up on registration failure. Make bus cleanup idempotent\nbecause later registration failures can already have called ndo_uninit.\n\nThis issue was found by our static analysis tool under development.\n\nFixes: c8755b29b58e (\"mctp i3c: MCTP I3C driver\")\nSigned-off-by: Guangshuo Li \u003cliguangshuo@mail.sdu.edu.cn\u003e\nLink: https://patch.msgid.link/20261117-571e631490-mctp-i3c-0@mail.sdu.edu.cn\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "2388bb763e323442f4dd8189238ac0c5f334c4a0",
      "tree": "5e30219cafa4a8066af825847c1c153ae8e7dd1b",
      "parents": [
        "eb6d6c80d35449c27471b1874f13066c09a8964d"
      ],
      "author": {
        "name": "Bobby Eshleman",
        "email": "bobbyeshleman@meta.com",
        "time": "Mon Nov 16 15:46:49 2026 -0800"
      },
      "committer": {
        "name": "Paolo Abeni",
        "email": "pabeni@redhat.com",
        "time": "Mon Nov 23 13:00:48 2026 +0100"
      },
      "message": "vsock: only deliver taps to namespaces that can reach the device\n\nvsock_deliver_tap() clones every packet to every vsockmon device on the\nsystem. Creating one needs only CAP_NET_ADMIN in the owning user\nnamespace, so an unprivileged user can capture the traffic of local mode\nnamespaces.\n\nPass the packet\u0027s netns to vsock_deliver_tap() and only deliver to\ndevices that pass vsock_net_check_mode(), the same rule socket lookups\nuse. vhost passes the vhost_vsock netns, loopback the sending socket\u0027s\nnetns, and virtio-vsock NULL (global mode).\n\nFixes: a69686327e42 (\"vsock: add netns support to virtio transports\")\nSigned-off-by: Bobby Eshleman \u003cbobbyeshleman@meta.com\u003e\nLink: https://patch.msgid.link/20261116-vsock-tap-net-v1-1-7e24f45adad3@meta.com\nSigned-off-by: Paolo Abeni \u003cpabeni@redhat.com\u003e\n"
    },
    {
      "commit": "eb6d6c80d35449c27471b1874f13066c09a8964d",
      "tree": "b7a0813ec5b149b2d59efde0dbef3ca0a1c80f05",
      "parents": [
        "150da2682b99d53d3a1c5c2439f660ea3223b187"
      ],
      "author": {
        "name": "Victor Nogueira",
        "email": "victor@mojatatu.com",
        "time": "Fri Nov 13 16:10:03 2026 -0300"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 15:45:45 2026 -0800"
      },
      "message": "net/sched: em_text: pad the text pattern in the ematch dump\n\nThis is a followup of commit 9c572a83037a (\"net/sched: fix potential\nstack infoleak in em_text_dump()\") as reported by Sashiko.\n\nThe issue: em_text_dump() appends the text pattern with nla_append(),\nwhich is a bare skb_put_data() and does not pad the attribute to a 4-byte\nboundary.  When pattern_len is not a multiple of four the skb tail is left\nunaligned.\n\ntcf_em_tree_dump() records the raw span as the ematch entry\u0027s nla_len and\nthen writes the next ematch\u0027s nlattr header at that unaligned tail.\nUserspace walks the list with RTA_NEXT()/NLA_NEXT(), which rounds each\nattribute length up to four bytes, so it looks for the next entry at an\naligned offset the kernel did not write.  The ematch list is therefore\nmisparsed as soon as a text ematch has a pattern length that is not a\nmultiple of four.\n\nThe Fix: append the pattern with nla_put_nohdr(), which reserves\nNLA_ALIGN(attrlen) bytes and zero-fills the padding, so the following\nematch stays aligned.  The emitted ematch entry then carries the padding\nin its nla_len, which is what NLA_NEXT() already assumes.  em_text_change()\nonly checks that len covers the struct and the pattern, so a dump replayed\nas a request is still accepted.\n\nA padded text ematch is the same size as the request that installed it:\nboth sides carry the 8-byte match header and the 24-byte configuration\nfollowed by the pattern rounded up to four bytes, so a tree that installs\ncan still be dumped.\n\nThe kernel has no explicit bound on pattern_len; it comes from the\nrequest. TCA_OPTIONS carries a u16 nla_len, and for cls_cgroup it holds\n56 bytes of nested headers, the ematch header and struct tcf_em_text\nahead of the 4-byte-aligned pattern. So the largest pattern that can be\ninstalled is 65476 bytes (65532-byte options). At 65477 the aligned\noptions length wraps to 0, the attribute is dropped by\nnlmsg_parse_deprecated() and cls_cgroup_change() returns -EINVAL. Since\nthe dump is no larger than the request, the padding cannot push the\ndumped TCA_OPTIONS past U16_MAX.\n\nThis also removes the last variable-length nla_append() caller (sch_gred\u0027s\nis a fixed-size, already aligned struct).\n\nConditions to recreate the bug:\n- CAP_NET_ADMIN on the target netns (unshare -Urn is enough)\n- add a basic filter with two text ematches whose pattern_len is not a\n  multiple of 4 (e.g. 1 and 2), then dump it with RTM_GETTFILTER; the first\n  entry comes back with an unaligned nla_len and the next entry\u0027s nlattr\n  header is written at that raw offset, while RTA_NEXT() reads an aligned\n  offset three bytes later\n\nReported-by: Sashiko (gemini) \u003csashiko-bot@kernel.org\u003e\nCloses: https://sashiko.dev/#/patchset/20260918133953.12494-1-bernard.ladenthin%40gmail.com\nLink: https://lore.kernel.org/netdev/e0f4776a-0457-4069-9f79-3c97de2a54d0@redhat.com/\nReviewed-by: Jamal Hadi Salim \u003cjhs@mojatatu.com\u003e\nSigned-off-by: Victor Nogueira \u003cvictor@mojatatu.com\u003e\nLink: https://patch.msgid.link/QDISC-7SHE.v2.r0.20261109072128-1@mojatatu.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "150da2682b99d53d3a1c5c2439f660ea3223b187",
      "tree": "2f7f03fff301339b95d5c252ae5631501ac54e99",
      "parents": [
        "a7e1c56d1f95323ad2e7da80d2714261b6ed5c0b",
        "f53c4f7ecfcc7b9dd087cd39e79c0c763a3c450e"
      ],
      "author": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 15:37:51 2026 -0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 15:37:51 2026 -0800"
      },
      "message": "Merge branch \u0027netlink-specs-fill-in-the-missing-ovs-operations\u0027\n\nMinxi Hou says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\nnetlink: specs: fill in the missing ovs operations\n\nThe ovs specs describe get and new but not every command the kernel\nhas registered: all three families lacked set, and ovs_flow also lacked\ndel. This series adds them, names the attributes each handler reads,\nand corrects what the existing specs say about the kernel. No kernel\ncode changes.\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261119172118.3416958-1-houminxi@gmail.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "f53c4f7ecfcc7b9dd087cd39e79c0c763a3c450e",
      "tree": "2f7f03fff301339b95d5c252ae5631501ac54e99",
      "parents": [
        "fa2ea983e25d455fb8e95b4f07005f1334435bfc"
      ],
      "author": {
        "name": "Minxi Hou",
        "email": "houminxi@gmail.com",
        "time": "Thu Nov 19 12:21:18 2026 -0500"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 15:37:49 2026 -0800"
      },
      "message": "netlink: specs: correct the ovs specs where they do not match the kernel\n\nThe vport netnsid attribute is signed in the kernel: vport_policy declares\nit NLA_S32 and ovs_vport_cmd_fill_info() sends it with nla_put_s32(). A\nclient reading it as unsigned turns the -1 that peernet2id_alloc() returns\nwhen it cannot assign an identifier into 4294967295. Declare it s32, and\nsay the same in the uapi comment, which also never said the value is -1\nwhen no identifier could be assigned.\n\nTwo dumps shared a request list with their get operation, while the dump\nhandlers read no request attribute. Each dump now has a request list of its\nown with no attributes, so neither advertises an attribute the kernel would\nignore.\n\nFour lists named attributes their handler never reads or sends. The vport\ndelete goes through lookup_vport() and reads no type. The datapath reply\ndoes not carry upcall-pid, which the uapi reserves for the new request, so\nthe reply list drops it and the ynl selftest stops printing that field. The\nvport new request named the nested options, which the kernel accepts and\nignores. The packet miss event shared its list with the userspace action\nevent, which alone fills userdata, actions, the tunnel key and the length\nof a truncated packet, so the miss event now lists only what a miss sends.\n\nThe vport get request can also be answered by port number, because\nlookup_vport() falls back to it when the request carries no name, so list\nport-no there. The datapath get is served by the name, or by the header\nifindex when the name is absent, which its doc now says, and all four ovs\nspecs document the header struct the same way. The vport new doc gains the\nconstraint that an ifindex is only accepted for an internal vport.\n\nThe uapi note on the vport name now covers requests other than new and\ndump, and names the header member the lookup uses. The note on options says\nwhat the kernel does with the attribute instead of leaving it to the vport\ntype.\n\nThe packet spec declared neither the validate flags nor the admin\npermission that the kernel registers on the execute operation.\n\nThe vport spec also declared family version 2 where the kernel registers 1.\n\nNone of this comes from the set operations added earlier in the series; the\nspecs have been wrong since the families were introduced.\n\nSigned-off-by: Minxi Hou \u003chouminxi@gmail.com\u003e\nLink: https://patch.msgid.link/20261119172118.3416958-4-houminxi@gmail.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "fa2ea983e25d455fb8e95b4f07005f1334435bfc",
      "tree": "109354089975bd60d0fbd4850b1d6df341b2e7cc",
      "parents": [
        "a07bb1cee2af02343cc8483a7313d33d10998326"
      ],
      "author": {
        "name": "Minxi Hou",
        "email": "houminxi@gmail.com",
        "time": "Thu Nov 19 12:21:17 2026 -0500"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 15:37:49 2026 -0800"
      },
      "message": "netlink: specs: add ovs datapath and vport set operations\n\nBoth families register a SET command that the spec never described, so a\nYNL client could not change an existing datapath or vport. The datapath\nNEW command also gains the masks cache size, the per-cpu upcall pids and\nthe ifindex, which its handler reads. new, del and set take\nCAP_NET_ADMIN, which is GENL_UNS_ADMIN_PERM in the kernel.\n\nThe datapath SET command changes the user features, the masks cache size\nand the per-cpu upcall pids. A request that leaves out user-features is\nread as zero, which clears the features set earlier. per-cpu-pids takes\neffect only when the same request sets OVS_DP_F_DISPATCH_UPCALL_PER_CPU\nin user-features; without that bit the pids are dropped and the request\nstill succeeds.\n\nThe vport SET command changes the upcall pid. It finds the vport by name,\nor by port number when the request carries no name. An ifindex or options\nare rejected with -EOPNOTSUPP, and a type that differs from the vport\u0027s\ntype with -EINVAL; nothing is compared but the type. The vport NEW\nrequest list gains the port number, which its handler reads.\n\nThe ifindex attribute is signed in both policies, which read it with\nnla_get_s32_default() and reject anything below zero, so declare it as\ns32 to match them rather than leaving it u32. The field in the generated\nreply struct becomes __s32 with it. The reply itself does not change:\novs_vport_cmd_fill_info() still puts the value as u32, and the two types\nhave the same width.\n\nThe commands in both families skip strict and dump validation in the\nkernel, so the spec says so for get, new, del and set.\n\nBoth SET commands also send the updated object to the family\u0027s multicast\ngroup, and to the requester when the request sets NLM_F_ECHO, which the\nnew op docs say.\n\nSigned-off-by: Minxi Hou \u003chouminxi@gmail.com\u003e\nLink: https://patch.msgid.link/20261119172118.3416958-3-houminxi@gmail.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "a07bb1cee2af02343cc8483a7313d33d10998326",
      "tree": "331b19b6fd8550792c80f892a670f3c881eafa36",
      "parents": [
        "a7e1c56d1f95323ad2e7da80d2714261b6ed5c0b"
      ],
      "author": {
        "name": "Minxi Hou",
        "email": "houminxi@gmail.com",
        "time": "Thu Nov 19 12:21:16 2026 -0500"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 15:37:49 2026 -0800"
      },
      "message": "netlink: specs: add ovs_flow del and set operations\n\nThe ovs_flow spec described get and new only, so a YNL client could not\ndelete or modify a flow. Both commands have been in the kernel since the\nfamily was added: del flushes the data path when a request carries neither\na key nor a ufid, or no key and a ufid longer than 16 octets, and set looks\na flow up by key or by ufid.\n\nList the attributes each command reads, and say that a successful delete of\none flow, or a successful set, sends that flow to the family\u0027s multicast\ngroup, as the kernel does. new and get read ufid-flags and probe as well as\nthe key, so those belong in their request lists. The get reply gains the\nlast-used time and the TCP flags, which ovs_flow_cmd_fill_stats() fills for\na get and for a dump reply. new, del and set need CAP_NET_ADMIN, and all\nfour operations skip strict and dump validation.\n\nA dump reads ufid-flags alone, so give it a request list of its own instead\nof sharing the get list. The reply stays the same as for get.\n\nprobe was binary while the kernel policy is NLA_FLAG, so a client that\nwanted to raise it had to send an attribute with no body. As a flag the\ngenerated setter takes no value.\n\nThe key, actions, stats, used and tcp-flags docs called those attributes\nalways present in notifications. The key is left out for a flow identified\nby a ufid when the request asked for the key to be left out, and a dump\nalso leaves the actions out when they do not fit in the message. The other\nthree appear in replies as well, which the docs now say, and the uapi\ncomments for those attributes say the same.\n\nThe key doc said a key is required for every request except a dump. The\nkernel accepts a ufid with no key, but a get and a set need one of the two,\nand a set that replaces the actions needs a key. A new request needs a key,\nincluding one that finds an existing flow and replaces its actions.\n\nThe header definition said a zero data path member leaves the request\nnon-specific, which no flow request accepts: each of them returns -ENODEV.\nDrop that description.\n\nThe ufid doc promised that the flow is indexed by that value, which does\nnot hold for a value the kernel rejects. A value longer than 16 octets is\nread as if the attribute were absent, so a new request indexes the flow by\nits key instead, and a del that carries no key flushes the data path. A\nzero length value fails the minimum length the policy sets. Record that\nminimum, and limit the promise about indexing to a value the kernel\naccepts. The doc also said the attribute appears in notifications only,\nwhile a reply carries it too.\n\nSigned-off-by: Minxi Hou \u003chouminxi@gmail.com\u003e\nLink: https://patch.msgid.link/20261119172118.3416958-2-houminxi@gmail.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "a7e1c56d1f95323ad2e7da80d2714261b6ed5c0b",
      "tree": "d78a1f12b05248bed3026d8f5bd9c1767ec66770",
      "parents": [
        "e678e4283983da00e05e818ee536a0dab53f664d"
      ],
      "author": {
        "name": "Junyang Han",
        "email": "han.junyang@zte.com.cn",
        "time": "Fri Nov 13 13:50:38 2026 +0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 15:32:25 2026 -0800"
      },
      "message": "dinghai: add firmware version check and RISC-V readiness polling\n\nThe DingHai firmware publishes a version compatibility block and a\nRISC-V health buffer at fixed offsets within BAR 0.\n\nAfter the PCI capabilities are mapped, poll the compatibility block\nuntil the firmware populates it (the region reads as all ones until\nthen) and verify the driver/firmware version contract. Then wait for\nthe RISC-V management core to set its power-on flag in the health\nbuffer before the rest of the probe continues.\n\nFirmware images that support neither self-healing (health version\nother than 1) nor hot-plug interrupts (patch level below\nZXDH_HPIRQ_PATCH) do not report the power-on flag and skip the\nreadiness wait.\n\nSigned-off-by: Junyang Han \u003chan.junyang@zte.com.cn\u003e\nLink: https://patch.msgid.link/20261113135038394NowoSxTdiA32KKAPcTmCa@zte.com.cn\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "e678e4283983da00e05e818ee536a0dab53f664d",
      "tree": "724fe98a44f0f852886fdb368d756cf50ef360fd",
      "parents": [
        "944841b8af499bbdd6e9dcbf9d4422861d7727f8"
      ],
      "author": {
        "name": "Suyuan Wang",
        "email": "stevewong@hust.edu.cn",
        "time": "Tue Nov 17 13:04:41 2026 +0000"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 15:12:19 2026 -0800"
      },
      "message": "vlan: require real device netns admin to change GVRP and MVRP\n\nA VLAN device can be moved to another network namespace while its real\ndevice stays behind. CAP_NET_ADMIN in the VLAN\u0027s namespace is then\nenough to change its flags, through IFLA_VLAN_FLAGS or the\nSET_VLAN_FLAG_CMD ioctl. Two of those flags act on the real device\nrather than on the VLAN:\n\n    if (netif_running(dev) \u0026\u0026 (new_flags ^ old_flags) \u0026 VLAN_FLAG_GVRP) {\n            if (new_flags \u0026 VLAN_FLAG_GVRP)\n                    vlan_gvrp_request_join(dev);\n            ...\n\nvlan_gvrp_request_join() and vlan_mvrp_request_join() declare the VLAN\u0027s\nown VID on real_dev\u0027s GARP/MRP applicant, so the real device starts\nsending registrations for it on the wire, and the switch on the other\nend may add the port to that VLAN. On a running VLAN, clearing the flag\nwithdraws the declaration the same way.\n\nSo an administrator of the VLAN\u0027s namespace, with no capability in the\nreal device\u0027s namespace, can make the real device emit GVRP/MVRP\nregistrations on the wire. Check CAP_NET_ADMIN in the real device\u0027s\nnamespace in vlan_dev_change_flags() when GVRP or MVRP changes, which\ncovers both the rtnetlink and the ioctl path. rtnl_dev_link_net_capable()\nallows it right away when both devices are in the same namespace, so\nnothing changes for that case. This matches macvlan and the changelink\nseries that gated the tunnel drivers and, recently, macsec.\n\nFound by LLM.\n\nCo-developed-by: Kaixuan Li \u003ckaixuan.li@ntu.edu.sg\u003e\nSigned-off-by: Kaixuan Li \u003ckaixuan.li@ntu.edu.sg\u003e\nSigned-off-by: Suyuan Wang \u003cstevewong@hust.edu.cn\u003e\nLink: https://patch.msgid.link/20261117-vlan-gvrp-v1-1-53a6b0775953@gmail.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "944841b8af499bbdd6e9dcbf9d4422861d7727f8",
      "tree": "a05ec9d3137347a2959aedec902a66a7a8fb2834",
      "parents": [
        "fd5f80a8a4270b768888c61dfbd26f9310cebeb2"
      ],
      "author": {
        "name": "Imre Kaloz",
        "email": "kaloz@kernel.org",
        "time": "Mon Nov 16 11:19:33 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 14:58:25 2026 -0800"
      },
      "message": "net: sgi: ioc3-eth: set platform drvdata in probe\n\nioc3eth_remove() fetches the net_device with platform_get_drvdata(),\nbut probe never stores it, so unbinding the device oopses in\nunregister_netdev().\n\nReproduced and tested on an SGI Fuel.\n\nCc: stable+noautosel@kernel.org # LLM fix for ancient HW\nFixes: 1da177e4c3f4 (\"Linux-2.6.12-rc2\")\nReported-by: Sashiko \u003csashiko-bot@kernel.org\u003e\nCloses: https://lore.kernel.org/all/179473760071.2199510.16065103101920438822@kernel.org/\nSigned-off-by: Imre Kaloz \u003ckaloz@kernel.org\u003e\nLink: https://patch.msgid.link/20261116101934.25910-2-kaloz@kernel.org\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "fd5f80a8a4270b768888c61dfbd26f9310cebeb2",
      "tree": "259488d6660de9c37543b6907eec28bf18c08b72",
      "parents": [
        "593dfd60101ccff84105ea4f82d275a10be7849b"
      ],
      "author": {
        "name": "Matthieu Baerts (NGI0)",
        "email": "matttbe@kernel.org",
        "time": "Thu Nov 19 11:52:01 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 14:49:24 2026 -0800"
      },
      "message": "selftests: drv-net: netpoll_basic: xfail if no hits\n\nWhen netpoll_poll_dev() is not called during the test, bpftrace doesn\u0027t\nprint the \u0027@hits\u0027 map, because it is empty. The test then fails instead\nof reporting the expected XFAIL:\n\n  net.lib.py.ksft.KsftFailEx: bpftrace failed to run!?: {}\n\nThis has been observed regularly in the netdev CI with netdevsim, since\na recent switch to Fedora 45: hitting this function depends on timings.\n\nSigned-off-by: Matthieu Baerts (NGI0) \u003cmatttbe@kernel.org\u003e\nReviewed-by: Breno Leitao \u003cleitao@debian.org\u003e\nLink: https://patch.msgid.link/20261119-net-next-netpoll-basic-xfail-v1-1-206bf59911ea@kernel.org\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "593dfd60101ccff84105ea4f82d275a10be7849b",
      "tree": "5c488ba66f36be45793fa0364f965aea4510f7a4",
      "parents": [
        "1cde02cd5a86df9fab1573fd26ea5fa81527f851",
        "bcd72b75086457e21908853151e8b266c333e6a4"
      ],
      "author": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 14:47:48 2026 -0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 14:47:48 2026 -0800"
      },
      "message": "Merge branch \u0027bnge-make-nq0-persistent-across-open-close\u0027\n\nBhargava Marreddy says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\nbnge: Make NQ0 persistent across open/close\n\nThis series ensures the bnge driver\u0027s Notification Queue 0 (NQ0) remains\npersistent across interface close/open cycles rather than being destroyed\nand recreated on each cycle.\n\nCurrently, NQ0 exists only between ndo_open() and ndo_stop(), so firmware\nasync events (e.g., link changes) and HWRM completions are not received\nwhile the interface is down.\n\nNQ0 and its MSI-X vector are now allocated at probe and retained until\nremove. To conserve MSI-X vectors for Rx/Tx queues, vector 0 is shared.\nNQ0\u0027s NAPI exists only between ndo_open() and ndo_stop(), like every other\nNQ. While the interface is up, NQ0 runs via NAPI; while down, an\nIRQ-triggered work item processes non-datapath events.\n\nPatches 1-4: Preparatory refactoring (alloc/free helpers, logging\n             fallbacks, NQ iterator, irq_tbl layout). No functional\n             change apart from the items noted in their commit messages.\nPatch 5    : Create NQ0 at probe, free it at remove, and add the worker\n             fallback.\n\nirq_tbl layout after this series:\n  Vector 0       : NQ0 (probe to remove)\n  Vectors 1..A   : RoCE (auxiliary driver)\n  Vectors A+1..N : Main L2 NQs (open/close only)\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261117061641.122942-1-bhargava.marreddy@broadcom.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "bcd72b75086457e21908853151e8b266c333e6a4",
      "tree": "5c488ba66f36be45793fa0364f965aea4510f7a4",
      "parents": [
        "15120271cc51d09ee3bf81b65154f013ff9d9ad5"
      ],
      "author": {
        "name": "Bhargava Marreddy",
        "email": "bhargava.marreddy@broadcom.com",
        "time": "Tue Nov 17 06:16:41 2026 +0000"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 14:47:47 2026 -0800"
      },
      "message": "bnge: create NQ0 during probe and keep it active across open/close\n\nUnlike the other NQs, NQ0 is not only a datapath queue. Besides Rx/Tx\ncompletions it also delivers firmware async events (including link\nevents). It is currently created in ndo_open() and destroyed in\nndo_stop(), so async events are not received while the interface is\ndown.\n\nCreate NQ0 once at probe and keep it, together with its MSI-X vector,\nuntil remove. NAPI is not kept around: as for every other NQ, NQ0\u0027s NAPI\nexists only between ndo_open() and ndo_stop(). A dedicated async-only\nvector would avoid sharing but would cost one MSI-X per function, taking\nit away from the Rx/Tx queues, so NQ0\u0027s vector is shared instead.\n\nThe vector\u0027s handler serves NQ0 in one of two ways, selected by the new\nBNGE_STATE_NQ0_NAPI bit:\n\n  - NAPI mode (interface up): the handler schedules NQ0\u0027s NAPI, which\n    handles Rx/Tx, async and HWRM events.\n\n  - Worker mode (interface down): there is no NAPI instance, so the\n    handler queues nq0_work. The worker runs bnge_nq0_poll(), which\n    handles async events, discards completion notifications for CQs\n    (none exist while down) and re-arms the NQ.\n\nThe mode changes only in open and stop, with NQ0\u0027s IRQ disabled and\nnq0_work cancelled, so one context consumes NQ0 at a time. At open,\nbnge_enable_int() arms NQ0 while its IRQ is still disabled; the IRQ is\nenabled again only after the NAPI mode bit is set. Unread\nnotifications for the destroyed rings are dropped before NAPI is\nre-enabled, so bnge_napi_poll() needs no bounds check on the CQ handle.\n\nnq0_work runs on a dedicated ordered workqueue, nq0_wq.\n\nAsync events received while the interface is down are queued to\nsp_task, which ignores them until open. This patch only makes NQ0\npersistent across open/close; acting on events received while down is\nleft for later. Link state and module status are read again at the end\nof open; PHY capabilities are not re-queried, as before this patch.\n\nNQ0 always uses irq_tbl[0], independent of the aux (RoCE) vector count.\n\nUser-visible and behavioral changes:\n\n  - NQ0\u0027s vector is named \u003cpci_name\u003e-nq0 and remains requested while the\n    interface is down. It no longer appears as \u003cifname\u003e-TxRx-0 (or\n    \u003cifname\u003e-rx-0) in /proc/interrupts. Other vectors keep their names.\n  - BNGE_FIRST_OPEN_NQ becomes 1, so aux (RoCE) vectors start at\n    irq_tbl[1], and the ring_idx handed to the RoCE driver shifts\n    accordingly.\n  - The async event completion ring is configured once at probe rather\n    than on every open. If NQ0 or this configuration fails, probe now\n    fails; previously a configuration failure only logged a warning\n    during open.\n\nNQ0\u0027s NAPI is stopped together with the other NQs in\nbnge_hwrm_ring_free(), after the Tx/Rx/Agg ring frees and before the NQs\nare masked. This is needed because NQ0 now stays allocated after close,\nso an NQ0 poll must not race with the doorbell write that follows.\nsynchronize_net() waits for a poll that is still writing the doorbell\nafter napi_complete_done(). The other NQs get the same ordering on close\nas a side effect.\n\nThis relies on firmware keeping NQ0 and the async event completion ring\nconfigured across FUNC_DRV_IF_CHANGE down/up.\n\nSigned-off-by: Bhargava Marreddy \u003cbhargava.marreddy@broadcom.com\u003e\nReviewed-by: Dharmender Garg \u003cdharmender.garg@broadcom.com\u003e\nReviewed-by: Rajashekar Hudumula \u003crajashekar.hudumula@broadcom.com\u003e\nReviewed-by: Ramakrishna Koduri \u003cramakrishna.koduri@broadcom.com\u003e\nReviewed-by: Rahul Gupta \u003crahul-rg.gupta@broadcom.com\u003e\nReviewed-by: Vikas Gupta \u003cvikas.gupta@broadcom.com\u003e\nLink: https://patch.msgid.link/20261117061641.122942-6-bhargava.marreddy@broadcom.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "15120271cc51d09ee3bf81b65154f013ff9d9ad5",
      "tree": "7249de7e177516217b0e64ad9b00f93053e01109",
      "parents": [
        "e648e5ea36d44e5c3adb1530193aa1c0dd9ce877"
      ],
      "author": {
        "name": "Bhargava Marreddy",
        "email": "bhargava.marreddy@broadcom.com",
        "time": "Tue Nov 17 06:16:40 2026 +0000"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 14:47:47 2026 -0800"
      },
      "message": "bnge: make irq_tbl layout depend on BNGE_FIRST_OPEN_NQ\n\nNQ0 will be created at probe, before the aux (RoCE) device has been\ngiven its MSI-X vectors, and must keep its vector for the lifetime of\nthe driver. So the probe NQs must come first in irq_tbl, followed by the\naux vectors and then the open NQs, instead of putting all NQs after the\naux vectors.\n\nDescribe the irq_tbl layout once, next to BNGE_FIRST_OPEN_NQ, and add\nbnge_nq_irq_idx() and bnge_aux_irq_idx() to compute the irq_tbl index of\nan NQ and of an aux vector from it. bnge_fill_msix_vecs() uses the\nlatter to hand the aux device the vectors that follow the probe NQs.\n\nThe ring_idx passed to the aux device changes meaning accordingly: it is\nthe irq_tbl index of the vector, not an index within the aux range. This\nmatches how NQ rings are created, where the ring index is used as the\nlogical ID that ties the ring to its doorbell and MSI-X vector. The aux\ndriver uses the values it is given, so it needs no change. The total\nnumber of vectors is unchanged.\n\nBNGE_FIRST_OPEN_NQ is 0 for now, so the layout is unchanged. No\nfunctional change.\n\nSigned-off-by: Bhargava Marreddy \u003cbhargava.marreddy@broadcom.com\u003e\nReviewed-by: Dharmender Garg \u003cdharmender.garg@broadcom.com\u003e\nReviewed-by: Rajashekar Hudumula \u003crajashekar.hudumula@broadcom.com\u003e\nReviewed-by: Ramakrishna Koduri \u003cramakrishna.koduri@broadcom.com\u003e\nReviewed-by: Rahul Gupta \u003crahul-rg.gupta@broadcom.com\u003e\nLink: https://patch.msgid.link/20261117061641.122942-5-bhargava.marreddy@broadcom.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "e648e5ea36d44e5c3adb1530193aa1c0dd9ce877",
      "tree": "c93fcce5e36e44699fc453287d2cc80aa8a1383c",
      "parents": [
        "47a515a29e69215675a411b711b216ff42986914"
      ],
      "author": {
        "name": "Bhargava Marreddy",
        "email": "bhargava.marreddy@broadcom.com",
        "time": "Tue Nov 17 06:16:39 2026 +0000"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 14:47:46 2026 -0800"
      },
      "message": "bnge: add bnge_for_each_open_nq() iterator\n\nAdd BNGE_FIRST_OPEN_NQ and bnge_for_each_open_nq(), and use them in the\nloops that will need to skip the NQ that is created at probe once it is\nsplit out. The \"open\" NQs are those whose IRQs and firmware rings are\ncreated in ndo_open() and destroyed in ndo_stop(), i.e., all NQs from\nindex BNGE_FIRST_OPEN_NQ on.\n\nThe loops that create, free and name the \"open\" NQs are converted: the\nNQ and bnapi allocation, the firmware NQ alloc/free, and the IRQ\nsetup/request/free.\n\nThe following loops are intentionally left alone, as they cover all NQs\n(including NQ0):\n\n  - CP rings and per-NQ stats: NQ0\u0027s completion structures remain tied\n    to open/stop.\n  - NAPI registration (init/del) and enable/disable: NQ0\u0027s NAPI exists\n    only between open and stop, like the others.\n  - Interrupt arm/disarm: NQ0 is armed and disarmed together with the\n    other NQs.\n\nIn bnge_hwrm_ring_free(), split the NQ free out of the completion ring\nloop so that it can use the iterator, mirroring bnge_hwrm_ring_alloc().\nThis changes the order of the firmware commands: previously each NQ was\nfreed right after its own completion rings, now all completion rings\nare freed first and all NQs after. Each completion ring is still freed\nbefore the NQ it belongs to.\n\nBNGE_FIRST_OPEN_NQ is 0 for now, i.e., every NQ is an open NQ, so the\nmacro expands to the loops it replaces. Apart from the firmware command\norder above, no functional change.\n\nSigned-off-by: Bhargava Marreddy \u003cbhargava.marreddy@broadcom.com\u003e\nReviewed-by: Dharmender Garg \u003cdharmender.garg@broadcom.com\u003e\nReviewed-by: Kumar Mudide \u003ckumar.mudide@broadcom.com\u003e\nReviewed-by: Ramakrishna Koduri \u003cramakrishna.koduri@broadcom.com\u003e\nReviewed-by: Vikas Gupta \u003cvikas.gupta@broadcom.com\u003e\nLink: https://patch.msgid.link/20261117061641.122942-4-bhargava.marreddy@broadcom.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "47a515a29e69215675a411b711b216ff42986914",
      "tree": "461d44d82c1b4af5f74533bcd9c7b8168bf62acf",
      "parents": [
        "fd60aec4b4278294cde853a3e8755d5c9bcccffc"
      ],
      "author": {
        "name": "Bhargava Marreddy",
        "email": "bhargava.marreddy@broadcom.com",
        "time": "Tue Nov 17 06:16:38 2026 +0000"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 14:47:46 2026 -0800"
      },
      "message": "bnge: add bnge_err()/bnge_warn()/bnge_dbg() logging helpers\n\nnetdev_err() and netdev_warn() print \"(unnamed net_device)\n(uninitialized)\" instead of the interface name while the netdev has not\nbeen registered yet. Later patches in this series run NQ0 init before\nregister_netdev() in probe, so messages from the HWRM ring alloc/free\npaths and from NQ0\u0027s async event handling would be logged that way.\n\nAdd bnge_err(), bnge_warn() and bnge_dbg(), which take a struct bnge_dev\nand log through the netdev once it has been registered, including while\nit is being unregistered and after, where it keeps its name. Before\nthat, fall back to dev_err()/dev_warn()/dev_dbg() on the PCI device.\n\nConvert the HWRM ring alloc/free error messages, the IRQ affinity hint\nwarning and the async event debug message, which are reachable from\nthose paths. No other message is changed.\n\nNo functional change, apart from the log prefix of these messages\nbefore register_netdev().\n\nSigned-off-by: Bhargava Marreddy \u003cbhargava.marreddy@broadcom.com\u003e\nReviewed-by: Dharmender Garg \u003cdharmender.garg@broadcom.com\u003e\nReviewed-by: Kumar Mudide \u003ckumar.mudide@broadcom.com\u003e\nReviewed-by: Ramakrishna Koduri \u003cramakrishna.koduri@broadcom.com\u003e\nLink: https://patch.msgid.link/20261117061641.122942-3-bhargava.marreddy@broadcom.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "fd60aec4b4278294cde853a3e8755d5c9bcccffc",
      "tree": "d2f4ca810b5a8381258624ced05e4fa8be2bb11a",
      "parents": [
        "1cde02cd5a86df9fab1573fd26ea5fa81527f851"
      ],
      "author": {
        "name": "Bhargava Marreddy",
        "email": "bhargava.marreddy@broadcom.com",
        "time": "Tue Nov 17 06:16:37 2026 +0000"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 14:47:46 2026 -0800"
      },
      "message": "bnge: factor out per-NQ alloc/free helpers\n\nThe descriptor array, ring memory, firmware ring and IRQ of an NQ are\nallocated and released inside loops over all NQs, and the NQ ring memory\nis set up with the completion rings.\n\nFactor the per-NQ parts out into bnge_alloc_nq()/bnge_free_nq(),\nbnge_hwrm_nq_alloc()/bnge_hwrm_nq_free() and\nbnge_nq_request_irq()/bnge_nq_free_irq() so a single NQ can be created\nand destroyed independently of the others. Rename\nbnge_{alloc,free}_nq_arrays() to bnge_{alloc,free}_nqs().\n\nThe NQ ring_mem setup, ring allocation and fw_ring_id initialization\nmove into bnge_alloc_nq(), so the NQ ring memory is allocated with the\nNQ descriptor arrays rather than with the completion rings. The\nfw_ring_id initialization thus moves from bnge_init_nic(), which runs\non every open, to bnge_alloc_core(), which also runs on every open.\nThe IRQ map index is also set there; the value is unchanged. The aux\nvector count it depends on is sampled once in bnge_alloc_nqs() and passed\nto bnge_alloc_nq(), so every NQ of one allocation gets a distinct irq_tbl\nindex even if RoCE is disabled concurrently. The affinity hint is now\nderived from bnapi-\u003eindex, which equals the loop index used before. The\nerror path of bnge_alloc_nqs() now unwinds only the NQs allocated so far.\n\nAlso rename bnge_{alloc,free,init}_nq_tree() to\nbnge_{alloc,free,init}_cp_rings(), since they no longer touch the NQ\nitself, only the completion rings hanging off it.\n\nOne behavioral difference: bnge_hwrm_ring_free() now resets\ngrp_info[i].nq_fw_ring_id to INVALID_HW_RING_ID for every NQ, not only\nfor the NQs that had a valid firmware ring ID. Otherwise there is no\nfunctional change.\n\nSigned-off-by: Bhargava Marreddy \u003cbhargava.marreddy@broadcom.com\u003e\nReviewed-by: Dharmender Garg \u003cdharmender.garg@broadcom.com\u003e\nReviewed-by: Rajashekar Hudumula \u003crajashekar.hudumula@broadcom.com\u003e\nReviewed-by: Ramakrishna Koduri \u003cramakrishna.koduri@broadcom.com\u003e\nLink: https://patch.msgid.link/20261117061641.122942-2-bhargava.marreddy@broadcom.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "1cde02cd5a86df9fab1573fd26ea5fa81527f851",
      "tree": "6aa7d56eef5828425b3a8db0979b46a1a5d4a5c7",
      "parents": [
        "720a6f58c0ba987674043b9044137cc91f24de76",
        "295aaa8398ce08bca4b959b8bde0cabb93751184"
      ],
      "author": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 14:37:54 2026 -0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 14:37:54 2026 -0800"
      },
      "message": "Merge branch \u0027tcp-roccet-fix-idle-restart-on-rto\u0027\n\nZhiqi Zhang says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\ntcp: roccet: fix idle restart on RTO\n\nPatch 1/2 skips the idle restart when packets are outstanding, so an\nRTO retransmission no longer overwrites the snd_ssthresh preserved by\nroccet_state(TCP_CA_Loss).  Patch 2/2 adds a packetdrill test.\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261118022813.9778-1-zhiqizhangg@gmail.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "295aaa8398ce08bca4b959b8bde0cabb93751184",
      "tree": "6aa7d56eef5828425b3a8db0979b46a1a5d4a5c7",
      "parents": [
        "19764eae57946b28df024c638eeb28b803ec67ea"
      ],
      "author": {
        "name": "Zhiqi Zhang",
        "email": "zhiqizhangg@gmail.com",
        "time": "Wed Nov 18 10:28:13 2026 +0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 14:37:54 2026 -0800"
      },
      "message": "selftests: net: packetdrill: add ROCCET RTO test\n\nAdd a packetdrill test for the ROCCET idle restart on RTO.  TLP is\nenabled, so the first RTO is affected; the test asserts that\ntp-\u003esnd_ssthresh stays at the prior cwnd (20) across the first and\nsecond RTOs.\n\nThe test fails at the first RTO without the preceding fix\n(snd_ssthresh \u003d\u003d 10) and passes with it.  A variant with\ntcp_early_retrans\u003d0 (no TLP) fails at the second RTO only.\n\nCONFIG_TCP_CONG_ADVANCED and CONFIG_TCP_CONG_ROCCET are added to the\npacketdrill config; ROCCET is only visible when advanced congestion\ncontrol is enabled.\n\nTest written by Eric Dumazet.\n\nSuggested-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nSigned-off-by: Zhiqi Zhang \u003czhiqizhangg@gmail.com\u003e\nReviewed-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nLink: https://patch.msgid.link/20261118022813.9778-3-zhiqizhangg@gmail.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "19764eae57946b28df024c638eeb28b803ec67ea",
      "tree": "6313fdfabefbee41c828b492fc432a9e8c87bf83",
      "parents": [
        "720a6f58c0ba987674043b9044137cc91f24de76"
      ],
      "author": {
        "name": "Zhiqi Zhang",
        "email": "zhiqizhangg@gmail.com",
        "time": "Wed Nov 18 10:28:12 2026 +0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 14:37:25 2026 -0800"
      },
      "message": "tcp: roccet: do not restart from idle on RTO retransmission\n\nroccet sets .cong_control, so tcp_slow_start_after_idle_check() returns\nearly and roccet implements the idle restart in cwnd_event_tx_start().\n\nAn RTO retransmission also raises CA_EVENT_TX_START: tcp_enter_loss()\nmarks the outstanding packets lost, which drains the in-flight count\nwhile tp-\u003epackets_out stays non-zero.  If delta \u003e\u003d icsk_rto,\nroccet_cwnd_event_tx_start() then takes the idle restart and overwrites\ntp-\u003esnd_ssthresh with tcp_snd_cwnd() \u003d\u003d TCP_INIT_CWND.\n\nWhen a TLP probe was sent, the RTO timer is rearmed for a full icsk_rto\nat that point and the probe is the last transmit, so the first RTO is\naffected.  Without TLP, the first RTO can escape: the timer is armed\nwhen the first packet of the flight is sent, and pacing spreads the\nfollowing ones, so now - tp-\u003elsndtime \u003c icsk_rto.  The second RTO is\nalways affected, since it fires one backed-off icsk_rto after the first\nRTO retransmit.\n\nroccet_state(TCP_CA_Loss) calls roccet_reset(), which clears the private\nstate; ca-\u003estate is already LAUNCH and last_max_cwnd is already 0 when\nroccet_cwnd_event_tx_start() runs, with or without this fix.  The only\nfield the idle restart breaks is tp-\u003esnd_ssthresh: it overwrites the\nvalue preserved by roccet_state() with TCP_INIT_CWND.\n\nSkip the idle restart while packets are outstanding.  The packetdrill\ntest in the next patch fails at the first RTO without this fix\n(snd_ssthresh \u003d\u003d 10) and passes with it.\n\nFlagged by Sashiko (see Link).\n\nCc: stable+noautosel@kernel.org # LLM report + LLM fix\nFixes: 819d59638796 (\"tcp: Add TCP ROCCET congestion control module.\")\nLink: https://lore.kernel.org/all/179179785248.434549.16829837649351382748@kernel.org/\nSigned-off-by: Zhiqi Zhang \u003czhiqizhangg@gmail.com\u003e\nReviewed-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nLink: https://patch.msgid.link/20261118022813.9778-2-zhiqizhangg@gmail.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "720a6f58c0ba987674043b9044137cc91f24de76",
      "tree": "9d9df1401703194b01ce71b7e4a45b60755561a7",
      "parents": [
        "65eb07eba845751c8ac392ac86f799a7e9957ab5"
      ],
      "author": {
        "name": "Tim Douglas",
        "email": "me@timdoug.com",
        "time": "Tue Nov 17 21:22:17 2026 -0500"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 11:19:29 2026 -0800"
      },
      "message": "net: lib8390: avoid truncating the expected receive page\n\nFor a receive ring ending at page 0xff, the expected next page can\nexceed 0xff before the ring size is subtracted. The value is\ntruncated when stored in an unsigned char, so a valid frame that\nwraps around the ring can be rejected and queued frames dropped.\nStore the intermediate value in an int.\n\nThis was observed with the 64 KiB receive ring enabled on a\nFarallon EtherMac LC-TP. With the fix, three 16 MiB downloads on a\nPerforma 6200CD using a kernel with local platform support completed\nwithout receive errors. The pcnet_cs driver also uses a receive ring\nending at page 0xff for Socket EA cards with the large buffer enabled.\n\nAI assistance was used to investigate the receive errors and draft\nthe fix.\n\nCc: stable+noautosel@kernel.org # not seen in real life on upstream platforms\nFixes: 1da177e4c3f4 (\"Linux-2.6.12-rc2\")\nSigned-off-by: Tim Douglas \u003cme@timdoug.com\u003e\nReviewed-by: Daniel Machon \u003cdaniel.machon@microchip.com\u003e\nLink: https://patch.msgid.link/20261118022217.84500-1-me@timdoug.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "65eb07eba845751c8ac392ac86f799a7e9957ab5",
      "tree": "ae155bf0d126f09c6cc5577342328ed15333d6f6",
      "parents": [
        "39f139ecd7771ab1fb802a134a4ac4b260c1da2c",
        "3d5aa58bec4f0493a86e6080c65bce47d67d39b0"
      ],
      "author": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 10:58:18 2026 -0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 10:58:19 2026 -0800"
      },
      "message": "Merge branch \u0027tap-do-not-hold-rtnl-in-open-release-and-queue-ioctls\u0027\n\nEric Dumazet says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\ntap: do not hold RTNL in open(), release() and queue ioctls\n\nOpening or closing a macvtap/ipvtap char device acquires RTNL, as do\nthe TUNSETQUEUE and TUNGETIFF ioctls, although they only manipulate\nthe list of queues attached to the device, which is private to tap.\nHosts starting and stopping many virtual machines thus add contention\non RTNL for no good reason.\n\nThis series protects the queue list with a per-device mutex, and\nstops taking RTNL in these four paths.\n\nPatch 1 makes sure tap_del_queues() is called for every unregistered\ndevice, and that no queue can be attached afterwards. Both properties\nare currently provided by RTNL being held in tap_open().\n\nPatch 2 adds tap-\u003elock and takes it wherever the queue list is used,\nstill under RTNL.\n\nPatch 3 removes RTNL from open(), release(), TUNSETQUEUE and TUNGETIFF.\n\nPatch 4 removes a device reference that is not needed by the ioctls\nstill running under RTNL.\n\nTUNSETOFFLOAD, SIOCGIFHWADDR and SIOCSIFHWADDR still take RTNL, since\nthey call into the core stack. The datapath is unchanged.\n\nTesting: selftests net/tap and net/ipvtap_test.sh pass. A test program\n(not part of this series) checking the queue limit, attach/detach,\ntxqueuelen change, rename, netns move and device or lower device\nremoval with open queues gives the same results before and after the\nseries. The same program was used to run open/ioctl/read/write/close\nloops against concurrent link add/del/rename/netns moves for macvtap\nand ipvtap, on a kernel with lockdep, PROVE_RCU and KASAN enabled,\nwithout any splat. No test was done with vhost-net or real VM.\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261119072258.3157902-1-edumazet@kernel.org\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "3d5aa58bec4f0493a86e6080c65bce47d67d39b0",
      "tree": "ae155bf0d126f09c6cc5577342328ed15333d6f6",
      "parents": [
        "ef7b12deec78aae1db7d96a2708ca515c8c26cb3"
      ],
      "author": {
        "name": "Eric Dumazet",
        "email": "edumazet@kernel.org",
        "time": "Thu Nov 19 08:22:58 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 10:58:14 2026 -0800"
      },
      "message": "tap: remove tap_get_tap_dev() and tap_put_tap_dev()\n\ntap_get_tap_dev() takes a reference on tap-\u003edev, released by\ntap_put_tap_dev().\n\nThis comes from commit 8f475a318aaa (\"macvtap: introduce\nmacvtap_get_vlan()\"), when q-\u003evlan was read under rcu_read_lock_bh()\nand the reference was needed to use the device after\nrcu_read_unlock_bh().\n\nBoth remaining callers, SIOCGIFHWADDR and SIOCSIFHWADDR, hold RTNL\nfor the whole time the device is used. tap_del_queues() clears q-\u003etap\nunder RTNL, before the device can be freed, so a non NULL q-\u003etap\nguarantees the device stays around until rtnl_unlock(). TUNSETOFFLOAD\nalready relies on this.\n\nUse rtnl_dereference(q-\u003etap) directly.\n\nSigned-off-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nReviewed-by: Willem de Bruijn \u003cwillemb@google.com\u003e\nLink: https://patch.msgid.link/20261119072258.3157902-5-edumazet@kernel.org\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "ef7b12deec78aae1db7d96a2708ca515c8c26cb3",
      "tree": "c2bf3a3a2d6d990a6a8cd064e5bdd958fca4773c",
      "parents": [
        "c70849e0b16df8d3b70dead3f3d930207e831bec"
      ],
      "author": {
        "name": "Eric Dumazet",
        "email": "edumazet@kernel.org",
        "time": "Thu Nov 19 08:22:57 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 10:58:14 2026 -0800"
      },
      "message": "tap: do not hold RTNL in open(), release() and queue ioctls\n\nOpening and closing a macvtap or ipvtap char device, as well as the\nTUNSETQUEUE and TUNGETIFF ioctls, only touch state now protected by\ntap-\u003elock. They nevertheless acquire RTNL, so starting or stopping\nvirtual machines contends with every other networking configuration\nchange on the host.\n\nStop taking RTNL in these four paths.\n\nWithout RTNL, the tap_dev a queue is attached to is found with\ntap_queue_lock_dev(): q-\u003etap is read under rcu_read_lock() and a\nreference on tap-\u003edev is taken, which is safe because q-\u003etap is\ncleared before the synchronize_net() done while the device is\nunregistered. tap-\u003elock, which lives in the netdev private area, can\nthen be acquired and q-\u003etap checked again.\n\ntap_open() relies on the two previous patches: a queue can no longer\nbe added once tap_del_queues() has run, and tap_del_queues() runs for\nevery unregistered device.\n\nTUNGETIFF uses netdev_copy_name() to get a consistent device name,\nexport it for modular builds.\n\ntap_open() now reads dev-\u003efeatures once, with READ_ONCE(), since it\ncan change while the SOCK_ZEROCOPY decision is made.\n\nTUNSETOFFLOAD, SIOCGIFHWADDR and SIOCSIFHWADDR call into the core\nstack (netdev_update_features(), dev_set_mac_address_user(), device\nlookup by name) and still hold RTNL. They keep using\nrtnl_dereference(q-\u003etap), which remains valid because tap_del_queues()\nis only called under RTNL.\n\nSigned-off-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nLink: https://patch.msgid.link/20261119072258.3157902-4-edumazet@kernel.org\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "c70849e0b16df8d3b70dead3f3d930207e831bec",
      "tree": "7358fd4fee8aa04314a51ce9b6e09e58c763bb93",
      "parents": [
        "5a4431ff4fa71ddbd61d405dffbe2a425612bcf5"
      ],
      "author": {
        "name": "Eric Dumazet",
        "email": "edumazet@kernel.org",
        "time": "Thu Nov 19 08:22:56 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 10:58:14 2026 -0800"
      },
      "message": "tap: add a mutex to protect queue management\n\nThe list of queues attached to a tap device (tap-\u003etaps[],\ntap-\u003equeue_list, tap-\u003enumvtaps, tap-\u003enumqueues) and the back pointer\nfrom each queue (q-\u003etap, q-\u003eenabled, q-\u003equeue_index) are all private\nto tap, but are protected by RTNL.\n\nAdd tap-\u003elock, a per-device mutex nesting inside RTNL, and hold it in\nevery function reading or changing this state: tap_open(),\ntap_put_queue(), the TUNSETQUEUE ioctl, tap_del_queues() and\ntap_queue_resize(). A mutex is needed because tap_open() and\ntap_queue_resize() allocate ptr_ring storage with GFP_KERNEL.\n\nAdd tap-\u003ering_size, the ptr_ring size shared by all the queues of a\ndevice. It is updated under the mutex when tap_queue_resize() succeeds\nand is used by tap_open() instead of dev-\u003etx_queue_len. Once RTNL is\ngone, tap_open() can thus not size a new ring from a tx_queue_len\nwhich is being changed, or rolled back by netif_change_tx_queue_len()\nafter a failure.\n\ntap_handle_frame() reads tap-\u003enumvtaps locklessly, add the missing\nWRITE_ONCE() annotations while touching these lines.\n\nThe mutex is initialized in the macvtap and ipvtap -\u003esetup() handlers\nand destroyed from dev-\u003epriv_destructor, once all references to the\ndevice are gone. macvtap has to chain to the macvlan destructor,\nexport macvlan_dev_free() for this purpose.\n\nSet tap-\u003edev before the netdevice is registered instead of after,\nsince the char device can be opened as soon as the NETDEV_REGISTER\nnotifier has run. Like the mutex itself this has no effect yet: RTNL\nis still held by all callers, and is removed from the paths that do\nnot need it in the following patch.\n\nSigned-off-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nReviewed-by: Willem de Bruijn \u003cwillemb@google.com\u003e\nLink: https://patch.msgid.link/20261119072258.3157902-3-edumazet@kernel.org\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "5a4431ff4fa71ddbd61d405dffbe2a425612bcf5",
      "tree": "796b7401dc60dee1b429ad3002b26110aa33f1e5",
      "parents": [
        "39f139ecd7771ab1fb802a134a4ac4b260c1da2c"
      ],
      "author": {
        "name": "Eric Dumazet",
        "email": "edumazet@kernel.org",
        "time": "Thu Nov 19 08:22:55 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 10:58:13 2026 -0800"
      },
      "message": "tap: detach queues from the NETDEV_UNREGISTER notifier\n\ntap_del_queues() is currently called from the macvtap and ipvtap\ndellink handlers. Two things in this area only work because\ntap_open() runs under RTNL, which a following patch removes:\n\n1) Not all unregistrations go through dellink. If register_netdevice()\n   fails after the NETDEV_REGISTER notifier created the char device,\n   or if macvlan_common_newlink() / ipvlan_link_new() fail after\n   register_netdevice(), the device is unregistered without\n   tap_del_queues() being called. Nothing can open the char device in\n   this window today, because RTNL is held from the minor allocation\n   to its release.\n\n2) tap_del_queues() sets tap-\u003enumvtaps to MAX_TAP_QUEUES to \"guarantee\n   that any future tap_set_queue will fail\", but since commit\n   815f236d6227 (\"macvtap: add TUNSETQUEUE ioctl\") tap_set_queue()\n   tests tap-\u003enumqueues, which is zero at this point. A later\n   tap_set_queue() would succeed and write to tap-\u003etaps[MAX_TAP_QUEUES],\n   one element past the array. Again, this can not happen today since\n   the minor is released in the same RTNL section.\n\nCall tap_del_queues() from the NETDEV_UNREGISTER notifier instead, so\nthat every unregistration path is covered. The notifier is also invoked\nwhen the device moves to another netns, in which case the queues must\nstay attached: only act when the device is really being unregistered.\n\nReplace the numvtaps trick with an explicit tap-\u003edead flag, tested in\ntap_set_queue().\n\nNo functional change intended: none of the above is reachable as long\nas tap_open() holds RTNL. These issues were found by code inspection,\nwith the help of an AI coding assistant, while looking at RTNL removal\nin tap. They were not triggered.\n\nSigned-off-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nReviewed-by: Willem de Bruijn \u003cwillemb@google.com\u003e\nLink: https://patch.msgid.link/20261119072258.3157902-2-edumazet@kernel.org\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "39f139ecd7771ab1fb802a134a4ac4b260c1da2c",
      "tree": "e5260f6681d1522e2bd8dda01f91784f414146e4",
      "parents": [
        "d23de0bd0bfd62405e6c80028008838ec140af25",
        "7042d186bf6cb589e75f7181478e1df2e0cc6e86"
      ],
      "author": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 10:49:23 2026 -0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 10:49:24 2026 -0800"
      },
      "message": "Merge branch \u0027tcp-prevent-tcp_collapse-from-bloating-queue\u0027\n\nKuniyuki Iwashima says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\ntcp: Prevent tcp_collapse() from bloating queue.\n\nThis is a follow-up for commit 031c403d13e5 (\"tcp: do not let\ntcp_collapse() drive sk_forward_alloc negative\").\n\nThe core algorithm in tcp_collapse() is so simple and has not\nbeen changed since commit 1da177e4c3f4 (\"Linux-2.6.12-rc2\");\nfinding a collapsible skb and repacking it into up-to-SKB_MAX_ORDER()\nskb.\n\nNow that we use 4K MSS and tp-\u003escaling_ratio, the simple algorithm\ndoes not work well, and it could even end up consuming more memory\ncontrary to the intention.\n\nFor example, the scaling ratio of SKB_MAX_ORDER() is 222, but\ntypically tp-\u003escaling_ratio for 4K MSS flow is 252, and repacking\ndata rather bloats high-density skb.\n\nAlso, once a low-density skb starts collapsing, it drags all the\nfollowing skbs into collapsing regardless of the density.\n\nThis series changes the algorithm so that it skips high-density\nskb and a single low-density skb between high-density skbs, batches\nmemory accounting at the end, and removes sk_forced_mem_schedule().\n\nThis series still keeps linear SKB_MAX_ORDER(0, 0) skbs as the\ncollapse target, and Eric is working on a follow-up patch to\nstore the collapsed payload in order-0 page frags instead.\n\nhttps://lore.kernel.org/netdev/CAL4WiiqekjxZw3EoDYXLc0Phd3i0GStE2ZHWQkH2iAkSM5D8TQ@mail.gmail.com/\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261119071649.374106-1-kuniyu@google.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "7042d186bf6cb589e75f7181478e1df2e0cc6e86",
      "tree": "e5260f6681d1522e2bd8dda01f91784f414146e4",
      "parents": [
        "05e936e487917853b829711c3f5d444d8f531fcb"
      ],
      "author": {
        "name": "Kuniyuki Iwashima",
        "email": "kuniyu@google.com",
        "time": "Thu Nov 19 07:15:59 2026 +0000"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 10:49:07 2026 -0800"
      },
      "message": "selftest: packetdrill: Add test for tcp_collapse().\n\ntcp_collapse() now does not collapse high-density skbs and a\nlow-density skb sandwiched by high-density skbs.\n\ntcp_rcv_collapse_bloated.pkt verifies the behaviour by\n\n 1. set a large SO_RCVBUF\n 2. send one high-density skb with 100 bytes read()\n 3. send one high-density skb\n 4. send one low-density skb\n 5. send one high-density skb\n 6. send 30 low-density skbs\n 7. send one high-density skb\n 8. set a small SO_RCVBUF\n 9. send a small data to trigger tcp_collapse()\n10. check TcpExtTCPRcvCollapsed via nstat\n\nWithout the series, the first high-density skb is collapsed.\nIn addition, the first low-density skb drags the following\nhigh-density skb into collapsing, consuming more memory.\n\nIf we remove sk_forced_mem_schedule() without this series,\nsk-\u003esk_forward_alloc becomes negative at the end of tcp_collapse().\n\nNote that 30 segments are to make the memory savings large\nenough so that the margin can absorb minor size delta of\nstruct sk_buff or L1_CACHE_BYTES across configs.\n\nskb truesize, TCP_COLLAPSE_MAX_SIZE, TCP_COLLAPSE_SCALING_RATIO\ndepend on PAGE_SIZE being 4K, so the test is skipped if getconf\nreturns non-4K PAGE_SIZE.\n\nSigned-off-by: Kuniyuki Iwashima \u003ckuniyu@google.com\u003e\nReviewed-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nLink: https://patch.msgid.link/20261119071649.374106-8-kuniyu@google.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "05e936e487917853b829711c3f5d444d8f531fcb",
      "tree": "2c4d02a0ef7f04925e9da91a76d5f64d341cb0fd",
      "parents": [
        "94b6d61f13d25ef9801dce83b8912b5c496f0fb6"
      ],
      "author": {
        "name": "Kuniyuki Iwashima",
        "email": "kuniyu@google.com",
        "time": "Thu Nov 19 07:15:58 2026 +0000"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 10:49:07 2026 -0800"
      },
      "message": "tcp: Batch memory accounting in tcp_collapse().\n\nOnce tcp_collapse_one() calls sock_rfree(), skb-\u003etruesize is\nreclaimed to sk-\u003esk_forward_alloc by sk_mem_uncharge().\n\nHowever, sk_mem_uncharge() rounds down sk-\u003esk_forward_alloc\nimmediately once it reaches 4K since commit 4890b686f408 (\"net:\nkeep sk-\u003esk_forward_alloc as small as possible\").\n\nThis unnecessarily reclaims memory for newly allocated skbs,\nand the following skb_set_owner_r() for them underflows\nsk-\u003esk_forward_alloc without sk_forced_mem_schedule().\n\nLet\u0027s cache the delta during tcp_collapse() and batch accounting\nat the end.\n\nThen, we no longer need sk_forced_mem_schedule(), and instead\nDEBUG_NET_WARN_ON_ONCE() is added to catch a future issue.\n\nSigned-off-by: Kuniyuki Iwashima \u003ckuniyu@google.com\u003e\nReviewed-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nLink: https://patch.msgid.link/20261119071649.374106-7-kuniyu@google.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "94b6d61f13d25ef9801dce83b8912b5c496f0fb6",
      "tree": "f818261966b8a468d24123956f27081c5f6ef9bf",
      "parents": [
        "c4fef895b4299584a8202c1cf7f79dcf633aa631"
      ],
      "author": {
        "name": "Kuniyuki Iwashima",
        "email": "kuniyu@google.com",
        "time": "Thu Nov 19 07:15:57 2026 +0000"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 10:49:07 2026 -0800"
      },
      "message": "tcp: Allocate all new skb before collapsing.\n\nAt the final stage, tcp_collapse() iterates over collapsible\ncandidate skbs and repacks them to new skbs.\n\nIn each iteration, a new skb is allocated and inserted to the\nreceive queue or a temporary list for RB tree.\n\nIf alloc_skb() fails while splitting a large bloated skb across\nmultiple new skbs, the partially-copied skb is not removed and\nnew skbs remain in the queue as duplicates, consuming more memory.\n\nIt is only when all candidates are properly collapsed that\nwe can save memory.\n\nTo avoid complicated rollback, let\u0027s preallocate skbs before\ncollapsing.\n\nNow all skb in [start, sub_end) must be allocated in a batch,\nso the section size is capped at TCP_COLLAPSE_MAX_TOTAL_SIZE\n(16 skbs), except for the first single skb.\n\nOnce the size exceeds the limit, the remaining skbs are\nre-evaluated from restart:.\n\nLegitimate overlaps (retransmits with a different segmentation)\nonly involve a few skbs, so if an overlapping OOO chain reaches\nthe limit, we simply skip it.\n\nNote that the next skb can be skipped if its density already meets\ntp-\u003escaling_ratio, and each cut adds at most one remainder skb\n(~3.4% worst-case truesize overhead on 4 KiB pages), which is a\nsmall tradeoff to bound the temporary allocation.\n\nSigned-off-by: Kuniyuki Iwashima \u003ckuniyu@google.com\u003e\nReviewed-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nLink: https://patch.msgid.link/20261119071649.374106-6-kuniyu@google.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "c4fef895b4299584a8202c1cf7f79dcf633aa631",
      "tree": "b90ac0b4232c74823b67417c2d078442fdc9ed41",
      "parents": [
        "aff9a5a366708e8e8a14aac1bc7c9dddaa787c55"
      ],
      "author": {
        "name": "Kuniyuki Iwashima",
        "email": "kuniyu@google.com",
        "time": "Thu Nov 19 07:15:56 2026 +0000"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 10:49:07 2026 -0800"
      },
      "message": "tcp: Skip collapsing if collapsed skb is less-dense.\n\nOnce tcp_collapse() finds a collapsible skb, it collapses\nconsecutive bloated skbs.\n\nHowever, the end result could be the same or larger than\nas is in some cases:\n\n  1. skb is already minimum\n\n     If SKB_HEAD_ALIGN(len) \u003c\u003d SKB_SMALL_HEAD_CACHE_SIZE,\n     skb is allocated from skbuff_small_head, and skb-\u003etruesize\n     never changes.\n\n  2. SKB_HEAD_ALIGN() and kmalloc_size_roundup() in alloc_skb()\n\n     Assume two bloated skbs with len \u003d 1448 B (truesize \u003d\n     2304 B, scaling_ratio \u003d 160) and len \u003d 300 B (truesize \u003d\n     896 B, scaling_ratio \u003d 85), whose total truesize is\n     3200 B.\n\n     Collapsing them calls alloc_skb(1748), which rounds up\n     SKB_HEAD_ALIGN(1748) \u003d 2112 B to 4096 B and allocates a\n     new skb with truesize \u003d 4352 B (+1152 B!).\n\nEven worse, in case 1, such a skb is reallocated repeatedly\nby every tcp_collapse() in vain.\n\nLet\u0027s calculate the final collapsed truesize before collapsing\nskbs and skip the range if it does not shrink.\n\nWe could allocate skbs first and calculate the new truesize,\nbut given tcp_collapse() is called under memory pressure,\nwe want to avoid unnecessary allocation.\n\nNote that kmalloc_reserve_size() uses __always_inline so that\nthis change does not affect non-FDO builds, and returns 0 when\nskb_small_head_cache is used, similar to kmalloc_pfmemalloc().\n\nSigned-off-by: Kuniyuki Iwashima \u003ckuniyu@google.com\u003e\nReviewed-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nLink: https://patch.msgid.link/20261119071649.374106-5-kuniyu@google.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "aff9a5a366708e8e8a14aac1bc7c9dddaa787c55",
      "tree": "988e7a83d18adf33b4ebe549585fad808d6e0be6",
      "parents": [
        "0a3f65cdf43305bc08ab34aec7a9767e917a8684"
      ],
      "author": {
        "name": "Kuniyuki Iwashima",
        "email": "kuniyu@google.com",
        "time": "Thu Nov 19 07:15:55 2026 +0000"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 10:49:07 2026 -0800"
      },
      "message": "tcp: Stop collapsing if not bloated.\n\nEven when a skb is not bloated, tcp_collapse() starts collapsing\nif the next skb has overlapping data.\n\nAlso, tcp_collapse() does not stop until it reaches the tail or\nunmergable skb (SYN/FIN, unreadable frags).\n\nAssume we detect a low-density skb followed by fully-packed 4K-MSS\nGRO skbs:\n\n             skb-\u003elen  truesize  scaling_ratio\n  skb    #1      1448      2944      125 (49%)\n  skb    #2     65536     66432      252 (98%)\n  skb    #3     65536     66432      252 (98%)\n  ...\n  skb    #9     65536     66432      252 (98%)\n  --------------------------------------------\n  total                  534400\n\nThen, even the high-density skbs are repacked into lower-density\nskbs, and we end up consuming much more memory.\n\n             skb-\u003elen  truesize  scaling_ratio\n  nskb   #1      3776      4352      222 (86%)\n  nskb   #2      3776      4352      222 (86%)\n  ...\n  nskb #139      3776      4352      222 (86%)\n  nskb #140       872      2304       96 (37%)\n  --------------------------------------------\n  total                  607232 (+72832!)\n\nEven if we find a collapsible skb, we should not collapse\nsubsequent skbs with scaling_ratio \u003e\u003d TCP_COLLAPSE_SCALING_RATIO.\n\nConversely, even if tp-\u003escaling_ratio is smaller than\nTCP_COLLAPSE_SCALING_RATIO, we should repack skbs once we\nstart collapsing, which results in higher-density skb.\n\nLet\u0027s remove the next skb condition in the first loop,\nsearch for collapsible bloated skb range, and repeat\ncollapsing for each range.\n\nNote that even when the next skb is not bloated, we must\ncollapse it for OOO rbtree if it has overlapping data.\n\n\toverlap \u003d !list \u0026\u0026 before(TCP_SKB_CB(n)-\u003eseq, sub_end);\n\t...\n\tif (!overlap \u0026\u0026\n\t    !tcp_collapse_skb_bloated(n, sub_end,\n\t\t\t\t      TCP_COLLAPSE_SCALING_RATIO))\n\t\tbreak;\n\nFor example, bloated skb_1 and non-bloated skb_2 have overlapping\ndata and only skb_1 is collapsed to nskb_1 and nskb_2.\n\n   skb_1 \u003d [1000, 5000]\n   skb_2 \u003d [2000, 66000]\n\nThen, nskb_2 will be inserted after skb_2 in rbtree, wrongly\nsetting tp-\u003eooo_last_skb to 5000.\n\n  nskb_1 \u003d [1000, 4776]\n   skb_2 \u003d [2000, 66000]\n  nskb_2 \u003d [4776, 5000]\n\nThis case is still inefficient, but a later patch handles this.\n\nOn the other hand, if an overlapping skb on the OOO rbtree cannot\nbe collapsed, we skip the range instead of breaking out, as\nsplitting the range could insert the tail nskb after that skb and\nbreak the same rbtree ordering.\n\nAnother notable thing is that tcp_skb_can_collapse_rx() now checks\ncandidates against the first skb before mptcp_skb_ext_move(),\nnot against each nskb.\n\nWhen a skb with an MPTCP ext spans multiple nskbs, collapsing\npreviously stopped at the next skb with the same ext because later\nnskbs lacked the ext.\n\n   skb1 (ext A),                  skb2 (ext A)\n  nskb1 (ext A), nskb2 (no ext)             ^\n                        ^- not collapsible -\u0027\n\nNow such skbs are also collapsed with the redundant ext dropped,\nwhile the first nskb still carries the same mapping in sequence\norder.\n\n   skb1 (ext A),                  skb2 (ext A)\n  nskb1 (ext A), nskb2 (no ext) \u003c-\u0027 collapsed into nskb2\n\nSigned-off-by: Kuniyuki Iwashima \u003ckuniyu@google.com\u003e\nReviewed-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nAcked-by: Matthieu Baerts (NGI0) \u003cmatttbe@kernel.org\u003e\nLink: https://patch.msgid.link/20261119071649.374106-4-kuniyu@google.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "0a3f65cdf43305bc08ab34aec7a9767e917a8684",
      "tree": "3425414a1fbb9132328acaea56b106dfe6bb0bc9",
      "parents": [
        "4243888962b8631ca4f52dab87e52625320d98c0"
      ],
      "author": {
        "name": "Kuniyuki Iwashima",
        "email": "kuniyu@google.com",
        "time": "Thu Nov 19 07:15:54 2026 +0000"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 10:49:07 2026 -0800"
      },
      "message": "tcp: Don\u0027t collapse high density skb.\n\ntcp_collapse() starts collapsing skb to a new skb if either\nof the following is true:\n\n  1. skb is less dense compared to tp-\u003escaling_ratio\n  2. skb has read data before @start\n\nHowever, this could make situation worse.\n\nThe new skb size is SKB_TRUESIZE(SKB_MAX_ORDER(0, 0)) at most,\nand with PAGE_SIZE being 4K, its scaling_ratio is 222 (86%).\n\nIf 4K-MSS GRO skb updates tp-\u003escaling_ratio, it can be larger\nthan 222.\n\nThen, even the newly collapsed skb could be detected as bloated\nby the next tcp_collapse().\n\nAlso, even when only a few bytes are read from GRO skb, it is\ncollapsed by the 2nd rule, making less-efficient skb.\n\nLet\u0027s cap tp-\u003escaling_ratio with the collapsed skb\u0027s maximum\nscaling_ratio and use unread bytes for bloat detection.\n\nSigned-off-by: Kuniyuki Iwashima \u003ckuniyu@google.com\u003e\nReviewed-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nLink: https://patch.msgid.link/20261119071649.374106-3-kuniyu@google.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "4243888962b8631ca4f52dab87e52625320d98c0",
      "tree": "39c66d88a505e95b30967eab3d1c23923c070ace",
      "parents": [
        "d23de0bd0bfd62405e6c80028008838ec140af25"
      ],
      "author": {
        "name": "Kuniyuki Iwashima",
        "email": "kuniyu@google.com",
        "time": "Thu Nov 19 07:15:53 2026 +0000"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Sat Nov 21 10:49:06 2026 -0800"
      },
      "message": "tcp: Refactor the first loop in tcp_collapse().\n\ntcp_collapse() detects skb to start collapsing from in the\nfirst loop.\n\nIf the last skb has SYN or FIN, the condition is tested\nagain after the loop.\n\nskb_frags_readable() is placed inside and outside of the\nloop as well.\n\nIf we goto skip_this in both cases, we can remove the second\ntests and simply replace end_of_skbs with the inverted loop\ncondition.\n\nThen, we do not need a test for tcp_collapse_one() too.\n\nAlso, skb_frags_readable() should be tested after the fully\noverlapping check.\n\nLet\u0027s refactor the loop.\n\nNote that previously, when a SYN/FIN skb overlapped with the next\nskb, the loop broke with end_of_skbs set to false and the check\nafter the loop returned without collapsing anything further.\nNow such a skb is skipped instead, allowing the following skbs to\nbe collapsed.\n\nSigned-off-by: Kuniyuki Iwashima \u003ckuniyu@google.com\u003e\nReviewed-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nLink: https://patch.msgid.link/20261119071649.374106-2-kuniyu@google.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "d23de0bd0bfd62405e6c80028008838ec140af25",
      "tree": "586b372f75c838605e63891d26458928d29a88e5",
      "parents": [
        "111e1b0b985e3dbb41fffc6b5832c3322b6e38d5"
      ],
      "author": {
        "name": "Xuanqiang Luo",
        "email": "luoxuanqiang@kylinos.cn",
        "time": "Wed Nov 18 11:58:46 2026 +0900"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 18:13:56 2026 -0800"
      },
      "message": "net/mlx5e: kTLS, Simplify error unwind in mlx5e_ktls_set_feature_rx()\n\nmlx5e_ktls_set_feature_rx() has become harder to follow: the error\nhandling is nested in the conditions and the main flow is conditional.\n\nHandle the disable case first, handle the error cases in conditionals,\nand keep the main flow unconditional. Use goto to unlock on the early\nreturns.\n\nNo functional change intended.\n\nSuggested-by: Simon Horman \u003chorms@kernel.org\u003e\nSuggested-by: Tariq Toukan \u003ctariqt@nvidia.com\u003e\nLink: https://lore.kernel.org/all/20261029134019.GG257209@horms.kernel.org/\nSigned-off-by: Xuanqiang Luo \u003cluoxuanqiang@kylinos.cn\u003e\nReviewed-by: Tariq Toukan \u003ctariqt@nvidia.com\u003e\nLink: https://patch.msgid.link/20261118025846.3377199-1-xuanqiang.luo@linux.dev\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "111e1b0b985e3dbb41fffc6b5832c3322b6e38d5",
      "tree": "eab7b216f53d01fa87e8c2e01510325ec926ba53",
      "parents": [
        "bd5ce5c9ae25acfa167fcff661b2c673188f8b43"
      ],
      "author": {
        "name": "Eric Dumazet",
        "email": "edumazet@kernel.org",
        "time": "Wed Nov 18 23:18:20 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 17:57:44 2026 -0800"
      },
      "message": "6lowpan: nhc: use RCU instead of lowpan_nhc_lock\n\nlowpan_nexthdr_nhcs[] is protected by lowpan_nhc_lock, a spinlock\nthat is acquired with BH disabled for every compressed or uncompressed\npacket, even though the table only changes when an NHC module is\nloaded or unloaded.\n\nlowpan_nhc_del() already calls synchronize_net() after clearing\nits slot, so readers only need to be in an RCU read-side critical\nsection to safely use a struct lowpan_nhc.\n\nConvert the table to RCU:\n\n- Mark lowpan_nexthdr_nhcs[] as __rcu.\n\n- Readers use rcu_read_lock() and rcu_dereference().\n\n- lowpan_nhc_add() uses cmpxchg() to install the new entry only if\n  the slot is empty, and lowpan_nhc_del() uses RCU_INIT_POINTER()\n  to clear it.\n\nlowpan_nhc_lock is removed.\n\nWhile at it, use a single exit path in lowpan_nhc_do_uncompression().\n\nThe -\u003ecompress() and -\u003euncompress() handlers are no longer called\nwith BH disabled by this file. None of the in-tree handlers depends\non it.\n\nCompile tested only, sparse (C\u003d2) reports no warning.\n\nSigned-off-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nCc: Alexander Aring \u003calex.aring@gmail.com\u003e\nLink: https://patch.msgid.link/20261118221820.1601273-1-edumazet@kernel.org\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "bd5ce5c9ae25acfa167fcff661b2c673188f8b43",
      "tree": "7691be629256f985fa06b3c7e36f97508fbd26ca",
      "parents": [
        "b09a65056479729a357fdbd998700820d60c84a2"
      ],
      "author": {
        "name": "Eric Dumazet",
        "email": "edumazet@kernel.org",
        "time": "Wed Nov 18 22:35:38 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 17:48:21 2026 -0800"
      },
      "message": "idpf: batch RCU grace periods when deleting NAPIs\n\nnetif_napi_del() waits for an RCU grace period after each NAPI.\n\nidpf_vport_intr_napi_del_all() calls it for every q_vector, so\nstopping a vport with N vectors waits for N grace periods. This\nhappens on ifdown, and on each soft reset triggered by a channel,\nring size or MTU change.\n\nUse __netif_napi_del() and a single synchronize_net() after the loop.\n\nThe callers are unchanged: idpf_vport_intr_deinit() still deletes the\nNAPIs after they have been disabled and the DIM works drained, and\nbefore the IRQs are released. The error path of idpf_vport_intr_init()\ndeletes NAPIs which were never enabled.\n\nCompile tested only.\n\nSigned-off-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nLink: https://patch.msgid.link/20261118213538.1485503-1-edumazet@kernel.org\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "b09a65056479729a357fdbd998700820d60c84a2",
      "tree": "72ce7ae39771dc66055b5a27c11ed1a81ed52c8e",
      "parents": [
        "7e7ef57374f46dedab960277d68c88aa3dd0afd8"
      ],
      "author": {
        "name": "Coia Prant",
        "email": "coiaprant@gmail.com",
        "time": "Wed Nov 18 01:52:15 2026 +0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 17:46:25 2026 -0800"
      },
      "message": "net: pcs: xpcs: make supported_interfaces authoritative\n\npcs.supported_interfaces is the mask of interfaces a given xpcs\ninstance actually supports. The compat table describes what the\nSynopsys IP can do in general, but a specific integration may support\na different subset. For example, the RK3568 XPCS supports 1000BASE-X,\nSGMII and QSGMII in hardware, but does not implement the C73,\n10GBASE-R or 2500BASE-X modes that the Synopsys compat table\nadvertises.\n\nHowever, xpcs_find_compat() only walks desc-\u003ecompat[] and does not look\nat pcs.supported_interfaces. If a caller ever passes an interface\noutside the mask, the core would still find and configure a compat\nentry for it, contradicting the mask the glue already set. This was a\nknown gap: the mask was written but never consulted by the core.\n\nFix both sides:\n\n- In xpcs_find_compat(), return NULL when the interface is not in\n  pcs.supported_interfaces, so the mask is authoritative for what the\n  core will configure.\n- In the Rockchip glue, build a platform mask with the three modes\n  supported by RK3568 (1000BASE-X, SGMII, QSGMII) and intersect it\n  with the core\u0027s supported_interfaces using phy_interface_and().\n  This narrows the mask inherited from the generic compat table so it\n  reflects the actual SoC capabilities.\n\nNote that QSGMII is currently filtered out (a no-op) because the core\u0027s\ncompat table does not support it yet, which demonstrates the intended\nfiltering behavior of this intersection.\n\nSigned-off-by: Coia Prant \u003ccoiaprant@gmail.com\u003e\nLink: https://patch.msgid.link/20261117175215.3015703-1-coiaprant@gmail.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "7e7ef57374f46dedab960277d68c88aa3dd0afd8",
      "tree": "51a71fd90f6ae7bae3b9a5778230c9ddc1ff2610",
      "parents": [
        "95efd17739e0ecc3ed2756952cb1591674bdb588"
      ],
      "author": {
        "name": "Jisheng Zhang",
        "email": "jszhang@kernel.org",
        "time": "Mon Nov 16 21:48:48 2026 +0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 17:35:08 2026 -0800"
      },
      "message": "net: stmmac: Disable checksum insertion for XDP frame TX\n\nstmmac enables TX checksum insertion for XDP frames whenever the queue\nsupports it. XDP frames carry no TX checksum offload request, so this\ncan overwrite a checksum already present in the packet.\n\ndwmac can only do HW checksum for normal particular packets\nlayouts, such as TCP, UDP etc. The stmmac_has_ip_ethertype() has\nwell demostrated this limitation. Different with normal tx where the\ncommon stack supplies the skb-\u003eip_summed metadata, XDP path doesn\u0027t\nhave the necessary metadata. So to make the XDP always work properly\nwhen transmiting arbitrary Eth frames, dwmac HW csum needs to be\ndisabled by default.\n\nPass false to stmmac_prepare_tx_desc() when transmitting an XDP frame\nso that the packet is sent with its checksum fields unchanged.\n\nCc: stable+noautosel@kernel.org # high regression risk\nFixes: be8b38a722e6 (\"net: stmmac: Add support for XDP_TX action\")\nFixes: 8b278a5b69a2 (\"net: stmmac: Add support for XDP_REDIRECT action\")\nSigned-off-by: Jisheng Zhang \u003cjszhang@kernel.org\u003e\nLink: https://patch.msgid.link/20261116134848.4793-1-jszhang@kernel.org\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "95efd17739e0ecc3ed2756952cb1591674bdb588",
      "tree": "903cee5be1f6b0501cf91af3f631f83464ac807c",
      "parents": [
        "0914cb247d1f0136f9a4f784f08b287bc80d3180"
      ],
      "author": {
        "name": "Hangbin Liu",
        "email": "liuhangbin@kylinos.cn",
        "time": "Tue Nov 17 11:16:40 2026 +0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 17:09:41 2026 -0800"
      },
      "message": "tools: ynl: render operations-level fixed-header in docs\n\nThe doc generator only rendered keys on each operations list entry, so\noperations-level fixed-header (the family default) never showed up in the\ngenerated HTML. Add a fallback to emit the default_fixed_header on ops\nthat do not set their own.\n\nAfter update, rt-route, rt-addr, rt-rule, rt-nexthop and ovs_* all\nshows the fixed header correctly in generated html doc.\n\nReported-by: Wessel Jacobi \u003cwessel@jacobi.pw\u003e\nCloses: https://patch.msgid.link/8610ee11-e1dc-481a-9654-11188a06786a@jacobi.pw\nSigned-off-by: Hangbin Liu \u003cliuhangbin@kylinos.cn\u003e\nLink: https://patch.msgid.link/20261117-ynl_fixed_header-v2-1-e7ac247956ee@kylinos.cn\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "0914cb247d1f0136f9a4f784f08b287bc80d3180",
      "tree": "e5352045c54a24953104d7ffe604fa22c3ebd194",
      "parents": [
        "16cc4936fb8efff7021d470e02d23a5ede49e34f",
        "5fa71aea9d590914d025abb687145ae82bd1d817"
      ],
      "author": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 17:00:02 2026 -0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 17:00:03 2026 -0800"
      },
      "message": "Merge branch \u0027tcp-do-not-accept-ack-of-our-iss-on-active-opens\u0027\n\nEric Dumazet says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\ntcp: do not accept ACK of our ISS on active opens\n\nMichael Tuexen asked on the tcpm list whether, after a completed\nhandshake, a segment with SEG.ACK \u003d\u003d ISS is a duplicate ACK or a ghost\nACK [1]. Flavius-Romeo Mazilu noted that Linux gives a different answer\non each side of the connection [2]: passive opens send a challenge ACK,\nactive opens silently accept the segment.\n\nThe first patch makes active opens (including Fast Open and\nsimultaneous opens) behave like passive ones, without changing\nthe value of tcpi_bytes_acked seen by user space and BPF.\n\nThe second patch adds packetdrill tests for the four ways\na socket can be established.\n\nThis closes one extra acceptable ACK value on active opens,\nso this is targeting net-next.\n\n[1] https://mailarchive.ietf.org/arch/msg/tcpm/ZbjDTFQSHeKSVHAToyAnKBr3TpU/\n[2] https://mailarchive.ietf.org/arch/msg/tcpm/ym6lb-UkrW2298LRnTLxCysoo0g/\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261118172654.1267071-1-edumazet@kernel.org\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "5fa71aea9d590914d025abb687145ae82bd1d817",
      "tree": "e5352045c54a24953104d7ffe604fa22c3ebd194",
      "parents": [
        "a25df726c7154798fc669b98506ffc76320e1bd3"
      ],
      "author": {
        "name": "Eric Dumazet",
        "email": "edumazet@kernel.org",
        "time": "Wed Nov 18 18:26:54 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 17:00:00 2026 -0800"
      },
      "message": "selftests/net: packetdrill: add tests for ACK of ISS\n\nOnce a connection is established, a segment with SEG.ACK \u003d\u003d ISS\nacknowledges bytes we never sent. It must be dropped and a challenge\nACK sent back (RFC 5961 Section 5.2), regardless of which side\nopened the connection.\n\nAdd four tests covering the ways a socket can be established:\n\n- tcp_rfc5961_ack-iss-server.pkt: passive open\n- tcp_rfc5961_ack-iss-client.pkt: active open\n- tcp_rfc5961_ack-iss-fastopen-client.pkt: active open, data in SYN\n- tcp_rfc5961_ack-iss-simultaneous-open.pkt: crossed SYNs\n\nEach test also checks that SEG.ACK \u003d\u003d ISS + 1 is still silently\naccepted as a genuine old ACK.\n\nOnly the passive open test passes without the previous patch.\n\nLink: https://mailarchive.ietf.org/arch/msg/tcpm/ym6lb-UkrW2298LRnTLxCysoo0g/\nSigned-off-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nLink: https://patch.msgid.link/20261118172654.1267071-3-edumazet@kernel.org\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "a25df726c7154798fc669b98506ffc76320e1bd3",
      "tree": "3fcd95475b5b6dcd60818b7467eb1d8ea337ae12",
      "parents": [
        "16cc4936fb8efff7021d470e02d23a5ede49e34f"
      ],
      "author": {
        "name": "Eric Dumazet",
        "email": "edumazet@kernel.org",
        "time": "Wed Nov 18 18:26:53 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 16:59:59 2026 -0800"
      },
      "message": "tcp: do not accept ACK of our ISS on active opens\n\nMichael Tuexen asked on the tcpm list [1] whether, after a completed\nhandshake, a segment with SEG.ACK \u003d\u003d ISS is a duplicate ACK or a ghost\nACK. Flavius-Romeo Mazilu answered that Linux behaves differently\ndepending on which side opened the connection:\n\n- passive opens drop it and send a challenge ACK,\n- active opens accept it as an old duplicate ACK.\n\nThis comes from commit 3d501dd326fb (\"tcp: do not accept ACK of bytes\nwe never sent\"), which bounds the range of acceptable old ACKs\nby tp-\u003ebytes_acked.\n\nOn active opens (including Fast Open and simultaneous opens),\ntp-\u003esnd_una starts at ISS and the ACK of our SYN goes through\ntcp_snd_una_update(), so tp-\u003ebytes_acked counts the SYN.\nOn passive opens, tp-\u003esnd_una starts at ISS + 1 and the SYN-ACK\nis not counted.\n\nThe SYN is not a payload byte, and no valid ACK ever carried ISS:\nthe lowest ACK a peer can send on a synchronized connection is ISS + 1.\n\nCounting the SYN widens the acceptable range by one sequence number.\n\ntp-\u003ebytes_acked is exported to user space (tcpi_bytes_acked,\nbpf_tcp_sock, bpf_sock_ops) and tools/testing/selftests/bpf expects\nthe SYN to be counted, so leave it unchanged.\n\nInstead, remember in a new bit that our SYN was counted,\nand subtract it in the tcp_ack() check.\n\nMazilu\u0027s observation was confirmed by code inspection and with\npacketdrill on an unmodified kernel: after an active open, a segment\nwith SEG.ACK \u003d\u003d ISS is silently accepted, where a passive open\nanswers with a challenge ACK.\n\nTested with the packetdrill tests added in the following patch,\nwhich fail on the active side before this patch, and with the other\ntests in tools/testing/selftests/net/packetdrill.\n\n[1] https://mailarchive.ietf.org/arch/msg/tcpm/ZbjDTFQSHeKSVHAToyAnKBr3TpU/\n\nFixes: 3d501dd326fb (\"tcp: do not accept ACK of bytes we never sent\")\nReported-by: Flavius-Romeo Mazilu \u003cflavius.mazilu@stud.acs.upb.ro\u003e\nCloses: https://mailarchive.ietf.org/arch/msg/tcpm/ym6lb-UkrW2298LRnTLxCysoo0g/\nSigned-off-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nLink: https://patch.msgid.link/20261118172654.1267071-2-edumazet@kernel.org\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "16cc4936fb8efff7021d470e02d23a5ede49e34f",
      "tree": "4f92195e51a0022ca958c02f3c6c807de2ccd09f",
      "parents": [
        "d82b4f3a8a2ec4815bffd55a7a4f56401ad0cf7a"
      ],
      "author": {
        "name": "Nicolai Buchwitz",
        "email": "nb@tipi-net.de",
        "time": "Wed Nov 18 21:40:39 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 16:55:52 2026 -0800"
      },
      "message": "net: bcmgenet: write the Tx producer index when a frame is dropped\n\nWith xmit_more, queued frames reach the hardware only when a later frame\nwrites TDMA_PROD_INDEX. If that frame is dropped, the write is skipped\nand the queued frames wait for the next transmit on that ring, which may\nnever come.\n\nWrite the producer index on the drop paths too.\n\nSigned-off-by: Nicolai Buchwitz \u003cnb@tipi-net.de\u003e\nReviewed-by: Florian Fainelli \u003cflorian.fainelli@broadcom.com\u003e\nFixes: ddd0ca5d60b3 (\"net: bcmgenet: add support for xmit_more\")\nReviewed-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nLink: https://patch.msgid.link/20261118-nb-genet-xmit-drop-kick-nn-v1-1-e4e54b143d60@tipi-net.de\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "d82b4f3a8a2ec4815bffd55a7a4f56401ad0cf7a",
      "tree": "4f1507364f16564d5eb522e31aba1c0be115678a",
      "parents": [
        "f18a85d9dea6f617b847114b5b62d2e0c0107ddf"
      ],
      "author": {
        "name": "Maxime Chevallier",
        "email": "maxime.chevallier@bootlin.com",
        "time": "Wed Nov 18 17:21:34 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 16:42:16 2026 -0800"
      },
      "message": "net: stmmac: xgmac: Report the VLAN tag type from the descriptor\n\nStmmac\u0027s double VLAN handling hasn\u0027t been working great for a while,\nit\u0027s been recently reworked for dwmac4 by Ovidiu Panait. In that work,\nit was found that the tag stripping hardcodes the 8021Q tag type for\nXGMAC while stripping the tag, while the IP actually reports the outer\ntag type in the descriptor.\n\nThe tag type can be one of 6 different values (note inner/outer is\nreversed in the macro names):\n\n - XGMAC_ET_LT_VLAN_STAG       single S-tag\n - XGMAC_ET_LT_VLAN_CTAG       single C-tag\n - XGMAC_ET_LT_DVLAN_CTAG_CTAG outer C-tag, inner C-tag\n - XGMAC_ET_LT_DVLAN_STAG_STAG outer S-tag, inner S-tag\n - XGMAC_ET_LT_DVLAN_CTAG_STAG outer S-tag, inner C-tag\n - XGMAC_ET_LT_DVLAN_STAG_CTAG outer C-tag, inner S-tag\n\nReport that tag type through a dedicated desc ops and report it to the\nstack.\n\nWe keep the 8021Q fallback when we don\u0027t have the ops, as we don\u0027t\nset NETIF_F_HW_VLAN_STAG_FILTER on the cores that don\u0027t support that.\n\nThis has been tested on AgileX5 with the vlan.py selftest.\n\nSigned-off-by: Maxime Chevallier \u003cmaxime.chevallier@bootlin.com\u003e\nReviewed-by: Nicolai Buchwitz \u003cnb@tipi-net.de\u003e\nFixes: 534df0c1724b (\"net: stmmac: dwxgmac2: Add support for HW-accelerated VLAN stripping\")\nLink: https://patch.msgid.link/20261118162136.2782405-1-maxime.chevallier@bootlin.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "f18a85d9dea6f617b847114b5b62d2e0c0107ddf",
      "tree": "2e351ee696c6489ec1bd6c59a6c966a3eaeb85d3",
      "parents": [
        "916b8fbd18178929b4418d29b383a21cdbce9e93"
      ],
      "author": {
        "name": "Guangshuo Li",
        "email": "liguangshuo@mail.sdu.edu.cn",
        "time": "Wed Nov 18 22:18:23 2026 +0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 16:33:14 2026 -0800"
      },
      "message": "net: bgmac: Fix potential MDIO use-after-free during removal\n\nThe BCMA remove callback destroys its MDIO bus before\nbgmac_enet_remove() disconnects the attached PHY. The PHY detach path\nstill accesses that bus.\n\nRemove the netdev and disconnect the PHY before unregistering the MDIO\nbus. Found by LLM scan.\n\nCc: stable+noautosel@kernel.org # untested fix for a driver (de)init path\nFixes: f6a95a24957a (\"net: ethernet: bgmac: Add platform device support\")\nSigned-off-by: Guangshuo Li \u003cliguangshuo@mail.sdu.edu.cn\u003e\nLink: https://patch.msgid.link/20261118-324f82bd41-net-bgmac-0@mail.sdu.edu.cn\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "916b8fbd18178929b4418d29b383a21cdbce9e93",
      "tree": "0b167f17eec2776d70151f9d3abf0df5eab48e2c",
      "parents": [
        "193da3d3c77a151fe0d2e73473c785e6849fc953",
        "612a37673567dbe2d75ec0f11d15d704f47980f0"
      ],
      "author": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 16:30:31 2026 -0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 16:31:27 2026 -0800"
      },
      "message": "Merge branch \u0027seg6-fix-skb-checksum-updates-with-checksum_complete\u0027\n\nAndrea Mayer says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\nseg6: fix skb checksum updates with CHECKSUM_COMPLETE\n\nThis series fixes the skb-\u003ecsum updates with CHECKSUM_COMPLETE when the\nSRv6 code processes a received packet. In several places skb-\u003ecsum is not\nupdated correctly:\n - ipv6_srh_rcv() updates skb-\u003ecsum with the wrong sign for the new\n   Segments Left and destination address, and not at all for the Hop Limit\n   decrement.\n - advance_nextseg() and seg6_next_csid_advance_arg() in seg6_local do\n   not update skb-\u003ecsum.\n - The End.BPF program and seg6_bpf_has_valid_srh() can change the\n   packet without updating skb-\u003ecsum.\n - In L2ENCAP and L2ENCAP_RED mode, the MAC header put back in front of\n   the frame is not added to skb-\u003ecsum.\n\nWhen the packet is then delivered on the same node, the effect depends on\nwho computed skb-\u003ecsum. With skb-\u003ecsum computed in software, for example by\nconntrack, UDP can drop the packet as a checksum error. With skb-\u003ecsum\ncomputed by the device, TCP can log a \"hw csum failure\", as if the device\nhad computed a wrong skb-\u003ecsum. In the L2ENCAP case skb-\u003ecsum can be read\non local delivery, for example by a raw socket with IPV6_CHECKSUM.\n\nThe series is organized as follows:\n - Patch 1/6 fixes the update_csum_diff4() and update_csum_diff16()\n   helpers.\n - Patch 2/6 updates skb-\u003ecsum for the Hop Limit decrement in\n   ipv6_srh_rcv().\n   It depends on patch 1/6.\n - Patch 3/6 updates skb-\u003ecsum when SRv6 behaviors advance to the next SID.\n   It depends on patch 1/6.\n - Patch 4/6 discards CHECKSUM_COMPLETE after the End.BPF program.\n - Patch 5/6 accounts for the MAC header in skb-\u003ecsum on L2 encapsulation.\n - Patch 6/6 adds a selftest that uses a tc ct action to compute skb-\u003ecsum.\n   It covers the paths of patches 1/6 to 4/6, and a control datagram\n   checks that the test detects a wrong skb-\u003ecsum.\n\nTested with the srv6_*.sh selftests, including the new one, and with the\nlwt_seg6local BPF selftest. The series was also tested with a ConnectX-6 Lx\nNIC (mlx5) that provides CHECKSUM_COMPLETE. Without the series, TCP over\nthe SRv6 paths of patches 1/6 to 4/6 can log \"hw csum failure\". The same\nhappens for a raw socket with IPV6_CHECKSUM, on a packet delivered locally\nafter L2ENCAP. With this series, none of this happens.\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261118150251.65-1-andrea.mayer@uniroma2.it\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "612a37673567dbe2d75ec0f11d15d704f47980f0",
      "tree": "0b167f17eec2776d70151f9d3abf0df5eab48e2c",
      "parents": [
        "e75bae5fcf5a6212921cf6d77c9424d0020de11d"
      ],
      "author": {
        "name": "Andrea Mayer",
        "email": "andrea.mayer@uniroma2.it",
        "time": "Wed Nov 18 16:02:51 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 16:31:21 2026 -0800"
      },
      "message": "selftests: seg6: add test for skb checksum with CHECKSUM_COMPLETE\n\nAdd a selftest for received packets with CHECKSUM_COMPLETE that the SRv6\ncode processes before they are delivered on the same node. The test checks\nthat, after the node changes the packet, UDP does not read a wrong\nskb-\u003ecsum.\n\nThe test uses a host and a router connected through a veth pair. Since veth\ndoes not provide CHECKSUM_COMPLETE, a tc ct action on the router computes\nskb-\u003ecsum in software.\n\nThe host sends a UDP datagram to the router along five paths: no SRH (the\nreference), an SRH with local segments, End.B6.Encaps with End.DT6, End\nwith the next-csid flavor, and End.BPF. Each datagram is expected to be\ndelivered, not dropped as a checksum error. Without the previous patches,\nevery path except the reference fails. With them, every path passes.\n\nThe host also sends a control datagram. It checks that the test detects a\nwrong skb-\u003ecsum after a change to the packet. After the ct action, a BPF\nprogram on the router changes the Flow Label of the control datagram\nwithout updating skb-\u003ecsum, and UDP must drop it. If UDP accepts it, the\npaths above may report a false pass, and the test fails.\n\nSigned-off-by: Andrea Mayer \u003candrea.mayer@uniroma2.it\u003e\nReviewed-by: Hangbin Liu \u003cliuhangbin@kylinos.cn\u003e\nLink: https://patch.msgid.link/20261118150251.65-7-andrea.mayer@uniroma2.it\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "e75bae5fcf5a6212921cf6d77c9424d0020de11d",
      "tree": "867c06303222c1334bebf3dc6154abc28a527bcf",
      "parents": [
        "53e0a84a417d7c497d625f6a179a933affc10bf7"
      ],
      "author": {
        "name": "Andrea Mayer",
        "email": "andrea.mayer@uniroma2.it",
        "time": "Wed Nov 18 16:02:50 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 16:31:18 2026 -0800"
      },
      "message": "seg6: account for the MAC header in skb checksum on L2 encapsulation\n\nIn L2ENCAP and L2ENCAP_RED mode, seg6_do_srh() puts the MAC header back\nin front of the frame with skb_push(), without adding it to skb-\u003ecsum.\nThe encapsulation then calls skb_postpush_rcsum() only for the outer\nheaders. With CHECKSUM_COMPLETE the MAC header is missing from\nskb-\u003ecsum, which no longer covers the whole packet as required.\n\nFor a forwarded packet, ip6_forward() sets ip_summed to CHECKSUM_NONE with\nskb_forward_csum(), and End.DX2 does the same before sending the frame.\nWhen the packet is delivered on the same node, a raw socket with\nIPV6_CHECKSUM still reads skb-\u003ecsum. With skb-\u003ecsum computed by the device,\nthe kernel can then log a \"hw csum failure\", as if the device had computed\na wrong skb-\u003ecsum.\n\nUse skb_push_rcsum(), which also calls skb_postpush_rcsum() for the MAC\nheader.\n\nFound by manual code inspection of the skb-\u003ecsum updates in the SRv6 code,\nand observed in a VM without kernel changes or error injection: with\nskb-\u003ecsum computed by a tc ct action, a BPF tracing program on\nip6_forward() shows skb-\u003ecsum missing the MAC header. With this patch,\nskb-\u003ecsum covers it. Also tested against the srv6 selftests, and with a\nConnectX-6 Lx NIC (mlx5) that provides CHECKSUM_COMPLETE.\n\nCc: stable+noautosel@kernel.org # never worked\nFixes: 38ee7f2d4756 (\"ipv6: sr: add support for encapsulation of L2 frames\")\nSigned-off-by: Andrea Mayer \u003candrea.mayer@uniroma2.it\u003e\nReviewed-by: Hangbin Liu \u003cliuhangbin@kylinos.cn\u003e\nLink: https://patch.msgid.link/20261118150251.65-6-andrea.mayer@uniroma2.it\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "53e0a84a417d7c497d625f6a179a933affc10bf7",
      "tree": "e5b0b33d69d38b3a3cebf095b5643414b4c30e90",
      "parents": [
        "520989b4d32aeb0b117d12a4f8e1fed30d107992"
      ],
      "author": {
        "name": "Andrea Mayer",
        "email": "andrea.mayer@uniroma2.it",
        "time": "Wed Nov 18 16:02:49 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 16:31:14 2026 -0800"
      },
      "message": "seg6: discard CHECKSUM_COMPLETE after the End.BPF program\n\nThe End.BPF program can change the packet through the seg6 BPF helpers,\nfor instance the SRH Tag with bpf_lwt_seg6_store_bytes(). After the\nprogram, seg6_bpf_has_valid_srh() can also rewrite the SRH Hdr Ext Len.\n\nWith CHECKSUM_COMPLETE, the program does not always update skb-\u003ecsum for\nthe bytes it writes, and seg6_bpf_has_valid_srh() does not either. If the\npacket is then delivered on the same node and skb-\u003ecsum was computed in\nsoftware, for instance by conntrack, UDP can drop the packet as a checksum\nerror. With skb-\u003ecsum computed by the device, TCP can instead log a\n\"hw csum failure\", as if the device had computed a wrong skb-\u003ecsum.\n\nDiscard CHECKSUM_COMPLETE with skb_checksum_complete_unset() after the\nprogram, since input_action_end_bpf() does not know which bytes the program\nchanged. The checksum is then verified in software.\n\nFound by manual code inspection and reproduced in a VM without kernel\nchanges or error injection: with skb-\u003ecsum computed by a tc ct action, an\nEnd.BPF program that writes the SRH Tag, followed by End.B6.Encaps and a\nlocal End.DT6 SID, makes UDP drop the packet. With this patch, the packet\nis delivered. Also tested against the srv6 selftests, the lwt_seg6local\nBPF selftest, and with a ConnectX-6 Lx NIC (mlx5) that provides\nCHECKSUM_COMPLETE.\n\nCc: stable+noautosel@kernel.org # never worked\nFixes: 004d4b274e2a (\"ipv6: sr: Add seg6local action End.BPF\")\nSigned-off-by: Andrea Mayer \u003candrea.mayer@uniroma2.it\u003e\nReviewed-by: Hangbin Liu \u003cliuhangbin@kylinos.cn\u003e\nLink: https://patch.msgid.link/20261118150251.65-5-andrea.mayer@uniroma2.it\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "520989b4d32aeb0b117d12a4f8e1fed30d107992",
      "tree": "107f473ef0fe17f930a3808352e40a06252e2962",
      "parents": [
        "47f89dfc930b5c8b4947d152969acdbe89392f97"
      ],
      "author": {
        "name": "Andrea Mayer",
        "email": "andrea.mayer@uniroma2.it",
        "time": "Wed Nov 18 16:02:48 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 16:31:05 2026 -0800"
      },
      "message": "seg6: update skb checksum when SRv6 behaviors advance to the next SID\n\nadvance_nextseg() decrements Segments Left and writes the next segment into\nthe destination address, and seg6_next_csid_advance_arg() advances the\nNEXT-C-SID argument in the destination address.\nWith CHECKSUM_COMPLETE, neither updates skb-\u003ecsum for these changes. The\nstale skb-\u003ecsum is read when the packet is delivered on the same node, e.g.\nthrough End.B6.Encaps towards a local End.DT6 SID.\nAs a consequence, when skb-\u003ecsum is computed in software, for instance by\nconntrack, UDP can drop the packet as a checksum error. With skb-\u003ecsum\ncomputed by the device, TCP can instead log a \"hw csum failure\", as if the\ndevice had computed a wrong skb-\u003ecsum.\n\nUpdate skb-\u003ecsum in both functions with update_csum_diff16() for the\ndestination address. advance_nextseg() also uses update_csum_diff4() for\nSegments Left.\n\nDepends on patch \"seg6: fix skb checksum update helpers\".\n\nFound by manual code inspection while working on\ncommit 8ae3f4067ba4 (\"seg6: ensure packet data is writable before modifying\nSRH and IPv6 DA\"), and reproduced in a VM without kernel changes or error\ninjection. A following commit adds a selftest that reproduces the problem\nwith a tc ct action. With this patch, the selftest passes for the\nEnd.B6.Encaps and next-csid paths. Also tested against the srv6 selftests,\nand with a ConnectX-6 Lx NIC (mlx5) that provides CHECKSUM_COMPLETE.\n\nCc: stable+noautosel@kernel.org # never worked\nFixes: 140f04c33bbc (\"ipv6: sr: implement several seg6local actions\")\nFixes: 848f3c0d4769 (\"seg6: add NEXT-C-SID support for SRv6 End behavior\")\nReviewed-by: Hangbin Liu \u003cliuhangbin@kylinos.cn\u003e\nSigned-off-by: Andrea Mayer \u003candrea.mayer@uniroma2.it\u003e\nLink: https://patch.msgid.link/20261118150251.65-4-andrea.mayer@uniroma2.it\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "47f89dfc930b5c8b4947d152969acdbe89392f97",
      "tree": "8ec7d5bae626f3d652401fd91f22f6c924b8553f",
      "parents": [
        "47b2998b644ce644a0a002e6e35ae212936dc292"
      ],
      "author": {
        "name": "Andrea Mayer",
        "email": "andrea.mayer@uniroma2.it",
        "time": "Wed Nov 18 16:02:47 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 16:31:02 2026 -0800"
      },
      "message": "seg6: update skb checksum when ipv6_srh_rcv() decrements the Hop Limit\n\nWhen the next segment is a local address, ipv6_srh_rcv() processes it\ndirectly and also decrements the Hop Limit. With CHECKSUM_COMPLETE,\nskb-\u003ecsum is not updated for this change. If the packet is then delivered\non the same node and skb-\u003ecsum was computed in software, for instance by\nconntrack, UDP can drop the packet as a checksum error. With skb-\u003ecsum\ncomputed by the device, TCP can instead log a \"hw csum failure\", as if the\ndevice had computed a wrong skb-\u003ecsum.\n\nUpdate skb-\u003ecsum for the Hop Limit decrement with update_csum_diff4().\n\nDepends on patch \"seg6: fix skb checksum update helpers\".\n\nFound by manual code inspection, and reproduced in a VM without kernel\nchanges or error injection. A following commit adds a selftest that\nreproduces the problem with a tc ct action. With this patch, the selftest\npasses for the path with local SRH segments. Also tested against the srv6\nselftests, and with a ConnectX-6 Lx NIC (mlx5) that provides\nCHECKSUM_COMPLETE.\n\nCc: stable+noautosel@kernel.org # never worked\nFixes: 1ababeba4a21 (\"ipv6: implement dataplane support for rthdr type 4 (Segment Routing Header)\")\nReviewed-by: Hangbin Liu \u003cliuhangbin@kylinos.cn\u003e\nSigned-off-by: Andrea Mayer \u003candrea.mayer@uniroma2.it\u003e\nLink: https://patch.msgid.link/20261118150251.65-3-andrea.mayer@uniroma2.it\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "47b2998b644ce644a0a002e6e35ae212936dc292",
      "tree": "10c92d1307b9f33eb9118b02da41fa873b7aaa98",
      "parents": [
        "193da3d3c77a151fe0d2e73473c785e6849fc953"
      ],
      "author": {
        "name": "Andrea Mayer",
        "email": "andrea.mayer@uniroma2.it",
        "time": "Wed Nov 18 16:02:46 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 16:30:55 2026 -0800"
      },
      "message": "seg6: fix skb checksum update helpers\n\nWith CHECKSUM_COMPLETE, ipv6_srh_rcv() updates skb-\u003ecsum for the new\nSegments Left and destination address through seg6_update_csum().\nReplacing \"from\" with \"to\" in the packet must change skb-\u003ecsum (C) to\nC - from + to, but update_csum_diff4() and update_csum_diff16() compute:\n\n  ~csum_partial({ ~from, to }, ~C) \u003d ~(~C + ~from + to) \u003d C + from - to\n\nThis does not affect packets forwarded by ip6_forward(), which sets\nip_summed to CHECKSUM_NONE. But when the packet is delivered on the same\nnode and skb-\u003ecsum was computed in software, for instance by conntrack, UDP\ncan drop the packet as a checksum error. With skb-\u003ecsum computed by the\ndevice, TCP can instead log a \"hw csum failure\", as if the device had\ncomputed a wrong skb-\u003ecsum.\n\nFix update_csum_diff4() and update_csum_diff16() to compute C - from + to.\n\nFound by manual code inspection, while checking that the skb-\u003ecsum updates\nin the SRv6 receive path are consistent. A following commit adds a selftest\nthat reproduces the problem with a tc ct action. The issue was confirmed in\na VM without kernel changes or error injection: with the rest of this\nseries and without this patch, that selftest fails, as UDP drops datagrams\nas checksum errors. Also tested against the srv6 selftests, and with a\nConnectX-6 Lx NIC (mlx5) that provides CHECKSUM_COMPLETE.\n\nCc: stable+noautosel@kernel.org # never worked\nFixes: 1ababeba4a21 (\"ipv6: implement dataplane support for rthdr type 4 (Segment Routing Header)\")\nReviewed-by: Hangbin Liu \u003cliuhangbin@kylinos.cn\u003e\nSigned-off-by: Andrea Mayer \u003candrea.mayer@uniroma2.it\u003e\nLink: https://patch.msgid.link/20261118150251.65-2-andrea.mayer@uniroma2.it\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "193da3d3c77a151fe0d2e73473c785e6849fc953",
      "tree": "1e17803d6da7f8b95cd5fa03151f6101c331d304",
      "parents": [
        "6e0542a18a75eaf44a99fed29594f48c5addeb00",
        "39508fb293a9a11e0d803a56862ea90d8fc615b9"
      ],
      "author": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 16:20:05 2026 -0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 16:22:29 2026 -0800"
      },
      "message": "Merge branch \u0027vxlan-vnifilter-bound-a-single-request-and-account-per-vni-memory\u0027\n\nAli Firas says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\nvxlan: vnifilter: bound a single request and account per-VNI memory\n\nThe VNI filter interface accepts a VNI range with no bound on either\nendpoint or on how many VNIs one message may ask for, and the memory it\nallocates per VNI is not charged to the caller\u0027s cgroup.\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261114221412.255825-1-alishmery18@gmail.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "39508fb293a9a11e0d803a56862ea90d8fc615b9",
      "tree": "1e17803d6da7f8b95cd5fa03151f6101c331d304",
      "parents": [
        "4d00df6019f8b1f6f4623025b97e66324625916d"
      ],
      "author": {
        "name": "Ali Firas",
        "email": "alishmery18@gmail.com",
        "time": "Sun Nov 15 01:14:08 2026 +0300"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 16:21:55 2026 -0800"
      },
      "message": "vxlan: vnifilter: account per-VNI memory to memcg\n\nvxlan_vni_alloc() allocates a struct vxlan_vni_node and a per-CPU stats\nblock for every VNI, both with plain GFP_KERNEL, so neither is charged\nto the cgroup of the process that created the VNI. A netdevice\u0027s own\nstruct and its Tx/Rx queues are already GFP_KERNEL_ACCOUNT in\nalloc_netdev_mqs() (commit c948f51c1654 (\"memcg: enable accounting for\nnet_device and Tx/Rx queues\")), so these per-VNI allocations are an\nunaccounted part of a device that a cgroup can grow one VNI at a time.\n\nCharge both to the caller\u0027s cgroup with GFP_KERNEL_ACCOUNT in\nvxlan_vni_alloc(). __GFP_ACCOUNT only charges an allocation made from a\ntask in a non-root memcg, so the sole caller, which already handles a\nNULL return, is unaffected outside a memcg.\n\nThe charge lands in the caller\u0027s memcg: adding VNIs from inside one\nmoves each node into the accounted slab and raises the cgroup\u0027s per-CPU\nmemory. This covers the node and its stats only; a VNI carrying a group\nor remote also installs a default FDB entry, whose allocations are not\ncharged here.\n\nSigned-off-by: Ali Firas \u003calishmery18@gmail.com\u003e\nLink: https://patch.msgid.link/20261114221412.255825-5-alishmery18@gmail.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "4d00df6019f8b1f6f4623025b97e66324625916d",
      "tree": "67591ff4ffb6c8b8d4989b66b171247e1f39a4ef",
      "parents": [
        "6e0542a18a75eaf44a99fed29594f48c5addeb00"
      ],
      "author": {
        "name": "Ali Firas",
        "email": "alishmery18@gmail.com",
        "time": "Sun Nov 15 01:14:05 2026 +0300"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 16:21:29 2026 -0800"
      },
      "message": "vxlan: vnifilter: reject VNIs outside the 24-bit space\n\nVXLAN_VNIFILTER_ENTRY_START and VXLAN_VNIFILTER_ENTRY_END are bare\nNLA_U32, so neither is bounded before vxlan_process_vni_filter() hands\nthem to vxlan_vni_add_del():\n\n\tint v, err \u003d 0;\n\t...\n\tfor (v \u003d start_vni; v \u003c\u003d end_vni; v++)\n\nv is int and end_vni is __u32, so the comparison is done unsigned. A\nrequest carrying only START\u003d0xffffffff has vni_start \u003d\u003d vni_end \u003d\u003d\n0xffffffff and looks like a single VNI; v is then -1, the comparison\npromotes it to 0xffffffff and passes, v++ makes v 0, and the loop walks\nthe space upwards from there, creating a VNI node and a per-CPU stats\nblock per iteration under rtnl_lock. Any range ending at 0xffffffff\nbehaves the same way.\n\nSeparately, a VNI at or above VXLAN_N_VID is accepted and stored even\nthough the VXLAN header carries only 24 bits: vxlan_vni_field() shifts\nwithout masking, so such an entry keeps its own rhashtable slot while\nbeing truncated on the wire.\n\nRange-validate both attributes against the 24-bit space, as vxlan_mdb.c\nalready does for its own VNI attributes. Since commit 599d0e97610f\n(\"vxlan: vnifilter: validate the VXLAN_VNIFILTER_ENTRY nest\") linked the\nnest to this policy, an out-of-range endpoint is rejected during netlink\npolicy validation, before vxlan_process_vni_filter() runs and before\nanything is allocated. Without that commit the range would be checked\none entry at a time, by the nla_parse_nested() in\nvxlan_process_vni_filter(), after the earlier entries of the message had\nbeen applied.\n\nMake the loop counter u32 as well. With the range bounded it is no\nlonger what keeps the loop finite, but it drops the undefined signed\noverflow past INT_MAX and matches the u32 vni that vxlan_vni_add() and\nvxlan_vni_del() already take.\n\nFound by code review: vxlan_mdb.c range-checks its VNI attributes\nagainst VXLAN_N_VID, and the vnifilter policy did not. In QEMU on\nnet-next (production build, 2 vCPU), VNI 16777216 is accepted and\nstored, and a lone START\u003d0xffffffff wraps the loop counter and keeps\nallocating VNI nodes under rtnl_lock.\n\nThis targets net-next without a Fixes tag and is not a backport\ncandidate. Reviewing the earlier posting of this range check alone,\nJakub said it was either a security fix needing a stronger check or\nsomething making things slightly better that did not deserve Fixes or\nstable.\n\nLink: https://lore.kernel.org/netdev/20260905123900.23984eda@kernel.org/\nSigned-off-by: Ali Firas \u003calishmery18@gmail.com\u003e\nLink: https://patch.msgid.link/20261114221412.255825-2-alishmery18@gmail.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "6e0542a18a75eaf44a99fed29594f48c5addeb00",
      "tree": "d61ef0ea0aa8e5d36869736019ea52b5b16079a5",
      "parents": [
        "04c6b6c90e326c7c6913d525913b202c03adb363",
        "eb0431e3f3e4ab5752ad723f4ab1cb64422cf073"
      ],
      "author": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 16:09:19 2026 -0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 16:09:20 2026 -0800"
      },
      "message": "Merge branch \u0027net-dsa-make-a-shorter-bridge-ageing-time-take-effect\u0027\n\nOleksij Rempel says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\nnet: dsa: make a shorter bridge ageing time take effect\n\nDuring an STP topology change, the bridge lowers the ageing time so\nthat stale FDB entries go away quickly. When the change is over, the\nbridge sets the configured value again. On DSA switches, both steps\ncan go wrong:\n\n- On a KSZ9893, ksz9477 does not apply a shorter value at once. Patch 1\n  fixes this.\n- The DSA core can keep the short value after the bridge has restored\n  the long one. Patch 2 fixes this, and patch 3 does the same for a\n  port that has left the bridge.\n\nIn a lab test on a KSZ9893, I cut one of two redundant paths while a\nstation sent one-way UDP or raw Ethernet traffic. Without the series,\nthe traffic stopped for up to 56 s, long after STP had converged. With\nit, the traffic came back after 12 to 15 s, about as long as STP\nneeded to converge.\n\nThe series fixes the cases I hit on a KSZ9893: the switch keeps a\nshort ageing time after an STP topology change, or after a port leaves\nthe bridge. Some cases are not fixed. In them, the switch keeps an\nageing time that no bridge asks for. Two are known:\n\n- The last bridged port of a switch leaves while its bridge has a\n  short ageing time.\n- The last port of one bridge leaves the switch while another bridge\n  stays on it. The switch keeps the short value of the bridge that is\n  gone.\n\nThere may be more such cases. I did not look for them.\n\nThe patches carry Fixes tags. They still go to net-next, because\npatches 2 and 3 change the DSA core and affect every driver with\n.set_ageing_time.\n\nWith patch 2, sja1105 reloads its static config once more when the\nbridge restores the ageing time.\n\nTo check patches 2 and 3 on a KSZ9477-family switch over I2C, read the\nageing register from debugfs (\u003cdevice\u003e is the I2C device, for example\n3-005f):\n\n  dd if\u003d/sys/kernel/debug/regmap/\u003cdevice\u003e-32/registers bs\u003d15 \\\n     skip\u003d$((0x310)) count\u003d1 2\u003e/dev/null\n\nThe ageing time in seconds is bits 5:3 of the first byte times the last\nbyte. For example, in \"0310: 55450096\" bits 5:3 of 0x55 give 2 and 0x96\nis 150, so the ageing time is 2 x 150 s \u003d 300 s.\n\nWithout STP, after a boot (the comments give the register value):\n\n  ip link add br0 type bridge stp_state 0\n  ip link set lan1 master br0\n  ip link set lan2 master br0\n  ip link set br0 up\n  ip link set br0 type bridge ageing_time 1000    # 10 s\n  # 0310: 4d45000a (1 x 10 s)\n  ip link set lan2 nomaster\n  ip link set br0 type bridge ageing_time 30000   # 300 s\n  # with the series:      0310: 55450096 (2 x 150 s)\n  # without patch 2 or 3: 0310: 4d45000a (1 x 10 s)\n\nWith kernel STP, start again with a bridge that runs STP, here with\nforward_delay 4 s. lan1 and lan2 need a link to peers that do not run\nSTP, so that br0 is the root bridge:\n\n  ip link del br0\n  ip link add br0 type bridge stp_state 1 forward_delay 400\n  ip link set lan1 master br0\n  ip link set lan2 master br0\n  ip link set lan1 up\n  ip link set lan2 up\n  ip link set br0 up\n  # wait until /sys/class/net/br0/bridge/topology_change reads 1\n  # 0310: 55450004 (2 x 4 s)\n  ip link set lan2 nomaster\n  sleep 30\n  # with the series:      0310: 55450096 (2 x 150 s)\n  # without patch 2 or 3: 0310: 55450004 (2 x 4 s)\n\nTested on a KSZ9893.\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261117-ksz-stp-ageing-v3-0-135de6b9f8ad@pengutronix.de\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "eb0431e3f3e4ab5752ad723f4ab1cb64422cf073",
      "tree": "d61ef0ea0aa8e5d36869736019ea52b5b16079a5",
      "parents": [
        "133927a005890423a0e3e90544f8707919368d9c"
      ],
      "author": {
        "name": "Oleksij Rempel",
        "email": "o.rempel@pengutronix.de",
        "time": "Tue Nov 17 14:02:13 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 16:09:16 2026 -0800"
      },
      "message": "net: dsa: forget the port ageing time when the port leaves the bridge\n\nClear the cached dp-\u003eageing_time when the port leaves the bridge.\nOtherwise dsa_switch_fastest_ageing_time() still uses the ageing time\nof the port that left. If the port leaves with a shorter ageing time,\nfor example during an STP topology change, the switch stays at the\nshort value until that port joins a bridge again. With this change the\nswitch goes back to the long value when the bridge restores it at the\nend of the topology change. The switch gets the restored value only if\nanother port of the same bridge is still in this DSA tree.\n\nFound by code inspection. Tested on a KSZ9893 with lan1 and lan2 in a\nbridge, ageing time 300 s:\n- kernel STP, forward delay 4 s, lan2 removed during a topology change:\n  without this patch the switch stayed at 8 s (2 x 4 s). With it, the\n  switch went back to 300 s at the end of the topology change.\n- no STP: I set the ageing time to 10 s, removed lan2, then set 300 s.\n  The switch stayed at 10 s without this patch and went to 300 s with\n  it.\n\nReviewed-by: Andrew Lunn \u003candrew@lunn.ch\u003e\nSigned-off-by: Oleksij Rempel \u003co.rempel@pengutronix.de\u003e\nLink: https://patch.msgid.link/20261117-ksz-stp-ageing-v3-3-135de6b9f8ad@pengutronix.de\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "133927a005890423a0e3e90544f8707919368d9c",
      "tree": "cb6c1b2cd93af77daaf660fe0480a521ab0e3aa7",
      "parents": [
        "bf18142882a0e06858f0b1aae6e3c8a85a490d5c"
      ],
      "author": {
        "name": "Oleksij Rempel",
        "email": "o.rempel@pengutronix.de",
        "time": "Tue Nov 17 14:02:12 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 16:08:56 2026 -0800"
      },
      "message": "net: dsa: ignore the old ageing time of the port being changed\n\nPass the port to the ageing time notifier. When\ndsa_switch_fastest_ageing_time() takes the minimum, skip the cached\ndp-\u003eageing_time of that port and use the requested value instead. DSA\nupdates the cache only after the notifier.\n\nWithout this, the minimum includes the port\u0027s old ageing time. During\nan STP topology change, the bridge lowers the ageing time to\n2 x forward_delay (8 s with forward_delay 4 s). When it restores the\nconfigured value, DSA programs the cached 8 s again, and the switch\nkeeps ageing at 8 s.\n\nAn automated review of the lan9645x bridge series pointed this out [1].\nI reproduced it on a KSZ9893 and tested the fix there.\n\nLink: https://lore.kernel.org/netdev/179180428624.434549.14425623884223795761@kernel.org/ [1]\nReviewed-by: Andrew Lunn \u003candrew@lunn.ch\u003e\nSigned-off-by: Oleksij Rempel \u003co.rempel@pengutronix.de\u003e\nReviewed-by: Linus Walleij \u003clinusw@kernel.org\u003e\nLink: https://patch.msgid.link/20261117-ksz-stp-ageing-v3-2-135de6b9f8ad@pengutronix.de\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "bf18142882a0e06858f0b1aae6e3c8a85a490d5c",
      "tree": "bd5830f90d87188afd25fe51f2fa62a1aab18b2f",
      "parents": [
        "04c6b6c90e326c7c6913d525913b202c03adb363"
      ],
      "author": {
        "name": "Oleksij Rempel",
        "email": "o.rempel@pengutronix.de",
        "time": "Tue Nov 17 14:02:11 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 16:08:29 2026 -0800"
      },
      "message": "net: dsa: microchip: ksz9477: apply a shorter ageing time at once\n\nPulse Fast Aging when the programmed ageing time gets shorter or the Age\nCount gets smaller.\n\nThe ageing time is Age Count times Age Period. An entry stores the Age\nCount when it is updated, as the datasheet says. The datasheet does not\nsay when a new Age Period applies.\n\nWithout the pulse, stale entries outlived an STP topology change. In my\nSTP tests the switch ran at 300 s as 4 x 75 s, its reset value. With\nforward_delay 4 s, the bridge asks for an ageing time of 8 s. Read back\nright after the write, the register showed 8 s. In three tests, an\nentry learned before the change still stayed for more than a minute. I\nthink the switch uses the new Age Period only after the running one\nends.\n\nThe pulse is also needed when the ageing time grows but the Age Count\nshrinks. From 8 s (4 x 2 s) to 31 s (1 x 31 s), an entry stayed about\n63 s in one test.\n\nFast Aging is a control for the whole switch. On a KSZ9893 the pulse\nremoved the dynamic entries of both user ports, also entries still in\nuse, and the new period started right away. Unicast to those addresses\nis flooded until the switch learns them again.\n\nI found this in STP tests on a KSZ9893. I tested the fix there with\nkernel STP and with STP off. With mstpd I checked only the programmed\nageing time, not the FDB.\n\nCc: stable+noautosel@kernel.org # main known use case is a test env\nFixes: 2c119d9982b1 (\"net: dsa: microchip: add the support for set_ageing_time\")\nReviewed-by: Andrew Lunn \u003candrew@lunn.ch\u003e\nSigned-off-by: Oleksij Rempel \u003co.rempel@pengutronix.de\u003e\nLink: https://patch.msgid.link/20261117-ksz-stp-ageing-v3-1-135de6b9f8ad@pengutronix.de\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "04c6b6c90e326c7c6913d525913b202c03adb363",
      "tree": "c57f016a55a3f1aee5a24dc02376d25f986b38f1",
      "parents": [
        "a98c9978f59e055daa24eb7c3796cd46c094772e"
      ],
      "author": {
        "name": "Narcisa Vasile",
        "email": "narcisav.kernel@gmail.com",
        "time": "Mon Nov 16 12:43:13 2026 -0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 15:43:46 2026 -0800"
      },
      "message": "eth: bnxt: report TX HW GSO queue stats\n\nExpose counters for HW GSO skbs and the wire packets they produce through\nnetdev queue statistics. Update the counters when TX completions are\nprocessed.\n\nThe tso.py selftests are skipped for drivers that don\u0027t report\nthese counters, so this also lets them run on bnxt.\n\nSigned-off-by: Narcisa Vasile \u003cnarcisav.kernel@gmail.com\u003e\nLink: https://patch.msgid.link/20261116204313.23023-1-narcisav.kernel@gmail.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "a98c9978f59e055daa24eb7c3796cd46c094772e",
      "tree": "22016f35a977259c82e5f7b0c70af280826a2eed",
      "parents": [
        "2208ab00f4f213ade91ab775e7f8c4dacdcc856e"
      ],
      "author": {
        "name": "Guangshuo Li",
        "email": "liguangshuo@mail.sdu.edu.cn",
        "time": "Mon Nov 16 22:12:10 2026 +0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Fri Nov 20 15:41:20 2026 -0800"
      },
      "message": "octeontx2-pf: Fix potential use-after-free in representor teardown\n\nThe representor private data resides in its netdev allocation.\nrvu_rep_destroy() frees that allocation before reading rep-\u003eflow_cfg\nto release the flow configuration.\n\nRelease the configuration while the representor is still alive.\nFound by LLM.\n\nCc: stable+noautosel@kernel.org # untested fix for a driver (de)init path\nFixes: 6c40ca957fe5 (\"octeontx2-pf: Adds TC offload support\")\nSigned-off-by: Guangshuo Li \u003cliguangshuo@mail.sdu.edu.cn\u003e\nReviewed-by: Ratheesh Kannoth \u003crkannoth@marvell.com\u003e\nReviewed-by: Simon Horman \u003chorms@kernel.org\u003e\nLink: https://patch.msgid.link/20261116-c29ba55625-net-otx2-representor@mail.sdu.edu.cn\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "2208ab00f4f213ade91ab775e7f8c4dacdcc856e",
      "tree": "926fa5ff16891abdeb19bbd1ac2283373c769fc8",
      "parents": [
        "f05dc314df02a826d7c6a5b989d8c887143a12b8"
      ],
      "author": {
        "name": "Eric Dumazet",
        "email": "edumazet@kernel.org",
        "time": "Wed Nov 18 22:14:39 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 19:07:09 2026 -0800"
      },
      "message": "net/packet: wait for a single RCU grace period in packet_release()\n\nClosing an AF_PACKET socket waits for one RCU grace period per ring\nin packet_set_ring(), then for another one at the end of\npacket_release(). A socket with an rx ring (libpcap, tcpdump) pays for\ntwo grace periods, a socket with both rx and tx rings for three.\n\nAll the RCU unpublishing is done at the beginning of packet_release(),\nwhen unregister_prot_hook() removes the socket from the ptype lists or\nfrom its fanout group. Nothing is unpublished after that point:\n\n- When closing, packet_set_ring() finds the socket not running and\n  does not touch the hooks.\n\n- fanout_release() only clears po-\u003efanout and unlinks the group from\n  fanout_list, both under fanout_mutex. If it drops the last reference\n  on the group, all members have already been unlinked, so the fanout\n  hook was removed by __fanout_unlink().\n\nCall fanout_release() and synchronize_net() right after the socket has\nbeen detached, before the rings are torn down, and skip the wait in\npacket_set_ring() when closing. That single grace period covers the\nrings, po-\u003erollover and the fanout group.\n\nThe setsockopt() path of packet_set_ring() is unchanged.\n\nAverage close() duration over 20 sockets bound to lo, in a 4 vCPU\nvirtme-ng guest:\n\n                         before      after\n  no ring                7.86 ms    7.76 ms\n  rx ring                8.01 ms    4.01 ms\n  tx ring                8.00 ms    4.00 ms\n  rx + tx rings         11.96 ms    4.00 ms\n  rx + tx rings, fanout 12.02 ms    4.01 ms\n\nTested with tools/testing/selftests/net/run_afpackettests\n(psock_fanout, psock_tpacket, txring_overwrite) on a kernel without\nKASAN or lockdep.\n\nSigned-off-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nReviewed-by: Willem de Bruijn \u003cwillemb@google.com\u003e\nLink: https://patch.msgid.link/20261118211439.1453635-1-edumazet@kernel.org\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "f05dc314df02a826d7c6a5b989d8c887143a12b8",
      "tree": "612ade81a6474f38309c7dc85db250f32a6281de",
      "parents": [
        "42b2abae1fd68423790d2e9dc851c095c067ba4b",
        "d2f68f74723d64f46bdd7ebd8d4a7b6cb6c627e8"
      ],
      "author": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 19:04:56 2026 -0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 19:04:56 2026 -0800"
      },
      "message": "Merge branch \u0027net-enetc-s32n79-pseudo-mac-ppm-networking-support\u0027\n\nClaudiu Manoil says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\nnet: enetc: S32N79 pseudo-MAC (PPM) networking support\n\nThis series adds networking support for the ENETCv4.4 pseudo-MAC (PPM)\nports found on the NXP S32N79 SoC. On S32N79, the ENETCv4 ports are\nnot wired to any external PHY/MII; instead they are internal \"pseudo-MAC\"\nlinks into the on-chip NETC switch. These links are proprietary, expose\nno standard IEEE interface, and run at a speed fixed at boot time by the\nPort PCR[PSPEED] register.\n\nA key use case is a port that has no \"ethernet\" DT node at all: NETC is\nreached over PCI from a host that probes the ENETC, while the internal\nNETC switch it connects to is not owned by Linux. Such a port must have\nits fixed link synthesized at probe time.\n\nThe driver synthesizes the fixed link directly in C using an of_changeset:\nof_changeset_create_node() adds a \"fixed-link\" subnode onto the PCI\nfunction\u0027s dynamic OF node (CONFIG_PCI_DYNAMIC_OF_NODES), with the \"speed\"\nproperty read from PCR[PSPEED] at probe time and \"full-duplex\" set.\nphylink then picks up the fixed-link node through dev_fwnode().\n\nThe series touches three subsystems:\n  - net/enetc:  pseudo-MAC fixed-link support, probing of 4.4 devices\n                and a fix for more than 6 ring interrupt vectors\n  - arm64 dts:  NETC IEP18 ECAM node on S32N79 and its RDB board enable\n  - PCI:        a quirk creating the OF node for the ENETC PMAC functions\n\nBecause this is primarily a networking feature and the pieces are\ninterdependent at runtime, it would be most convenient to merge the\nwhole series through the netdev tree.\n\nPatch 1 has a runtime (not Kconfig) dependency on\nCONFIG_PCI_DYNAMIC_OF_NODES; absent that, the pseudo-MAC probe path\nfails gracefully with -ENODEV.\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/cover.1794581338.git.claudiu.manoil@nxp.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "d2f68f74723d64f46bdd7ebd8d4a7b6cb6c627e8",
      "tree": "612ade81a6474f38309c7dc85db250f32a6281de",
      "parents": [
        "8fa58d0f821f08be7d342edfb3e36567c6d09ceb"
      ],
      "author": {
        "name": "Claudiu Manoil",
        "email": "claudiu.manoil@nxp.com",
        "time": "Fri Nov 13 17:02:37 2026 +0200"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 19:04:54 2026 -0800"
      },
      "message": "PCI: Create OF node for NXP ENETC pseudo-MAC functions\n\nNXP ENETCv4 pseudo-MAC (PPM) ports can be probed as pure PCI endpoints,\nwithout any \"ethernet\" node in the static device tree. The ENETC4 driver\ndescribes their fixed link by attaching a fixed-link node to the PCI\nfunction\u0027s own OF node, which requires that node to exist.\n\nRequest the PCI core to synthesize a per-function OF node for these\ndevices by registering of_pci_make_dev_node() as a final fixup, following\nthe existing precedent for the Xilinx, Red Hat and EFAR devices. The\nhelper is a no-op when the function already has a static OF node, so this\nhas no effect on platforms that describe ENETC via static DT. It only\ntakes effect when CONFIG_PCI_DYNAMIC_OF_NODES is enabled.\n\nBoth ENETC4 PCI device IDs are covered (0xe101 and 0xe110), since either\ncan be instantiated as a pseudo-MAC port on S32N79.\n\nSigned-off-by: Claudiu Manoil \u003cclaudiu.manoil@nxp.com\u003e\nAcked-by: Bjorn Helgaas \u003cbhelgaas@google.com\u003e\nLink: https://patch.msgid.link/e256f380f2f1bc88752ee261101cc83ad84ebedd.1794581338.git.claudiu.manoil@nxp.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "8fa58d0f821f08be7d342edfb3e36567c6d09ceb",
      "tree": "f616b9765ab3b59c0e619a24358c3337102b6964",
      "parents": [
        "821b90b0e9cb38dc37f95cb18a30a5970e7fd08b"
      ],
      "author": {
        "name": "Claudiu Manoil",
        "email": "claudiu.manoil@nxp.com",
        "time": "Fri Nov 13 17:02:36 2026 +0200"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 19:04:54 2026 -0800"
      },
      "message": "arm64: dts: s32n79-rdb: enable NETC IEP18\n\nEnable the NETC v4 ECAM bus #18 on the S32N79-RDB board so that the\nENETC v4 Pseudo-MAC port (PPM) PF and VF instances are probed.\n\nSigned-off-by: Claudiu Manoil \u003cclaudiu.manoil@nxp.com\u003e\nLink: https://patch.msgid.link/6f1ea6caef6ca01c9a6384cd1024384d31848c53.1794581338.git.claudiu.manoil@nxp.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "821b90b0e9cb38dc37f95cb18a30a5970e7fd08b",
      "tree": "6e0e84da93d72113eef89264bbbc81c1a84a011c",
      "parents": [
        "24579bb24660a548bfe7c28c784b81a64b9b6c54"
      ],
      "author": {
        "name": "Claudiu Manoil",
        "email": "claudiu.manoil@nxp.com",
        "time": "Fri Nov 13 17:02:35 2026 +0200"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 19:04:54 2026 -0800"
      },
      "message": "arm64: dts: s32n79: add NETC IEP18 ECAM node for ENETC PPM ports\n\nAdd the netc_iep18 PCIe ECAM host node describing the NETC integrated\nendpoint bus allocated to the first Linux cohort on S32N79. The bus is\nenumerated via the generic pci-host-ecam-generic driver and hosts the\nENETC v4 Pseudo-MAC (PPM) PF and its VFs, which connect internally to\nthe on-chip NETC switch (not owned by Linux).\n\nThe node is kept disabled at the SoC level; boards that wire up NETC\nenable it. MSIs are routed through the GIC-v3 ITS (msi-map) and DMA is\ntranslated by the SMMUv3 (iommu-map).\n\nSigned-off-by: Claudiu Manoil \u003cclaudiu.manoil@nxp.com\u003e\nLink: https://patch.msgid.link/d5ada3955de2cc5a68194e165ffb84deef45c144.1794581338.git.claudiu.manoil@nxp.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "24579bb24660a548bfe7c28c784b81a64b9b6c54",
      "tree": "9efe2c0cde4eedd381e7605f5d9e55b146d61d3e",
      "parents": [
        "3e68d8cee653e13de8f641569db028599f56f4e5"
      ],
      "author": {
        "name": "Claudiu Manoil",
        "email": "claudiu.manoil@nxp.com",
        "time": "Fri Nov 13 17:02:34 2026 +0200"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 19:04:53 2026 -0800"
      },
      "message": "net: enetc: Enable probing of version 4.4 devices\n\nThis commit adds driver data and platform info entries for ENETC v4.4 PF\nand VF devices on S32N79 SoCs with a 500 MHz system clock frequency.\n\nThe ENETC v4.4 devices are present on S32N79 SoCs and feature only\nPseudo-MAC ENETC ports, whose PFs use either the 0xe101 or the 0xe110\nPCI device ID, and the VFs answer to the usual device ID of 0xef00.\n\nWhile the ENETC PF instances are usually designated by the 0xe101 ID,\nin newer IP versions the 0xe110 ID was introduced to indicate the\npower-on reset default NETC switch management interface. These IDs\ndo not indicate any functional difference between the designated\nENETC instances, and can be interchanged and re-assigned at boot time\n(i.e. from firmware).\n\nSigned-off-by: Claudiu Manoil \u003cclaudiu.manoil@nxp.com\u003e\nReviewed-by: Simon Horman \u003chorms@kernel.org\u003e\nLink: https://patch.msgid.link/d783ccebf4b38bfd1e2ede44c36682269a5bc68e.1794581338.git.claudiu.manoil@nxp.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "3e68d8cee653e13de8f641569db028599f56f4e5",
      "tree": "c7525c8fd7416a31c719631d79e8aa30d882087b",
      "parents": [
        "683068cdb9cf254dea72a798fdef4bf13ac6f0a7"
      ],
      "author": {
        "name": "Claudiu Manoil",
        "email": "claudiu.manoil@nxp.com",
        "time": "Fri Nov 13 17:02:33 2026 +0200"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 19:04:53 2026 -0800"
      },
      "message": "net: enetc: Allocate int_vector array dynamically\n\nThe number of Rx/Tx ring interrupt vectors, priv-\u003ebdr_int_num, is set\nin enetc_init_si_rings_params() to the lesser of the number of online\nCPUs and the number of Rx rings of the station interface. The\nint_vector[] array in struct enetc_ndev_priv, however, has a fixed\nsize of ENETC_MAX_BDR_INT (6), a limit that dates back to the maximum\nCPU count of the SoCs integrating ENETC at the time.\n\nThat assumption does not hold for S32N79, which has 8 CPUs and gives\nthe ENETC PF up to 8 Rx rings. There, bdr_int_num can reach 8, and\nenetc_alloc_msix() writes priv-\u003eint_vector[i] past the end of the\narray, corrupting the adjacent fields of the netdev private area.\nNo SoC currently supported upstream exceeds 6 vectors, so this is not\nreachable today; it must be fixed before S32N79 devices can be enabled\nby a following patch.\n\nAllocate int_vector[] with devm_kcalloc() in enetc_alloc_msix(), once\nbdr_int_num is known. The memory is released together with the PCI\ndevice, so no explicit free is needed on the error or teardown paths.\nThis is common code, so the PF and VF drivers benefit alike. Drop the\nENETC_MAX_BDR_INT define, which only existed to size this array.\n\nSigned-off-by: Claudiu Manoil \u003cclaudiu.manoil@nxp.com\u003e\nReviewed-by: Simon Horman \u003chorms@kernel.org\u003e\nLink: https://patch.msgid.link/8026b245b4ef8e5a4af7bb8f38e4329a9ee9caad.1794581338.git.claudiu.manoil@nxp.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "683068cdb9cf254dea72a798fdef4bf13ac6f0a7",
      "tree": "ffedcb0da4b2452ece673b7d943494e6391af3f1",
      "parents": [
        "42b2abae1fd68423790d2e9dc851c095c067ba4b"
      ],
      "author": {
        "name": "Claudiu Manoil",
        "email": "claudiu.manoil@nxp.com",
        "time": "Fri Nov 13 17:02:32 2026 +0200"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 19:04:53 2026 -0800"
      },
      "message": "net: enetc: Add pseudo-MAC support for ENETCv4 Ports via a fixed-link node\n\nENETCv4 has special internal links when connected to the on-chip NETC\nswitch via internal switch ports, called pseudo-MAC links. These\npseudo-MACs are proprietary, they don\u0027t implement any standard IEEE\ninterface (like MII), and can be modeled as fixed links with the link\nspeed determined at boot time by the Port PCR[PSPEED] register\nconfiguration.\n\nWe also need to be able to probe the ENETCv4 Ports featuring pseudo-MACs\nas pure PCI devices, i.e. without any \"ethernet\" DT node representation.\nThe typical use case for this consists in a board with NETC connected\nvia PCI to another host which probes the ENETC. Note that in this\nscenario, the pseudo-MAC ENETCs are connected internally to a NETC\nswitch that is not owned by Linux.\n\nSince such a port has no \"ethernet\" DT node, its fixed link has to be\nsynthesized at probe time. Build the fixed-link subnode directly in C\nwith an of_changeset: of_changeset_create_node() adds a \"fixed-link\"\nnode onto the port\u0027s own OF node, and of_changeset_add_prop_*() populate\nits \"speed\" and \"full-duplex\" properties. The changeset is applied with\nof_changeset_apply(), so the fixed-link node is spliced onto the ENETC\nnetdev\u0027s fwnode exactly as if it had come from static DT, and phylink\npicks it up through dev_fwnode().\n\nThe operating speed written into the node is read from PCR[PSPEED] at\nprobe time and mapped to a phylink-supported value, so the fixed link\nreflects the actual boot-time configuration, as long as it\u0027s a phylink\nsupported value. Otherwise, PCR[PSPEED] will be updated to the closest\nrounded down supported value.\n\nThe pseudo-MAC path is selected when the port has no OF node, or when it\nonly has the empty PCI-synthesized node (OF_DYNAMIC), which carries no\nfixed-link description. Ports described by static DT take the regular\nof_get_phy_mode() path instead.\n\nBuilding the fixed-link node requires the of_changeset API, which is only\navailable with CONFIG_OF_DYNAMIC, so select it. As OF_DYNAMIC itself\ndepends on OF, make NXP_ENETC4 depend on OF as well, rather than force\nOF_DYNAMIC on without the core OF code being built.\n\nThe changeset is reverted and destroyed on teardown and on the probe\nerror unwind. The node-less pseudo-MAC path has a runtime dependency on\nCONFIG_PCI_DYNAMIC_OF_NODES: that is what makes the PCI core synthesize\nthe per-function OF node (of_pci_make_dev_node()) that the fixed-link\nnode is attached onto. This is intentionally not a hard Kconfig\ndependency, since the ENETC4 driver also serves regular ports described\nby static DT; when PCI_DYNAMIC_OF_NODES is absent the PCI function has no\nof_node and the pseudo-MAC probe path fails gracefully with a clear\n-ENODEV error.\n\nSigned-off-by: Claudiu Manoil \u003cclaudiu.manoil@nxp.com\u003e\nReviewed-by: Simon Horman \u003chorms@kernel.org\u003e\nLink: https://patch.msgid.link/4f51bfd237fa584c7d9187d7b82f36e261853ea3.1794581338.git.claudiu.manoil@nxp.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "42b2abae1fd68423790d2e9dc851c095c067ba4b",
      "tree": "ce208df061340dfe6676c3eeb7ad50ff48b97d2a",
      "parents": [
        "015ec2bbb2c76c238a6f65ddfa085f5409bd0c4d",
        "4fdc7da7e13d18ad55954c0c2061e299f724f9ef"
      ],
      "author": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 19:00:03 2026 -0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 19:00:04 2026 -0800"
      },
      "message": "Merge branch \u0027add-ethernet-support-for-the-amlogic-t7\u0027\n\nLucas Tanure says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\nAdd ethernet support for the Amlogic T7\n\nThe T7 has the same ethernet glue as the G12A. This adds the binding,\nthe driver support and the device tree nodes, and enables the port on\nthe Khadas VIM4.\n\nTwo clocks are new. The pipeline stage between the controller and the\nDRAM has its own gate, which nothing else claims. The glue registers\nsit in a block gated by sys_ethphy, so far claimed only by the MDIO\nmux, which probes after the glue is programmed: every write to\nPRG_ETH0/1 was lost. The T7 node lists that clock as \"pclk\".\n\nThe delays follow ethernet-controller.yaml: phy-mode is never changed,\nthe PHY adds the 2ns, and the T7 accepts only rx-internal-delay-ps, as\nfine tuning. Its TX side is a quarter-period phase selector with no\nsmall step, so tx-internal-delay-ps is not valid for it. The VIM4 is\nplain rgmii-id.\n\nTested on v7.4-rc2 on the Khadas VIM4: 942/940Mbit/s with iperf3, no\nerror.\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261113121852.334604-1-tanure@linux.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "4fdc7da7e13d18ad55954c0c2061e299f724f9ef",
      "tree": "ce208df061340dfe6676c3eeb7ad50ff48b97d2a",
      "parents": [
        "c4c851a3325e5224d2e611bea5068dc90829db00"
      ],
      "author": {
        "name": "Lucas Tanure",
        "email": "tanure@linux.com",
        "time": "Fri Nov 13 12:18:49 2026 +0000"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:59:59 2026 -0800"
      },
      "message": "net: stmmac: dwmac-meson8b: follow the generic RGMII delay rules on the T7\n\nThe delay code reads phy-mode as the list of delays this glue has to\nadd, falls back to a 2ns transmit delay when no property asks for one,\nand takes the vendor delay properties. ethernet-controller.yaml says\nthe opposite: the PHY adds the 2ns delays, and the MAC properties only\nhold small fine tuning added on top. Every board in the tree depends on\nthe old reading, so it stays as it is.\n\nNo T7 board uses this glue yet, so the T7 gets a path of its own that\nfollows the generic rules: the receive delay line is fine tuning in\n200ps steps, and the transmit side, a quarter-period phase step, offers\nnone, so the transmit property is refused.\n\nReviewed-by: Andrew Lunn \u003candrew@lunn.ch\u003e\nSigned-off-by: Lucas Tanure \u003ctanure@linux.com\u003e\nReviewed-by: Martin Blumenstingl \u003cmartin.blumenstingl@googlemail.com\u003e\nReviewed-by: Maxime Chevallier \u003cmaxime.chevallier@bootlin.com\u003e\nLink: https://patch.msgid.link/20261113121852.334604-5-tanure@linux.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "c4c851a3325e5224d2e611bea5068dc90829db00",
      "tree": "4c8685c1d6c84f558757f620d83d96155c2a0b15",
      "parents": [
        "18029931478bc9287d7bdc7aa344c19b00a61d38"
      ],
      "author": {
        "name": "Lucas Tanure",
        "email": "tanure@linux.com",
        "time": "Fri Nov 13 12:18:48 2026 +0000"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:59:59 2026 -0800"
      },
      "message": "net: stmmac: dwmac-meson8b: add support for the Amlogic T7\n\nThe glue registers on the T7 are laid out exactly as the G12A ones, RX\ndelay field included, so the T7 can reuse the G12A settings.\n\nWhat it does not share is how the controller reaches memory. That path\nruns through a pipeline stage with a gate of its own, and no other\ndevice has any use for that gate. Nothing claims it, so it is switched\noff as unused and a transfer that has started can never finish.\n\nWithout that gate the controller cannot do DMA at all, so it is\nrequired rather than optional: a clear probe failure beats an\nundiagnosable hang later.\n\nReviewed-by: Neil Armstrong \u003cneil.armstrong@linaro.org\u003e\nReviewed-by: Maxime Chevallier \u003cmaxime.chevallier@bootlin.com\u003e\nReviewed-by: Martin Blumenstingl \u003cmartin.blumenstingl@googlemail.com\u003e\nSigned-off-by: Lucas Tanure \u003ctanure@linux.com\u003e\nLink: https://patch.msgid.link/20261113121852.334604-4-tanure@linux.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "18029931478bc9287d7bdc7aa344c19b00a61d38",
      "tree": "c6ee68692ff7154d7433b4f2f6f54a070b92e69e",
      "parents": [
        "2297f88ce0b8b6836989ff75b5c63998f60a499c"
      ],
      "author": {
        "name": "Lucas Tanure",
        "email": "tanure@linux.com",
        "time": "Fri Nov 13 12:18:47 2026 +0000"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:59:59 2026 -0800"
      },
      "message": "dt-bindings: net: add amlogic,t7-dwmac\n\nThe T7 has the same ethernet glue as the G12A but needs two clocks of\nits own. The controller reaches memory through a pipeline stage with\nits own gate; nothing else claims it, so it is switched off as unused\nand transfers never finish. The glue registers share a gate with the\nMDIO multiplexer, which probes after the controller has programmed\nthem: the writes are lost and the port keeps the bootloader\u0027s delays.\n\nWith a newer core, a clock list of its own and delays that follow\nethernet-controller.yaml, the T7 gets a binding of its own: the PHY\nadds the 2ns, and only the receive delay line offers fine tuning, so\nonly rx-internal-delay-ps is valid here.\n\nSigned-off-by: Lucas Tanure \u003ctanure@linux.com\u003e\nAcked-by: Conor Dooley \u003cconor.dooley@microchip.com\u003e\nLink: https://patch.msgid.link/20261113121852.334604-3-tanure@linux.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "2297f88ce0b8b6836989ff75b5c63998f60a499c",
      "tree": "aa4c39c626dea0dc66f2a3d869661aea916f05a8",
      "parents": [
        "015ec2bbb2c76c238a6f65ddfa085f5409bd0c4d"
      ],
      "author": {
        "name": "Lucas Tanure",
        "email": "tanure@linux.com",
        "time": "Fri Nov 13 12:18:46 2026 +0000"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:59:59 2026 -0800"
      },
      "message": "dt-bindings: net: amlogic,meson-dwmac: list the compatible combinations\n\nThe compatible property only checks that the first entry is an Amlogic\nname and that \"snps,dwmac\" or \"snps,dwmac-3.70a\" appears somewhere in\nthe list. It cannot express which fallbacks each SoC takes, so a SoC\nbuilt on a different Synopsys core cannot be added without loosening\nthe check for every other one.\n\nList the combinations the device trees use: Meson6 falls back to\n\"snps,dwmac\" alone, the others also name the 3.70a core. The Meson8m2\nreports a 3.70a core too, so it joins that list; its dtsi gets the\nmissing entry in a separate patch. The example used a two-entry form no\ndevice tree has, so give it the Meson GXBB combination.\n\nSuggested-by: Conor Dooley \u003cconor.dooley@microchip.com\u003e\nAcked-by: Conor Dooley \u003cconor.dooley@microchip.com\u003e\nSigned-off-by: Lucas Tanure \u003ctanure@linux.com\u003e\nReviewed-by: Martin Blumenstingl \u003cmartin.blumenstingl@googlemail.com\u003e\nLink: https://patch.msgid.link/20261113121852.334604-2-tanure@linux.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "015ec2bbb2c76c238a6f65ddfa085f5409bd0c4d",
      "tree": "1dbfdb9b2d5bf52a1eed8ce2876dae74f8e0704d",
      "parents": [
        "bc84a86664ea11139c5d1a8543c6cc147d3774ce",
        "1d527d7ecfaf5cdf6cc75f94d3d8e23c0d17b537"
      ],
      "author": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:45:40 2026 -0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:45:41 2026 -0800"
      },
      "message": "Merge tag \u0027linux-can-next-for-7.5-20261119\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next\n\nMarc Kleine-Budde says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\npull-request: can-next 2026-11-19\n\nthis is a pull request of 13 patches for net-next/main.\n\nStéphane Grosjean\u0027s patch adds him as a maintainer for the PEAK-System\nCAN drivers.\n\nA patch by Sang-Heon Jeon removes a redundant NULL check before\nnetdev_hold() in the CAN RAW protocol.\n\nMagnus Aagaard Sørensen contributes a patch to remove the unused\nfunction safe_candev_priv().\n\nTriet Hoang converts several CAN drivers to DEFINE_SIMPLE_DEV_PM_OPS().\n\nWentao Liang\u0027s patch fixes a clock leak in the suni4_can driver.\n(fix clock leak, found by LLM)\n\n5 patches by Chaosheng Qu clean up the error handling for\nplatform_get_irq() in several CAN drivers.\n(fix error handling, found by LLM, but not been seen in real world\n systems)\n\nOliver Hartkopp\u0027s patch removes the obsolete Softing CANcard driver.\n\nA patch by Hemanth Selam removes a repeated word in a comment in the\nucan driver.\n\nThe last patch is by Maximilian Zimmermann and sets CAN FD related\nflags on received frames in the xilinx_can driver.\n(fix a real problem, can be seen in production system)\n\n* tag \u0027linux-can-next-for-7.5-20261119\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next:\n  can: xilinx_can: set CAN FD flags on received frames\n  can: ucan: fix repeated word \u0027is\u0027 in comment\n  can: remove Softing CANcard driver\n  can: ifi_canfd: don\u0027t discard the IRQ lookup error in probe\n  can: janz-ican3: don\u0027t discard the IRQ lookup error in probe\n  can: at91_can: don\u0027t discard the IRQ lookup error in probe\n  can: sun4i_can: don\u0027t discard the IRQ lookup error in probe\n  can: cc770: don\u0027t discard the IRQ lookup error in probe\n  can: sun4i_can: sun4ican_probe(): fix clk leak on unbound\n  can: convert to DEFINE_SIMPLE_DEV_PM_OPS()\n  can: dev: remove unused safe_candev_priv()\n  can: raw: remove redundant NULL check before netdev_hold()\n  MAINTAINERS: add entry for PEAK-System CAN drivers\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261119220936.155728-1-mkl@pengutronix.de\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "bc84a86664ea11139c5d1a8543c6cc147d3774ce",
      "tree": "2a9b94b38ce4a4453202a931f0f83ec926c38023",
      "parents": [
        "0742ef27cd72f155e6d355d13c49133116f19c89"
      ],
      "author": {
        "name": "Prashanth Kumar KR",
        "email": "prashanthkumar.k.r@amd.com",
        "time": "Wed Nov 18 20:09:10 2026 +0530"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:42:34 2026 -0800"
      },
      "message": "MAINTAINERS: Update AMD XGBE driver maintainers\n\nRemove Raju Rangoju, who will no longer be maintaining the AMD XGBE\ndriver, and add Sarath Babu Naidu Gaddam as a maintainer to help with\nits ongoing development and maintenance.\n\nCc: Sarath Babu Naidu Gaddam \u003cSarathBabuNaidu.Gaddam@amd.com\u003e\nSigned-off-by: Prashanth Kumar KR \u003cprashanthkumar.k.r@amd.com\u003e\nLink: https://patch.msgid.link/20261118143910.3573840-1-prashanthkumar.k.r@amd.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "0742ef27cd72f155e6d355d13c49133116f19c89",
      "tree": "5db2e798864083982cb56c43dba662993827ad09",
      "parents": [
        "f69dfe5940533c7f6b259829ad205b3556169b1d"
      ],
      "author": {
        "name": "Francesco Dolcini",
        "email": "francesco.dolcini@toradex.com",
        "time": "Mon Nov 16 11:16:44 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:23:48 2026 -0800"
      },
      "message": "net: pcs: xpcs: add 10000baseCR_Full to 10GBASE-R link modes\n\nAn SFP+ direct attach cable is reported by the SFP layer as\n10000baseCR_Full, and this link mode is missing from the 10GBASE-R\nsupported list, therefore xpcs_validate() masks it away and the\n10GBASE-R interface cannot be used with such a cable.\n\nSigned-off-by: Francesco Dolcini \u003cfrancesco.dolcini@toradex.com\u003e\nReviewed-by: Andrew Lunn \u003candrew@lunn.ch\u003e\nLink: https://patch.msgid.link/20261116101644.83097-1-francesco@dolcini.it\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "f69dfe5940533c7f6b259829ad205b3556169b1d",
      "tree": "eda5b714f2e78d42c5e404312d6a5efba69a7dfc",
      "parents": [
        "aeeef96bec39804e44b9a1979df7d5df6179c226"
      ],
      "author": {
        "name": "Ethan Ferguson",
        "email": "ethanf108@gmail.com",
        "time": "Mon Nov 16 12:55:04 2026 -0500"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:22:25 2026 -0800"
      },
      "message": "net: remove CONFIG_NETDEVICES requirement for SO_BINDTODEVICE and SO_BINDTOIFINDEX\n\nThe SO_BINDTODEVICE and SO_BINDTOIFINDEX sockopts return -ENOPROTOOPT\nif CONFIG_NETDEVICES is disabled, but the lo interface still exists.\nI believe that these sockopts should not fail on the lo device just\nbecause there are no other net devices.\n\nSigned-off-by: Ethan Ferguson \u003cethanf108@gmail.com\u003e\nLink: https://patch.msgid.link/20261116175504.15295-1-ethanf108@gmail.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "aeeef96bec39804e44b9a1979df7d5df6179c226",
      "tree": "49819b30971bdbcbf023c9a3a70a109314238662",
      "parents": [
        "f2f0bb348cf418c1589d068b6a98e18923351d85",
        "8acc01b5b851e2b0e27c3a9b177eabb07a8f5c1a"
      ],
      "author": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:17:30 2026 -0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:17:30 2026 -0800"
      },
      "message": "Merge branch \u0027ipv4-restrict-on-link-fallback-to-lookup-misses\u0027\n\nLiam Smith says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\nipv4: restrict on-link fallback to lookup misses\n\nFrom: Liam Smith \u003cliamsmith827@proton.me\u003e\n\nWhen an output interface is specified (e.g., using SO_BINDTODEVICE,\nIP_UNICAST_IF or IP_PKTINFO) and the FIB lookup fails, the IPv4 output\npath ignores the error and constructs an on-link route via the\nspecified interface. According to the comment above the code, the\nintent was to allow sending packets via an interface that does not have\nany routes.\n\nHowever, the error code is not checked, so the fallback is also taken\nwhen the lookup hits an unreachable, blackhole or prohibit route/rule.\nIn other words, these routes and rules are ignored when an output\ninterface is specified [1].\n\nThis is a problem for Android, which implements its VPN \"kill switch\"\nusing prohibit rules, with the expectation that packets hitting such\nrules are never transmitted. Unprivileged applications can bind a\nsocket to an interface and trivially bypass the VPN. This is especially\nbad on cellular interfaces where neighbor resolution is not needed, so\npackets can reach any destination and not only on-link ones.\n\nSolve this by only taking the fallback when the lookup did not match\nany route (i.e., a miss) and returning the error to the caller\notherwise [2].\n\nIt is currently impossible to distinguish between a miss and an\nunreachable rule since they both return the same error (-ENETUNREACH).\nTherefore, patch #1 adds a lookup flag that makes the lookup return a\ndifferent error upon a miss and patch #2 uses it to restrict the\nfallback. Patch #3 adjusts the selftests and patch #4 updates the\ncomment above the fallback.\n\nAfter the change, a packet that was previously transmitted on-link\ndespite hitting one of these routes/rules is no longer transmitted and\nan error is returned to user space instead. It is unlikely that anyone\nis relying on the current behavior:\n\n1. It is a side effect of not checking the error code and it contradicts\nip-route(8) and ip-rule(8), which document these routes and rules as\ndropping packets or generating an error.\n\n2. These routes and rules are already honored when the output interface\nis a VRF device or enslaved to one.\n\n3. These rules are already honored by IPv6, which does not have such a\nfallback.\n\nThe following is unchanged:\n\n1. Packets can still be sent via the specified interface when the\nlookup does not match any route, which is the original use case.\n\n2. The fallback is still always taken for multicast packets. The\nprecedent in ip_route_output_key_hash_rcu() is to not enforce\nrestriction rule/routes on oif-bound multicast, so that precedent should\nbe followed here too.\n\n[1]\n # ip link add name dummy1 up type dummy\n # ip address add 192.0.2.1/24 dev dummy1\n # ip rule add to 198.51.100.1 prohibit\n # ip route get 198.51.100.1\n RTNETLINK answers: Permission denied\n # ip route get 198.51.100.1 oif dummy1\n 198.51.100.1 dev dummy1 src 192.0.2.1 uid 0\n     cache\n\n[2]\n # ip route get 198.51.100.1 oif dummy1\n RTNETLINK answers: Permission denied\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261116202741.13106-1-liamsmith827@grapheneos.org\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "8acc01b5b851e2b0e27c3a9b177eabb07a8f5c1a",
      "tree": "49819b30971bdbcbf023c9a3a70a109314238662",
      "parents": [
        "854ec14f9360e6b4bac6ce86816bd9aa93db64fa"
      ],
      "author": {
        "name": "Liam Smith",
        "email": "liamsmith827@proton.me",
        "time": "Mon Nov 16 20:27:41 2026 +0000"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:17:28 2026 -0800"
      },
      "message": "ipv4: replace obsolete routing comment\n\nReplace an existing comment which describes obsolete fib_lookup(),\nMSG_DONTROUTE and IPv6 behavior.\n\nSigned-off-by: Liam Smith \u003cliamsmith827@proton.me\u003e\nReviewed-by: Ido Schimmel \u003cidosch@nvidia.com\u003e\nLink: https://patch.msgid.link/20261116202741.13106-5-liamsmith827@grapheneos.org\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "854ec14f9360e6b4bac6ce86816bd9aa93db64fa",
      "tree": "0658e3be85ca59a343a481aaf01edfec527692ef",
      "parents": [
        "67de0b38f68ae3fb6880f61c1e99faae484d8d7c"
      ],
      "author": {
        "name": "Liam Smith",
        "email": "liamsmith827@proton.me",
        "time": "Mon Nov 16 20:27:40 2026 +0000"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:17:27 2026 -0800"
      },
      "message": "selftests: net: test restricted on-link fallback\n\nFollowing the previous patch, the on-link fallback is no longer taken\nwhen the FIB lookup hits an unreachable, blackhole or prohibit route/\nrule. Adjust the IPv4 tests accordingly:\n\n1. ipv4_ping_novrf(): Pinging a loopback address while bound to a\ndevice now fails with an error instead of timing out, since the lookup\nhits the unreachable default route. Adjust the expected return code.\n\n2. ipv4_ping_novrf(): Add a variant of the above without the\nunreachable default route, to make sure that the fallback is still\ntaken upon a route miss.\n\n3. ipv4_ping_novrf(): Add a test that demonstrates ping fails as\nexpected with an unreachable rule. This ensures FIB_LOOKUP_REPORT_MISS\ndoes not break this behavior.\n\n4. ipv4_ping_novrf(): Enable the device bind test cases that were\ncommented out because of the fallback (prohibit rule, unreachable route\nand unreachable default route).\n\n5. ipv4_udp_novrf(): Connecting to a loopback address while bound to a\ndevice now fails with an error instead of timing out. Adjust the\nexpected return code.\n\nWith the exception of the route miss and unreachable ping test cases,\nwhich are specific to IPv4, the IPv4 test cases are now aligned with\ntheir IPv6 counterparts.\n\nSigned-off-by: Liam Smith \u003cliamsmith827@proton.me\u003e\nReviewed-by: Ido Schimmel \u003cidosch@nvidia.com\u003e\nLink: https://patch.msgid.link/20261116202741.13106-4-liamsmith827@grapheneos.org\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "67de0b38f68ae3fb6880f61c1e99faae484d8d7c",
      "tree": "bda1fe91a147e6a851bb7e4544aad45dad53708f",
      "parents": [
        "ebcfb8e2404470227ea59751b43c6201811a4aae"
      ],
      "author": {
        "name": "Liam Smith",
        "email": "liamsmith827@proton.me",
        "time": "Mon Nov 16 20:27:39 2026 +0000"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:17:27 2026 -0800"
      },
      "message": "ipv4: restrict on-link fallback to lookup misses\n\nFor non-vrf unicast, the on-link fallback currently occurs regardless of\nthe particular error returned by fib_lookup(). As a result, routes and\nrules that are supposed to restrict traffic (blackhole, prohibit,\nunreachable) are unable to do so comprehensively.\n\nA specific example of this being a problem is within Android, where the\nVPN \"kill switch\" is implemented with prohibit rules. Any process that\ncan set flowi4_oif (SO_BINDTODEVICE, IP_UNICAST_IF, IP_PKTINFO, etc.) is\nable to utilize this fallback, meaning unprivileged Android apps can\ntrivially bypass the VPN. This is particularly bad on cellular networks,\nwhere ARP is often not needed.\n\nRestrict the fallback to routing lookup misses.\n\nThis was originally observed on an Android device, by way of packet\ncapture.\n\nTested fcnal-test.sh in UML with CONFIG_IP_MULTIPLE_TABLES both enabled\nand disabled.\n\nSigned-off-by: Liam Smith \u003cliamsmith827@proton.me\u003e\nReviewed-by: Ido Schimmel \u003cidosch@nvidia.com\u003e\nFixes: 1da177e4c3f4 (\"Linux-2.6.12-rc2\")\nLink: https://patch.msgid.link/20261116202741.13106-3-liamsmith827@grapheneos.org\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "ebcfb8e2404470227ea59751b43c6201811a4aae",
      "tree": "d567db8882f95ad213feb5a4ab8c04a3d729e331",
      "parents": [
        "f2f0bb348cf418c1589d068b6a98e18923351d85"
      ],
      "author": {
        "name": "Liam Smith",
        "email": "liamsmith827@proton.me",
        "time": "Mon Nov 16 20:27:38 2026 +0000"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:17:27 2026 -0800"
      },
      "message": "ipv4: add FIB_LOOKUP_REPORT_MISS\n\nCurrently, fib_lookup() returns -ENETUNREACH for both a routing lookup\nmiss and an unreachable rule. These two cases must be distinguishable to\nfacilitate a fallback that only occurs when there\u0027s a miss.\n\nAdd a new FIB_LOOKUP flag that instructs lookups to return -ESRCH when\nthere\u0027s a miss.\n\nSigned-off-by: Liam Smith \u003cliamsmith827@proton.me\u003e\nReviewed-by: Ido Schimmel \u003cidosch@nvidia.com\u003e\nLink: https://patch.msgid.link/20261116202741.13106-2-liamsmith827@grapheneos.org\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "f2f0bb348cf418c1589d068b6a98e18923351d85",
      "tree": "119a6a5576ea5c0e466dc9c728ab278e61128b85",
      "parents": [
        "2cb41b6bea6202a64678ebc652bb88ba5df7c9dd",
        "88c1e8ba30249470bf520ffe32936ddb77ef3eb5"
      ],
      "author": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:16:00 2026 -0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:16:01 2026 -0800"
      },
      "message": "Merge branch \u0027net-annotate-data-races-around-sysctl-knobs\u0027\n\nJiayuan Chen says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\nnet: annotate data-races around sysctl knobs\n\nThis series annotates data races around a few sysctl knobs under net/.\nThey are read without any lock while their handlers update them with\nWRITE_ONCE(), so add READ_ONCE() to the readers, and WRITE_ONCE() to the\nhandlers and netlink paths that store to the same fields with plain\nwrites.\n\nThere are no Fixes tags. Done one knob per patch this would be well over\na hundred commits, so I grouped them by subsystem and feature instead to\nkeep the review manageable. If maintainers prefer, I can split it up\nfurther with a Fixes tag on each one, as several smaller series.\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261118045137.174026-1-jiayuan.chen@linux.dev\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "88c1e8ba30249470bf520ffe32936ddb77ef3eb5",
      "tree": "119a6a5576ea5c0e466dc9c728ab278e61128b85",
      "parents": [
        "89452de7ed3d75f9fe3464cdab83f90ecf2c0e73"
      ],
      "author": {
        "name": "Jiayuan Chen",
        "email": "jiayuan.chen@linux.dev",
        "time": "Wed Nov 18 12:51:20 2026 +0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:15:30 2026 -0800"
      },
      "message": "net/smc: annotate data-races around smc sysctls\n\nautocorking_size, smcr_buf_type, smcr_max_links_per_lgr,\nsmcr_max_conns_per_lgr and limit_smc_hs are read without any lock while\ntheir sysctl handlers update them with WRITE_ONCE(), and the SMC netlink\nhandlers toggle limit_smc_hs with plain writes. Add READ_ONCE() to the\nreaders and WRITE_ONCE() to those handlers.\n\nSigned-off-by: Jiayuan Chen \u003cjiayuan.chen@linux.dev\u003e\nAcked-by: Dust Li \u003cdust.li@linux.alibaba.com\u003e\nReviewed-by: Sidraya Jayagond \u003csidraya@linux.ibm.com\u003e\nLink: https://patch.msgid.link/20261118045137.174026-6-jiayuan.chen@linux.dev\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "89452de7ed3d75f9fe3464cdab83f90ecf2c0e73",
      "tree": "41804d8758e556714ef144920032655fa3c5872f",
      "parents": [
        "9b01b1ed4b274b85d727c7f63fe2843be4ac650e"
      ],
      "author": {
        "name": "Jiayuan Chen",
        "email": "jiayuan.chen@linux.dev",
        "time": "Wed Nov 18 12:51:19 2026 +0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:15:30 2026 -0800"
      },
      "message": "rds: annotate data-races around core rds sysctls\n\nreconnect_min_delay_ms, reconnect_max_delay_ms, max_unacked_packets,\nmax_unacked_bytes and ping_enable are read without any lock while their\nsysctl handlers update them with WRITE_ONCE(). Add READ_ONCE() to the\nreaders.\n\nSigned-off-by: Jiayuan Chen \u003cjiayuan.chen@linux.dev\u003e\nReviewed-by: Simon Horman \u003chorms@kernel.org\u003e\nLink: https://patch.msgid.link/20261118045137.174026-5-jiayuan.chen@linux.dev\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "9b01b1ed4b274b85d727c7f63fe2843be4ac650e",
      "tree": "da974c31cca635d05c142cca8ce3f2f50e79f96e",
      "parents": [
        "74a8695588fd3368cd176feb4d420ff0289b7308"
      ],
      "author": {
        "name": "Jiayuan Chen",
        "email": "jiayuan.chen@linux.dev",
        "time": "Wed Nov 18 12:51:18 2026 +0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:15:29 2026 -0800"
      },
      "message": "mptcp: annotate data-races around pernet sysctls\n\nenabled, add_addr_timeout, checksum_enabled, allow_join_initial_addr_port,\nstale_loss_cnt, close_timeout, pm_type and syn_retrans_before_tcp_fallback\nare read by their ctrl.c helpers without any lock while the sysctl\nhandlers update them with WRITE_ONCE(), and the path_manager handler\nstores pm_type with a plain write. Add READ_ONCE() to the readers and\nWRITE_ONCE() to that handler.\n\nKCSAN reports it when net.mptcp.enabled is changed while MPTCP sockets\nare being created:\n\n  BUG: KCSAN: data-race in mptcp_is_enabled / proc_dou8vec_minmax\n\n  write (marked) to 0xffff8d724248abc9 of 1 bytes by task 733 on cpu 3:\n   proc_dou8vec_minmax+0x1ab/0x1f0\n   proc_sys_call_handler+0x282/0x3a0\n   proc_sys_write+0x13/0x20\n   ...\n\n  read to 0xffff8d724248abc9 of 1 bytes by task 735 on cpu 1:\n   mptcp_is_enabled+0x33/0x50\n   mptcp_init_sock+0x35/0x300\n   inet_create+0x4a6/0x8e0\n   ...\n\n  value changed: 0x00 -\u003e 0x01\n\nSigned-off-by: Jiayuan Chen \u003cjiayuan.chen@linux.dev\u003e\nReviewed-by: Matthieu Baerts (NGI0) \u003cmatttbe@kernel.org\u003e\nLink: https://patch.msgid.link/20261118045137.174026-4-jiayuan.chen@linux.dev\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "74a8695588fd3368cd176feb4d420ff0289b7308",
      "tree": "c11daa7d44330e2f84c7293fd0dcbeb775489196",
      "parents": [
        "871c4d55bcc2e0ed5cd4d91fcd75a590654fd206"
      ],
      "author": {
        "name": "Jiayuan Chen",
        "email": "jiayuan.chen@linux.dev",
        "time": "Wed Nov 18 12:51:17 2026 +0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:15:29 2026 -0800"
      },
      "message": "ipv6: annotate data-races around icmpv6 reply sysctls\n\nicmpv6_echo_ignore_all, icmpv6_echo_ignore_multicast,\nicmpv6_echo_ignore_anycast, anycast_src_echo_reply and fwmark_reflect are\nread without any lock while their sysctl handlers update them with\nWRITE_ONCE(). Add READ_ONCE() to the readers.\n\nKCSAN reports it when net.ipv6.icmp.echo_ignore_all is changed while\nICMPv6 echo requests are received:\n\n  BUG: KCSAN: data-race in icmpv6_rcv / proc_dou8vec_minmax\n\n  write (marked) to 0xffffffff8ee2940d of 1 bytes by task 504 on cpu 0:\n   proc_dou8vec_minmax+0x1ab/0x1f0\n   proc_sys_call_handler+0x282/0x3a0\n   proc_sys_write+0x13/0x20\n   ...\n\n  read to 0xffffffff8ee2940d of 1 bytes by interrupt on cpu 3:\n   icmpv6_rcv+0x99d/0xd40\n   ip6_protocol_deliver_rcu+0x787/0x9a0\n   ip6_input_finish+0xb0/0x1b0\n   ip6_input+0xa8/0x250\n   ipv6_rcv+0x14b/0x1c0\n   __netif_receive_skb_one_core+0x8f/0xe0\n   ...\n\n  value changed: 0x01 -\u003e 0x00\n\nSigned-off-by: Jiayuan Chen \u003cjiayuan.chen@linux.dev\u003e\nReviewed-by: Simon Horman \u003chorms@kernel.org\u003e\nLink: https://patch.msgid.link/20261118045137.174026-3-jiayuan.chen@linux.dev\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "871c4d55bcc2e0ed5cd4d91fcd75a590654fd206",
      "tree": "250318ccdec9946404c3aa2757a4138e158ad7ef",
      "parents": [
        "2cb41b6bea6202a64678ebc652bb88ba5df7c9dd"
      ],
      "author": {
        "name": "Jiayuan Chen",
        "email": "jiayuan.chen@linux.dev",
        "time": "Wed Nov 18 12:51:16 2026 +0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:15:29 2026 -0800"
      },
      "message": "inet: frags: annotate data-races around fqdir-\u003etimeout and fqdir-\u003emax_dist\n\nfqdir-\u003etimeout and fqdir-\u003emax_dist are read without any lock while their\nsysctl handlers update them with WRITE_ONCE(). Add READ_ONCE() to the\nreaders.\n\nSigned-off-by: Jiayuan Chen \u003cjiayuan.chen@linux.dev\u003e\nReviewed-by: Simon Horman \u003chorms@kernel.org\u003e\nLink: https://patch.msgid.link/20261118045137.174026-2-jiayuan.chen@linux.dev\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "2cb41b6bea6202a64678ebc652bb88ba5df7c9dd",
      "tree": "7bc5ebb3681e509903d9e64799420dfeaec4d555",
      "parents": [
        "82fa1bd423d7eb1a917a787bb9ee3359d552f882"
      ],
      "author": {
        "name": "Jiayuan Chen",
        "email": "jiayuan.chen@linux.dev",
        "time": "Wed Nov 18 15:05:19 2026 +0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:07:14 2026 -0800"
      },
      "message": "net: dropreason: add SKB_DROP_REASON_FRAG_MEM_LIMIT\n\nThis is used to track fragments dropped when the reassembly memory is\nover the limit (ipfrag_high_thresh, ip6frag_high_thresh).\n\nFragments dropped because high_thresh is 0 get this reason too, the\nsame way they are counted in IPSTATS_MIB_REASMFAILS.\n\nTested with pwru.\n\nBefore:\n\n... PROTO  MTU   LEN   FUNC\n... 0x0800 65536 1500  ip_defrag\n... 0x0800 65536 548   ip_defrag\n... 0x0800 65536 548   sk_skb_reason_drop(SKB_DROP_REASON_NOT_SPECIFIED)\n\nAfter:\n\n... PROTO  MTU   LEN   FUNC\n... 0x0800 65536 1500  ip_defrag\n... 0x0800 65536 548   ip_defrag\n... 0x0800 65536 548   sk_skb_reason_drop(SKB_DROP_REASON_FRAG_MEM_LIMIT)\n\nSigned-off-by: Jiayuan Chen \u003cjiayuan.chen@linux.dev\u003e\nReviewed-by: Eric Dumazet \u003cedumazet@kernel.org\u003e\nLink: https://patch.msgid.link/20261118070524.310356-1-jiayuan.chen@linux.dev\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "82fa1bd423d7eb1a917a787bb9ee3359d552f882",
      "tree": "6ab5ed1541dc4cbcbee50a6c1732e56680ef6cac",
      "parents": [
        "d3f362a76211dbf5ac04606cb089592cdb707b9e",
        "e2c4b4b08e96e8ada2674ce26ff9e4abc33897bb"
      ],
      "author": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:05:16 2026 -0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:05:17 2026 -0800"
      },
      "message": "Merge tag \u0027batadv-next-pullrequest-20261114\u0027 of https://git.open-mesh.org/batadv\n\nSimon Wunderlich says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\nThis cleanup patchset includes the following patches, all by\nSven Eckelmann:\n\n- use dedicated key types for various hashes (4 patches)\n\n- pass explicit key and update documentation (2 patches)\n\n- consolidate skb consumption (4 patches)\n\n- increase hash generation when purging entries (4 patches)\n\n- annotate functions returning objects with __must_check\n\n* tag \u0027batadv-next-pullrequest-20261114\u0027 of https://git.open-mesh.org/batadv:\n  batman-adv: annotate functions returning objects with __must_check\n  batman-adv: increase orig hash generation when purging originators\n  batman-adv: bla: increase hash generation when purging entries\n  batman-adv: dat: increase hash generation when purging entries\n  batman-adv: tt: increase hash generation when purging clients\n  batman-adv: document skb ownership of always-consuming functions\n  batman-adv: split fragment forwarding into lookup and forward\n  batman-adv: always consume skb in batadv_forw_packet_alloc()\n  batman-adv: never consume skb in BLA rx and DAT incoming snooping\n  batman-adv: hash: document key argument of hash operations\n  batman-adv: originator: pass explicit key to orig_hash\n  batman-adv: tt: use dedicated key type for hashes\n  batman-adv: dat: use dedicated key type for DAT hash\n  batman-adv: bla: use dedicated key type for backbone gateway hash\n  batman-adv: bla: use dedicated key type for claim hash\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261114091556.3336038-1-sw@simonwunderlich.de\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "d3f362a76211dbf5ac04606cb089592cdb707b9e",
      "tree": "cb24bf42c163e932487e7305036317b06311e09f",
      "parents": [
        "ed36d92df8cefcbb04053350876efeba422195eb"
      ],
      "author": {
        "name": "Hongmei Xu",
        "email": "hongmei.xu@oss.qualcomm.com",
        "time": "Mon Nov 16 19:14:50 2026 +0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 18:03:32 2026 -0800"
      },
      "message": "net: phy: aquantia: Poll global status register for provision ID\n\nAccording to the AQR113 PHY databook, after firmware reset, a 20ms\ntimer needs to be engaged to allow the supplies to settle prior to\nallowing the PHY to boot. The working flow is:\n  -After the 20 ms timer has completed, hardware state machines\n   designed to guarantee PLL and band-gap stability engage.\n  -After the PLLs and band-gap are locked and functioning properly,\n   the processor and digital circuitry are released from reset.\n  -The PHY image is then loaded through MDIO boot-load and the\n   processor boots.\n  -After the processor boots, any provisioned register values are\n   set, and the PHY enters the provisioned operating state.\n\nStarting subsequent firmware operations before the provision ID is\nvalid leads to steady link failures; this has been observed during\nAQR113 PHY bring-up.\n\nPoll VEND1_GLOBAL_RSVD_STAT1 on AQR113/AQR113C until the provision\nID field is non-zero before returning from aqr_wait_reset_complete().\nA timeout indicates a hardware-level provisioning failure that\nsoftware cannot remediate; the warning is logged to flag the hardware\nproblem, but probe is not failed since a timeout does not necessarily\nprevent link establishment.\n\nCo-developed-by: Sagar Cheluvegowda \u003csagar.cheluvegowda@oss.qualcomm.com\u003e\nSigned-off-by: Sagar Cheluvegowda \u003csagar.cheluvegowda@oss.qualcomm.com\u003e\nSigned-off-by: Hongmei Xu \u003chongmei.xu@oss.qualcomm.com\u003e\nReviewed-by: Andrew Lunn \u003candrew@lunn.ch\u003e\nLink: https://patch.msgid.link/20261116-aquantia-poll-global-status-register-v4-1-1b44fe85db5a@oss.qualcomm.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "ed36d92df8cefcbb04053350876efeba422195eb",
      "tree": "be6246e061819f7757af25fb148cb6d4cc870858",
      "parents": [
        "5b87a11b1547c39da01718044b9f99fd85948b9c",
        "b494a6d7da32d9cc6b4638f3f90effabc546652c"
      ],
      "author": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 17:59:04 2026 -0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 17:59:05 2026 -0800"
      },
      "message": "Merge branch \u0027mlxsw-fix-teardown-order-of-cq-napi-instances\u0027\n\nPetr Machata says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\nmlxsw: Fix teardown order of CQ NAPI instances\n\nThere are the following principal objects for processing of hardware\nevents: event queue (EQ), completion queues (CQ), and receive and send\nqueues (RDQ, SDQ). RDQ and SDQ are then configured with a CQ to which\nthey report completion, and CQ is configured with an EQ, to which it\nreports completion events. The order of configuration is therefore EQ,\nthen CQs, then RDQs and SDQs.\n\nFurther, there are NAPI contexts for processing CQ events and working\nwith either RDQ, or SDQ, a tasklet for processing EQ and scheduling\nper-CQ NAPI contexts, and an IRQ handler that schedules the tasklet.\nThe order of configuration thus must be, first the NAPI contexts\n(associated with CQs), then the tasklet (associated with the EQ), then\nthe IRQ handler.\n\nThe code however initializes the queue together with the scheduled\nentity that processes that queue, in order of the queue configuration.\nThus is the tasklet initialized prior to NAPI contexts, even though it\nrefers to these NAPIs. This is actually a problem during destruction,\nwhen the tasklet is destroyed after the queues that it refers to, and\nSDQ and RDQ are destroyed prior to the respective NAPI context that\nthey are processed by.\n\nIRQ handler is then set up as first, and torn down as last, which\nis correct.\n\nIn this patchset address the ordering issue as follows.\n\n- Patch #1 folds the current tasklet processing directly into the IRQ\n  handler. This is possible, because the amount of work is relatively\n  small and strictly bounded. The heavy lifting is done in NAPI queues\n  scheduled from this code, and the indirection through tasklet does\n  not bring much. The reason to actually do it is because it\n  simplifies the whole situation, and because the tasklet interface is\n  deprecated (see include/linux/interrupt.h).\n\n- In patch #2, per-queue start and stop callbacks are introduced.\n  These are invoked after the queues themselves are initialized (and,\n  respectively, before they are deinitialized), and are used to set up\n  the NAPI context after all relevant resources are ready, and to tear\n  them down first before tearing down the resources they consume.\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/cover.1794823524.git.petrm@nvidia.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "b494a6d7da32d9cc6b4638f3f90effabc546652c",
      "tree": "be6246e061819f7757af25fb148cb6d4cc870858",
      "parents": [
        "a467c628a7cbc48b5e62b7711ae2c36ddcb73cdd"
      ],
      "author": {
        "name": "Petr Machata",
        "email": "petrm@nvidia.com",
        "time": "Mon Nov 16 11:16:47 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 17:59:03 2026 -0800"
      },
      "message": "mlxsw: pci: Fix teardown order of CQ NAPI instances\n\nIn his report (see the link below), Myeonghun Pak \u003cmhun512@gmail.com\u003e\nwrites:\n\n\u003e mlxsw_pci_eq_irq_handler() schedules the EQ tasklet. The tasklet reads\n\u003e the EQ ring and schedules CQ NAPI instances. The CQ poll callbacks, in\n\u003e turn, dereference the RDQ or SDQ associated with the CQ.\n\u003e\n\u003e mlxsw_pci_fini() unregisters the IRQ and immediately tears down the\n\u003e asynchronous queues in RDQ, SDQ, CQ, EQ order. free_irq() waits for IRQ\n\u003e handlers, but not for a tasklet already scheduled by one. In addition,\n\u003e mlxsw_pci_cq_fini() disables each CQ NAPI only after all RDQs and SDQs\n\u003e have been freed. A pending tasklet or NAPI poll can therefore access\n\u003e freed queue storage.\n\nThe previous patch folded the tasklet into the IRQ handler, which takes\ncare of the first half of the problem: free_irq() in mlxsw_pci_fini() now\nguarantees that nothing schedules CQ NAPI instances anymore. The second\nhalf remains. A NAPI poll that was scheduled right before free_irq(), or\nis currently running, can still dereference the RDQ or SDQ of its CQ, which\nmlxsw_pci_aqs_fini() frees before the CQ, and where napi_disable() is\ncurrently called.\n\nIn this patch, introduce a process-related duals to init / fini per-queue\ncallbacks: start and stop. Only CQ needs them for now, to manage the NAPI\ninstances. Invoke them at the end of mlxsw_pci_aqs_init() and at the\nbeginning of mlxsw_pci_aqs_fini(), respectively, so that NAPI is enabled\nonly once all queues are set up, and disabled before any of them is\ndestroyed. This also keeps napi_enable() and napi_disable() paired on error\npaths of mlxsw_pci_aqs_init().\n\nIn his report, Myeonghun Pak notes that the issue was originally discovered\nby static analysis.\n\nCc: Ijae Kim \u003cae878000@gmail.com\u003e\n\nReported-by: Myeonghun Pak \u003cmhun512@gmail.com\u003e\nLink: https://lore.kernel.org/netdev/20260721125753.35944-1-mhun512@gmail.com/\nReported-by: Jiale Yao \u003cyaojiale02@163.com\u003e\nLink: https://lore.kernel.org/netdev/20261018040653.534066-1-yaojiale02@163.com/\nReviewed-by: Ido Schimmel \u003cidosch@nvidia.com\u003e\nSigned-off-by: Petr Machata \u003cpetrm@nvidia.com\u003e\nLink: https://patch.msgid.link/3a1a078f21028851b04ba4987fae490362b59cd4.1794823524.git.petrm@nvidia.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "a467c628a7cbc48b5e62b7711ae2c36ddcb73cdd",
      "tree": "8a6148ef9c3e23733058f1fc51a35c639e030608",
      "parents": [
        "5b87a11b1547c39da01718044b9f99fd85948b9c"
      ],
      "author": {
        "name": "Petr Machata",
        "email": "petrm@nvidia.com",
        "time": "Mon Nov 16 11:16:46 2026 +0100"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 17:59:02 2026 -0800"
      },
      "message": "mlxsw: pci: Process EQ in the IRQ handler instead of a tasklet\n\nmlxsw_pci_eq_irq_handler() schedules a tasklet, which then reads the EQ and\nschedules NAPI instances for the CQs that have pending events. The actual\ncompletion processing itself is done by NAPI.\n\nThe EQ processing is bounded by half of the EQ size (see credits in\nmlxsw_pci_eq_tasklet()), and all it does is to ring two doorbells and call\nnapi_schedule(), both of which are safe to do from a hard IRQ context. The\nEQ is only re-armed at the end, so the handler cannot be re-entered.\n\nThe tasklet therefore does not really serve a useful purpose: neither\nstructurally, nor with regards to permissible runtime operations, nor with\nregards to amount of time spent in IRQ. It is just an extra deferral layer.\n\nDrop the tasklet and do the work directly in the IRQ handler. Change\nnapi_schedule() to napi_schedule_irqoff() to leverage the fact that\ninterrupts are already masked.\n\nReviewed-by: Ido Schimmel \u003cidosch@nvidia.com\u003e\nSigned-off-by: Petr Machata \u003cpetrm@nvidia.com\u003e\nLink: https://patch.msgid.link/fbd58ae69e81451bbbee01c663c03d2ef72cdbb9.1794823524.git.petrm@nvidia.com\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    },
    {
      "commit": "5b87a11b1547c39da01718044b9f99fd85948b9c",
      "tree": "b5896fda3c6cf7ec35eb9c124958769f44f22a28",
      "parents": [
        "362917b0b26bd16587d41a37f5fd1c252099a73c",
        "942d862f65b945ed9dd3df9a225416e1544f8b39"
      ],
      "author": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 17:46:59 2026 -0800"
      },
      "committer": {
        "name": "Jakub Kicinski",
        "email": "kuba@kernel.org",
        "time": "Thu Nov 19 17:46:59 2026 -0800"
      },
      "message": "Merge branch \u0027virtio_net-fix-out-of-bounds-accesses-and-a-heap-info-leak-via-the-device-stats-reply\u0027\n\nLianjie Wang says:\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\nvirtio_net: fix out-of-bounds accesses and a heap info leak via the device stats reply\n\nWith the statistics reply, a device can make the driver write past the\nethtool -S output array (patch 1), leak stale heap or loop forever\n(patch 2), and read past the reply buffer (patch 3). Patch 4 returns an\nerror when the statistics command fails.\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nLink: https://patch.msgid.link/20261116092445.3391334-1-lian@is.s.u-tokyo.ac.jp\nSigned-off-by: Jakub Kicinski \u003ckuba@kernel.org\u003e\n"
    }
  ],
  "next": "942d862f65b945ed9dd3df9a225416e1544f8b39"
}
