[PATCH 1/5] net: move net_state to net-common

Jerome Forissier jerome.forissier at linaro.org
Tue Dec 9 16:03:18 CET 2025


Hi Andrew,

On 12/8/25 13:52, Andrew Goodbody wrote:
> Move the net_state variable into common code so that it can be used by
> either the legacy network code or LWIP. This is needed for porting
> across the NFS support code for use with LWIP.
> 
> Signed-off-by: Andrew Goodbody <andrew.goodbody at linaro.org>
> ---
>  include/net-common.h | 17 +++++++++++++++++
>  include/net-legacy.h | 17 -----------------
>  net/net-common.c     |  3 +++
>  net/net.c            |  2 --
>  4 files changed, 20 insertions(+), 19 deletions(-)

I don't think this patch is needed - see my comments on "net: lwip: nfs:
Port the NFS code to work with LWIP".

Thanks,
-- 
Jerome


More information about the U-Boot mailing list