On 03/04/2016 08:01 PM, Zhang Chen wrote: > Change filter_mirror_send interface to make it easier > to used by other filter > > Signed-off-by: Zhang Chen <zhangchen.f...@cn.fujitsu.com> > Signed-off-by: Wen Congyang <we...@cn.fujitsu.com> > --- > net/filter-mirror.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/net/filter-mirror.c b/net/filter-mirror.c > index ee13d94..4ff7619 100644 > --- a/net/filter-mirror.c > +++ b/net/filter-mirror.c > @@ -33,11 +33,10 @@ typedef struct MirrorState { > CharDriverState *chr_out; > } MirrorState; > > -static int filter_mirror_send(NetFilterState *nf, > +static int filter_mirror_send(CharDriverState *chr_out, > const struct iovec *iov, > int iovcnt)
The indent looks odds here, please send an independent patch to fix this by the way. Thanks