CVSROOT: /cvs Module name: src Changes by: [email protected] 2016/02/05 06:17:37
Modified files:
sys/net : bpf.c
Log message:
return if the bpf_if passed to bpf_tap and _bpf_mtap are NULL.
this works around a toctou bug in a very common idiom in our tree,
in between the two lines below:
if (ifp->if_bpf)
bpf_mtap(ifp->if_bpf, m, BPF_DIRECTION_OUT);
figured out by and diff from haesbart
