HomeFreeBSD

MFC r367594:

Description

MFC r367594:

Fix possible NULL pointer dereference.

lagg(4) replaces if_output method of its child interfaces and expects
that this method can be called only by child interfaces. But it is
possible that lagg_port_output() could be called by children of child
interfaces. In this case ifnet's if_lagg field is NULL. Add check that
lp is not NULL.

Details

Provenance
aeAuthored on
Parents
rS367789: Allow LinuxKPI types to be used in bootloaders, by checking for the
Branches
Unknown
Tags
Unknown