From 0d4ded580dc6f765bd1e187af75f753b6ed41ac6 Mon Sep 17 00:00:00 2001 From: Pan Liu Date: Mon, 26 Dec 2016 10:28:08 +0800 Subject: [PATCH] async: Fixed compilation error when enable -DWITH_DPDK Signed-off-by: Pan Liu --- src/msg/async/dpdk/DPDKStack.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msg/async/dpdk/DPDKStack.h b/src/msg/async/dpdk/DPDKStack.h index 852763400a212..af5a5fd240022 100644 --- a/src/msg/async/dpdk/DPDKStack.h +++ b/src/msg/async/dpdk/DPDKStack.h @@ -42,7 +42,7 @@ class DPDKServerSocketImpl : public ServerSocketImpl { int listen() { return _listener.listen(); } - virtual int accept(ConnectedSocket *s, const SocketOptions &opts, entity_addr_t *out) override; + virtual int accept(ConnectedSocket *s, const SocketOptions &opts, entity_addr_t *out, Worker *w) override; virtual void abort_accept() override; virtual int fd() const override { return _listener.fd(); @@ -185,7 +185,7 @@ DPDKServerSocketImpl::DPDKServerSocketImpl( : _listener(proto.listen(port)) {} template -int DPDKServerSocketImpl::accept(ConnectedSocket *s, const SocketOptions &options, entity_addr_t *out) { +int DPDKServerSocketImpl::accept(ConnectedSocket *s, const SocketOptions &options, entity_addr_t *out, Worker *w) { if (_listener.get_errno() < 0) return _listener.get_errno(); auto c = _listener.accept(); -- 2.47.3