* if a better value comes along. A good example of this is that by the time CoDemux sets the
* peercred of a flow, it has already been accounted for here and attributed to root. */
* if a better value comes along. A good example of this is that by the time CoDemux sets the
* peercred of a flow, it has already been accounted for here and attributed to root. */
/* It's going to be expensive calling this syscall on every flow.
* We should keep a local hash table, for now just bear the overhead... - Sapan*/
/* It's going to be expensive calling this syscall on every flow.
* We should keep a local hash table, for now just bear the overhead... - Sapan*/
- if (flow->xid < 1 || flow->xid!=challenge)
- flow->xid = ulog_msg->mark;
+ if (flow->slice_id < 1)
+ flow->slice_id = ulog_msg->mark; // Couldn't look up the slice id, let's at least store the local xid