Commit 1444fe1e10 for frr

commit 1444fe1e1013aae7c976b3933215f50c0ed51155
Author: Robin Christ <r.christ@partimus.com>
Date:   Thu Nov 19 00:23:32 2026 +0100

    yang: restore the uint16 type of link-mtu

    7e568dee71 ("yang: correct link-mtu in yang file") changed link-mtu to
    uint16 together with its readers in zebra. e4a24c8657 ("yang: Update bgp
    yang files for missing cli") was based on an older tree and turned it
    back into a uint32. yang_dnode_get_uint16() asserts on the type, so
    "ipv6 nd mtu <N>" crashed zebra when applied and mgmtd when rendered.

    zebra, on applying "ipv6 nd mtu 1500":

      lib/yang_wrappers.c:527: yang_dnode_get_uint16(): assertion
      (dvalue->realtype->basetype == LY_TYPE_UINT16) failed
      ZEBRA: Received signal 6 ...; aborting...
      yang_dnode_get_uint16+0x1bb
      lib_interface_zebra_ipv6_router_advertisements_link_mtu_modify+0xad
      nb_callback_configuration+0x78d
      nb_transaction_process+0x67
      nb_candidate_commit_apply+0x33
      mgmt_be_txn_proc_cfgapply+0x208

    mgmtd, on rendering it:

      lib/yang_wrappers.c:527: yang_dnode_get_uint16(): assertion
      (dvalue->realtype->basetype == LY_TYPE_UINT16) failed
      MGMTD: Received signal 6 ...; aborting...
      yang_dnode_get_uint16+0x1bb
      lib_interface_zebra_ipv6_router_advertisements_link_mtu_cli_write+0x1e
      nb_cli_show_dnode_cmds+0x112
      mgmtd_config_write+0x50

    Signed-off-by: Robin Christ <r.christ@partimus.com>

diff --git a/yang/frr-zebra.yang b/yang/frr-zebra.yang
index 534532aa7d..d5e3e81552 100644
--- a/yang/frr-zebra.yang
+++ b/yang/frr-zebra.yang
@@ -2553,7 +2553,7 @@ module frr-zebra {
             "RFC 6275: Mobility Support in IPv6";
         }
         leaf link-mtu {
-          type uint32;
+          type uint16;
           default "0";
           description
             "The value to be placed in MTU options sent by the