ae 48d24993fc Fix possible NULL pointer dereference.
bpf_mtap() can invoke catchpacket() for already detached descriptor.
And this can lead to NULL pointer dereference, since bd_bif pointer
was reset to NULL in bpf_detachd_locked(). To avoid this, use
NET_EPOCH_WAIT() when descriptor is removed from interface's descriptors
list. After the wait it is safe to modify descriptor's content.

Submitted by:	kib
Reported by:	slavash
MFC after:	1 week
2019-05-27 12:41:41 +00:00
..
2019-05-22 15:39:35 +00:00
2019-05-27 00:47:51 +00:00
2019-05-02 12:56:13 +00:00
2019-05-08 19:27:30 +00:00
2019-05-12 06:32:46 +00:00
2019-05-17 15:24:34 +00:00