Fixes a bug in rte_src handling.

This commit is contained in:
Ondrej Zajicek 2014-03-23 01:40:37 +01:00
parent d40c26594c
commit 2e84b4e82d

View file

@ -1095,7 +1095,7 @@ proto_notify_state(struct proto *p, unsigned ps)
if ((cs == FS_FEEDING) || (cs == FS_HAPPY))
proto_schedule_flush(p);
if (p->proto->multitable)
if (!p->proto->multitable)
{
rt_unlock_source(p->main_source);
p->main_source = NULL;