Please pull net-20250818

Jerome Forissier jerome.forissier at linaro.org
Mon Aug 18 17:02:15 CEST 2025


Hi Tom,

The following changes since commit 0c558bbad9e7581808b358091d1fd979f860e8ac:

  bootstd: rauc: Change global method to check any partition (2025-08-14 09:18:43 -0600)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-net.git/ tags/net-20250818

for you to fetch changes up to c4526c390a3c4ea1c4f244b6436ebbb74902769a:

  phy: cadence: torrent: Set an error code for return (2025-08-18 15:47:58 +0200)

----------------------------------------------------------------
Pull request net-20250818.

This is mostly code cleanup and fixes, mainly for issues reported by the
Smatch tool, plus two small features for NET_LWIP as well as support for
the BCM54612E phy.

net-common:
- Fix a bunch of issues reported by Smatch
- Introduce CONFIG_DNS
- Add support for BCM54612E phy

net-legacy:
- Add missing SPDX-License-Identifier for files originating from LiMon

net-lwip:
- ping: initialize net_try_count to 1
- sntp: remove redundant sys_check_timeouts()
- tftp: resend initial request
- Add Kconfig option to show ICMP unreachable errors

----------------------------------------------------------------
Andrew Goodbody (19):
      net: octeontx: Remove unneeded code
      net: octeontx: Remove unneeded test
      net: octeontx: Free allocated memory on error
      net: phy: vitesse: Fix incorrect test for timeout
      phy: marvell: Fix off by 1 limit checks
      phy: marvell: Cannot test unsigned field to be negative
      net: ldpaa_eth: Fix buffer overflow in memset
      net: mediatek: Use correct variable for return
      net: mv88e6xxx: Fix logical operator instead of bitwise
      net: mvpp2: Fix impossible test
      net: mvpp2: Return -ENOMEM for failed alloc
      net: mvpp2: Cannot test unsigned variable to be negative
      net: mvpp2: Use field just assigned in error test
      net: octeontx2: Restore default value for err
      net: octeontx2: NULL check before dereference
      net: cortina_ni: Fix typo accessing wrong phy
      net: ks8851_mll: Remove unreachable code
      phy: cadence: sierra: Remove variable that is not assigned to
      phy: cadence: torrent: Set an error code for return

Jerome Forissier (6):
      lwip: icmp: allow reporting ICMP destination unreachable
      net: lwip: add Kconfig option to show ICMP unreachable errors
      net: introduce CONFIG_DNS
      lwip: tftp: resend initial request
      lwip: sntp: remove redundant sys_check_timeouts()
      net: lwip: ping: set net_try_count to 1

Jim Liu (2):
      net: designware: Fix get_timer value overflow
      net: phy: broadcom: add support for BCM54612E

Max Merchel (1):
      net: add missing SPDX-License-Identifier for files originating from LiMon

 cmd/Kconfig                               |   2 +-
 cmd/lwip/dns.c                            | 108 -------------------------------------------------------------------------------------------------
 cmd/lwip/ping.c                           |   1 +
 cmd/lwip/sntp.c                           |   1 -
 doc/usage/cmd/sntp.rst                    |   8 ++++----
 doc/usage/cmd/wget.rst                    |   2 +-
 drivers/net/cortina_ni.c                  |   2 +-
 drivers/net/designware.c                  |   4 ++--
 drivers/net/ks8851_mll.c                  |   5 -----
 drivers/net/ldpaa_eth/ldpaa_eth.c         |   2 +-
 drivers/net/mtk_eth/mtk_eth.c             |   2 +-
 drivers/net/mv88e6xxx.c                   |   2 +-
 drivers/net/mvpp2.c                       |   9 ++++-----
 drivers/net/octeontx/nicvf_main.c         |  49 +++++++++++++++++++++-----------------------
 drivers/net/octeontx/smi.c                |  12 +++++++++--
 drivers/net/octeontx2/nix.c               |   2 ++
 drivers/net/octeontx2/rvu_af.c            |   2 +-
 drivers/net/phy/broadcom.c                |  37 ++++++++++++++++++++++++++++++++++
 drivers/net/phy/vitesse.c                 |   2 +-
 drivers/phy/cadence/phy-cadence-sierra.c  |  13 +++---------
 drivers/phy/cadence/phy-cadence-torrent.c |   1 +
 drivers/phy/marvell/comphy_core.c         |   4 ++--
 drivers/phy/marvell/comphy_core.h         |   4 ++--
 include/net-legacy.h                      |   5 ++---
 include/net-lwip.h                        |   2 ++
 include/net/tftp.h                        |   2 +-
 lib/lwip/lwip/src/apps/tftp/tftp.c        |  74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 lib/lwip/lwip/src/core/ipv4/icmp.c        |  17 ++++++++++++----
 lib/lwip/u-boot/arch/cc.h                 |   7 +++++++
 lib/lwip/u-boot/lwipopts.h                |   4 ++++
 net/Kconfig                               |   8 +++++++-
 net/Makefile                              |   2 +-
 net/arp.c                                 |   3 +--
 net/arp.h                                 |   3 +--
 net/bootp.c                               |   2 +-
 net/bootp.h                               |   2 +-
 net/cdp.c                                 |   3 +--
 net/cdp.h                                 |   3 +--
 net/lwip/Kconfig                          |  13 ++++++++++++
 net/lwip/Makefile                         |   2 ++
 net/lwip/dns.c                            | 113 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 net/lwip/icmp_unreach.c                   |  38 ++++++++++++++++++++++++++++++++++
 net/lwip/net-lwip.c                       |   8 ++++----
 net/net.c                                 |  13 ++++++------
 net/net_rand.h                            |   2 +-
 net/ping.c                                |   3 +--
 net/ping.h                                |   3 +--
 net/wget.c                                |   2 +-
 48 files changed, 394 insertions(+), 214 deletions(-)
 create mode 100644 net/lwip/dns.c
 create mode 100644 net/lwip/icmp_unreach.c

CI link: https://source.denx.de/u-boot/custodians/u-boot-net/-/pipelines/27402

Thanks,
-- 
Jerome


More information about the U-Boot mailing list