There seems to be a race during shutdown where ifa->ifa_addr can become
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 20 Dec 2004 01:26:44 +0000 (01:26 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 20 Dec 2004 01:26:44 +0000 (01:26 +0000)
commit83a415f43bef3d06156f953711a62cf4180ebb5a
tree4dbcf274794b417daebd2e15746233801ed57f1b
parent7755d17295c63921bc38c005a14bc0c45a77a297
There seems to be a race during shutdown where ifa->ifa_addr can become
NULL during or just before the processing of an IP packet.  We probably need
some sort of synchronization between interface updates and the IP stack,
but for now just check for the case.

Reported-by: Jonathon McKitrick <jcm@FreeBSD-uk.eu.org>
sys/netinet/ip_input.c