Skip to content

Conversation

@HedongGao
Copy link
Contributor

Summary

Without making a judgment before calling the API implemented by the driver layer, there is a potential risk of crashing.
Make a legality check before calling an uncertain function.

Impact

It will enhance the robustness of the system, but will not affect its functionality.

Testing

Set up Vlan communication environment on the development board, and after modification, Ethernet communication works normally.

@github-actions github-actions bot added Area: Networking Effects networking subsystem Size: XS The size of the change in this PR is very small labels Dec 26, 2025
@linguini1
Copy link
Contributor

Testing

Set up Vlan communication environment on the development board, and after modification, Ethernet communication works normally.

Can you please show the steps you used to set up the clan and test Ethernet communication? And show what the results were before your patch?

Make a judgment before calling fuction.

Signed-off-by: gaohedong <[email protected]>
@xiaoxiang781216 xiaoxiang781216 merged commit 2922761 into apache:master Dec 27, 2025
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Networking Effects networking subsystem Size: XS The size of the change in this PR is very small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants