Comment 0 for bug 2023620

Revision history for this message
Andrea Righi (arighi) wrote :

[Impact]

The rtl 8125 driver fails to build with linux 6.2 on jammy:

/var/lib/dkms/r8125/9.007.01/build/r8125.h:619:57: error: too many arguments to function ‘netif_napi_add’
  619 | #define RTL_NAPI_CONFIG(ndev, priv, function, weight) netif_napi_add(ndev, &priv->napi, function, weight)
      | ^~~~~~~~~~~~~~

[Test case]

 $ sudo apt install r8125-dkms

[Fix]

Backport the patch(es) from lunar to properly support the new linux 6.2 kernel ABI.

[Regression potential]

We may experience networking regressions in those systems that are using the r8125 network driver.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: r8125-dkms 9.007.01-3ubuntu0.1
ProcVersionSignature: User Name 6.2.0-23.23~22.04.1-generic 6.2.12
Uname: Linux 6.2.0-23-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Tue Jun 13 05:32:44 2023
PackageArchitecture: all
SourcePackage: r8125
UpgradeStatus: No upgrade log present (probably fresh install)