/[base]
ViewVC logotype

Revision 335760


Jump to revision: Previous Next
Author: ae
Date: Thu Jun 28 11:39:27 2018 UTC (6 years ago)
Changed paths: 5
Log Message:
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


Changed paths

Path Details
Directoryhead/sys/net/if_me.c modified , text changed
Directoryhead/sys/netinet/in_gif.c modified , text changed
Directoryhead/sys/netinet/ip_gre.c modified , text changed
Directoryhead/sys/netinet6/in6_gif.c modified , text changed
Directoryhead/sys/netinet6/ip6_gre.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27