"md.use_bpf" is now "filtering_in_kernel", but we always do the
filtering in our module, so there's no need to record that fact.
* if the timeout is 0, it means INFINITE
*/
- if (p->md.timeout == 0)
+ if (p->opt.timeout == 0)
{
timeout = 0xFFFFFFFF;
}
else
- if (p->md.timeout < 0)
+ if (p->opt.timeout < 0)
{
/*
* we insert a minimal timeout here
}
else
{
- timeout = p->md.timeout;
+ timeout = p->opt.timeout;
}
status = g_TcFunctions.InstanceSetFeature(pt->TcInstance, TC_INST_FT_READ_TIMEOUT, timeout);
return -1;
}
- p->md.use_bpf = 0;
-
return (0);
}