Bug 1107 checks/hacks should not longer be needed, so remove them.
SCEnter();
DecodeThreadVars *dtv = (DecodeThreadVars *)data;
- /* XXX HACK: flow timeout can call us for injected pseudo packets
- * see bug: https://redmine.openinfosecfoundation.org/issues/1107 */
- if (p->flags & PKT_PSEUDO_STREAM_END)
- return TM_ECODE_OK;
+ BUG_ON(PKT_IS_PSEUDOPKT(p));
/* update counters */
DecodeUpdatePacketCounters(tv, dtv, p);
SCEnter();
DecodeThreadVars *dtv = (DecodeThreadVars *)data;
- /* XXX HACK: flow timeout can call us for injected pseudo packets
- * see bug: https://redmine.openinfosecfoundation.org/issues/1107 */
- if (p->flags & PKT_PSEUDO_STREAM_END)
- return TM_ECODE_OK;
+ BUG_ON(PKT_IS_PSEUDOPKT(p));
/* update counters */
DecodeUpdatePacketCounters(tv, dtv, p);
SCEnter();
DecodeThreadVars *dtv = (DecodeThreadVars *)data;
- /* XXX HACK: flow timeout can call us for injected pseudo packets
- * see bug: https://redmine.openinfosecfoundation.org/issues/1107 */
- if (p->flags & PKT_PSEUDO_STREAM_END)
- return TM_ECODE_OK;
+ BUG_ON(PKT_IS_PSEUDOPKT(p));
/* Update counters. */
DecodeUpdatePacketCounters(tv, dtv, p);
SCEnter();
- /* XXX HACK: flow timeout can call us for injected pseudo packets
- * see bug: https://redmine.openinfosecfoundation.org/issues/1107 */
- if (p->flags & PKT_PSEUDO_STREAM_END)
- return TM_ECODE_OK;
+ BUG_ON(PKT_IS_PSEUDOPKT(p));
/* update counters */
DecodeUpdatePacketCounters(tv, dtv, p);
DecodeThreadVars *dtv = (DecodeThreadVars *) data;
- /* XXX HACK: flow timeout can call us for injected pseudo packets
- * see bug: https://redmine.openinfosecfoundation.org/issues/1107 */
- if (p->flags & PKT_PSEUDO_STREAM_END)
- return TM_ECODE_OK;
+ BUG_ON(PKT_IS_PSEUDOPKT(p));
// update counters
DecodeUpdatePacketCounters(tv, dtv, p);
DecodeThreadVars *dtv = (DecodeThreadVars *)data;
- /* XXX HACK: flow timeout can call us for injected pseudo packets
- * see bug: https://redmine.openinfosecfoundation.org/issues/1107 */
- if (p->flags & PKT_PSEUDO_STREAM_END)
- SCReturnInt(TM_ECODE_OK);
+ BUG_ON(PKT_IS_PSEUDOPKT(p));
/* update counters */
DecodeUpdatePacketCounters(tv, dtv, p);
IPV6Hdr *ip6h = (IPV6Hdr *)GET_PKT_DATA(p);
DecodeThreadVars *dtv = (DecodeThreadVars *)data;
- /* XXX HACK: flow timeout can call us for injected pseudo packets
- * see bug: https://redmine.openinfosecfoundation.org/issues/1107 */
- if (PKT_IS_PSEUDOPKT(p))
- return TM_ECODE_OK;
+ BUG_ON(PKT_IS_PSEUDOPKT(p));
DecodeUpdatePacketCounters(tv, dtv, p);
SCEnter();
DecodeThreadVars *dtv = (DecodeThreadVars *)data;
- /* XXX HACK: flow timeout can call us for injected pseudo packets
- * see bug: https://redmine.openinfosecfoundation.org/issues/1107 */
- if (p->flags & PKT_PSEUDO_STREAM_END)
- return TM_ECODE_OK;
+ BUG_ON(PKT_IS_PSEUDOPKT(p));
/* update counters */
DecodeUpdatePacketCounters(tv, dtv, p);
SCEnter();
DecodeThreadVars *dtv = (DecodeThreadVars *)data;
- /* XXX HACK: flow timeout can call us for injected pseudo packets
- * see bug: https://redmine.openinfosecfoundation.org/issues/1107 */
- if (p->flags & PKT_PSEUDO_STREAM_END)
- return TM_ECODE_OK;
+ BUG_ON(PKT_IS_PSEUDOPKT(p));
/* update counters */
DecodeUpdatePacketCounters(tv, dtv, p);
{
DecodeThreadVars *dtv = (DecodeThreadVars *)data;
- /* XXX HACK: flow timeout can call us for injected pseudo packets
- * see bug: https://redmine.openinfosecfoundation.org/issues/1107 */
- if (p->flags & PKT_PSEUDO_STREAM_END)
- return TM_ECODE_OK;
+ BUG_ON(PKT_IS_PSEUDOPKT(p));
/* update counters */
DecodeUpdatePacketCounters(tv, dtv, p);
IPV6Hdr *ip6h = (IPV6Hdr *)GET_PKT_DATA(p);
DecodeThreadVars *d_tv = (DecodeThreadVars *)data;
- /* XXX HACK: flow timeout can call us for injected pseudo packets
- * see bug:
- * https://redmine.openinfosecfoundation.org/issues/1107
- */
- if (PKT_IS_PSEUDOPKT(p))
- SCReturnInt(TM_ECODE_OK);
+ BUG_ON(PKT_IS_PSEUDOPKT(p));
DecodeUpdatePacketCounters(tv, d_tv, p);