opnsense-src/sys/dev/neta
Kornel Dulęba 108b6eb670 neta: Fix MTU change sequence
The IFF_DRV_RUNNING flag is used to see if the interface needs
to be temporarily brought down during MTU change sequence.
The problem here is that this flag is cleared in mvneta_stop_locked,
resulting in the reinitialization logic never being executed after
MTU has been changed.
Fix that by saving the flag value before the interface is brought down.

Reported by:	Jérôme Tomczyk <jerome.tomczyk@stormshield.eu>
Approved by:	mw(mentor)
Obtained from:	Semihalf
Sponsored by:	Stormshield
MFC after:	2 weeks

(cherry picked from commit 97ecdc00ac)
2022-09-01 09:14:43 +02:00
..
if_mvneta.c neta: Fix MTU change sequence 2022-09-01 09:14:43 +02:00
if_mvneta_fdt.c Implement jumbo frame support in mvneta driver 2020-02-08 13:33:47 +00:00
if_mvnetareg.h
if_mvnetavar.h neta: Fix a few common typos in a source code comment 2022-04-09 08:18:58 +02:00