CVSROOT: /cvs Module name: src Changes by: [email protected] 2014/09/18 20:52:55
Modified files:
sys/net : bpf.c
Log message:
passing M_NOWAIT to m_tag_get means it can fail, which could hit
the failure path which leaks all the stuff the previous code in
bpf_movein allocates.
since it's only called from bpfwrite, use M_WAIT instead to make
it reliable and just get rid of the bogus failure code.
ok miod@
