HomeFreeBSD

if_vxlan(4): Invoke vxlan_stop event handler only when the interface is…

Description

if_vxlan(4): Invoke vxlan_stop event handler only when the interface is configured

It is harmless but pointless to invoke vxlan_stop event handler when the
interface was not previously configured. This change will also prevent
an assert panic from t4_vxlan_stop_handler().

Reviewed by: kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D48494

(cherry picked from commit 960c5bb0f6bf44aeb09fa14fd0f82c2e82ebe2e2)
(cherry picked from commit aa79996e605735dcd9b1bf83d6affefa404530d1)

Details

Provenance
zleiAuthored on Tue, Jan 21, 3:02 PM
Reviewer
kib
Differential Revision
D48494: if_vxlan(4): Stop invoking vxlan_stop event handler when the interface was not configured
Parents
rG118a280569d3: atomics: Constify loads: mips
Branches
Unknown
Tags
Unknown