Kristof Provost c139b3c19b arp/nd: Cope with late calls to iflladdr_event
When tearing down vnet jails we can move an if_bridge out (as
part of the normal vnet_if_return()). This can, when it's clearing out
its list of member interfaces, change its link layer address.
That sends an iflladdr_event, but at that point we've already freed the
AF_INET/AF_INET6 if_afdata pointers.

In other words: when the iflladdr_event callbacks fire we can't assume
that ifp->if_afdata[AF_INET] will be set.

Reviewed by:	donner@, melifaro@
MFC after:	1 week
Sponsored by:	Orange Business Services
Differential Revision:	https://reviews.freebsd.org/D28860
2021-02-23 13:54:07 +01:00
..
2020-12-25 11:33:17 +00:00
2020-11-29 13:41:49 +00:00
2020-11-22 20:21:10 +00:00
2021-02-16 20:00:46 +00:00
2019-12-06 16:35:48 +00:00
2020-11-29 19:43:33 +00:00
2020-10-07 15:22:48 +00:00
2020-09-24 12:26:06 +00:00
2021-01-24 00:07:41 +01:00
2020-09-24 12:26:06 +00:00
2021-01-31 23:46:53 +01:00
2020-09-24 12:26:06 +00:00
2021-01-24 00:07:41 +01:00
2021-02-18 07:29:12 -05:00
2021-02-18 22:36:01 -06:00
2021-02-18 22:36:01 -06:00