HomeFreeBSD

Add NULL pointer check.

Description

Add NULL pointer check.

encap_lookup_t method can be invoked by IP encap subsytem even if none
of gif/gre/me interfaces are exist. Hash tables are allocated on demand,
when first interface is created. So, make NULL pointer check before
doing access to hash table.

PR: 229378

Details

Provenance
aeAuthored on
Parents
rS335759: Remove extra "ipfw" from example.
Branches
Unknown
Tags
Unknown