mirror of https://github.com/xemu-project/xemu.git
rocker: return -1 when dropping packet on ingress
Signed-off-by: Scott Feldman <sfeldma@gmail.com> Message-id: 1435746792-41278-4-git-send-email-sfeldma@gmail.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
f211fcd75f
commit
96497af0af
|
@ -32,7 +32,7 @@ ssize_t world_ingress(World *world, uint32_t pport,
|
|||
return world->ops->ig(world, pport, iov, iovcnt);
|
||||
}
|
||||
|
||||
return iov_size(iov, iovcnt);
|
||||
return -1;
|
||||
}
|
||||
|
||||
int world_do_cmd(World *world, DescInfo *info,
|
||||
|
|
Loading…
Reference in New Issue