[PATCH] net/netvsc: fix mtu_set in netvsc devices

Stephen Hemminger stephen at networkplumber.org
Sun Jun 30 17:40:41 CEST 2024


On Fri, 28 Jun 2024 18:35:03 +0200
Alexander Skorichenko <askorichenko at netgate.com> wrote:

> Prevent segfault in hn_reinit() caused by changing the MTU for
> an incompletely initialized device.
> 
> Signed-off-by: Alexander Skorichenko <askorichenko at netgate.com>

How do you get in that state?
Maybe the init code should set up these pointers and avoid the problem.


More information about the dev mailing list